Package: lockfile-progs
Version: 0.1.11-0.1
Severity: grave
Justification: renders package unusable


Hello,

I tested lockfile-create with this small script:

#!/bin/bash
if lockfile-create --retry 2 /var/run/test
then
        lockfile-touch /var/run/test &
        TOUCHCOMMAND="$!"
        echo "Begin $TOUCHCOMMAND"
        sleep 60
        echo "End"
        kill $TOUCHCOMMAND
        lockfile-remove /var/run/test
else
        echo "no-lock"
fi

And started it with multiples:

testlock.sh &

one third of the processes ignored the lock file and went on with the execution 
instead of stopping
It seems to me something is wrong



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-4.slh.2-sidux-686 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lockfile-progs depends on:
ii  libc6                         2.7-16     GNU C Library: Shared libraries
ii  liblockfile1                  1.08-2     NFS-safe locking library, includes

lockfile-progs recommends no packages.

lockfile-progs suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to