On Sat, Aug 02, 2008 at 09:14:04PM +0200, Roland Eggner wrote: >Package: liblockfile1 >Version: 1.08-2 >Severity: important > >--- Please enter the report below this line. --- > > >Man page misses important informations >====================================== >I am using dotlockfile within /etc/bash.bashrc, to ensure that on session >restoring of KDE konsole my manipulations of ~/.bash_history (some >enhancements to bash features) are only performed once, AND are reflected in >every spawned shell instance (usually some 4 to 10 instances). A nice "stress >testing" for dotlockfile, isn't it? > > >I suggest following ADDITIONS to man dotlockfile: > > >(1) Section "DESCRIPTION" >-------------------------- >"The lockfiles are reliable because the crucial code fragment in liblockfile >(from first test for a preexisting lock file until completion of lockfile >writing) is protected against all interrupts." >If my assumption is wrong (can hardly imagine), this grave shortcoming has to >be mentioned in section "BUGS". > > >(2) Option -l >-------------- >Create the lockfile if no preexisting valid lockfile is found, else wait and >retry according to option -r. This option is the default. >A lockfile is treated as valid, if it fulfilles at least one of the following >conditions: >* holds the PID of a running process >* mtime is younger than 5 minutes (according to man lockfile-progs) >* ?? changelog mentiones some atime stuff? > > >(3) Option -c >-------------- >Note: Testing for preexisting lockfile and writing of the lockfile MUST be >done by the SAME "dotlockfile -l" or "dotlockfile -m" command, else the >lockfile cannot be reliable. > > >(4) Option -r >-------------- >To exit immediately on failure of the first trial use "-r 0". > > > >Thanks. > > > >--- System information. --- >Architecture: i386 >Kernel: Linux 2.6.23.12roland2 > >Debian Release: lenny/sid > 500 unstable gd.tuwien.ac.at > 500 testing security.debian.org > 500 testing gd.tuwien.ac.at > 500 oldstable gd.tuwien.ac.at > 1 experimental gd.tuwien.ac.at > >--- Package information. --- >Depends (Version) | Installed >=======================-+-=========== >libc6 (>= 2.7-1) | 2.7-3 > > > >-- >Roland Eggner
Hello Roland, Would you please send the information above for the manpage as a unified patch? Cheers, Anibal -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org