Package: debpool
Version: 0.2.3
Severity: important

Hello,

If debpool is ran in daemon mode and the power is cut, at reboot debpool
does not start since it finds the .lock file and assumes there is an
already running daemon.

The fix for the issue would be to check if the process ID specififed
in the lock file belongs to a running process and that the process is
debpool (since PID reusal might lead to another non-debpool process to
exist after reboot, it is not enough to check just that a process with
that ID exists), and if that check fails, remove the lock file and start
anyway in the normal fashion.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (99, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)

Versions of packages debpool depends on:
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

Versions of packages debpool recommends:
ii  gnupg                         1.4.6-1    GNU privacy guard - a free PGP rep
ii  libdigest-sha1-perl           2.11-1     NIST SHA-1 message digest algorith
ii  libproc-daemon-perl           0.03-2     Run Perl program as a daemon proce
ii  perl [libdigest-md5-perl]     5.8.8-7    Larry Wall's Practical Extraction 

-- no debconf information


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

Reply via email to