Your message dated Mon, 17 Nov 2008 22:02:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#505851: fixed in liblockfile 1.08-3
has caused the Debian Bug report #505851,
regarding liblockfile1: Lockfiles get stale after 10 seconds instead of 5 
minutes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
505851: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505851
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: liblockfile1
Version: 1.08-2
Severity: grave
Tags: patch
Justification: might cause serious data loss


The lockfile_create-function still contains some debug code, which
considers a lock stale after 10 seconds instead of 5 minutes. As
the documentation suggests refreshing the lock every 60 seconds,
programs might lose the lock unexpectedly. Found while researching
#505278.

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

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
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 liblockfile1 depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries

liblockfile1 recommends no packages.

liblockfile1 suggests no packages.

-- no debconf information

*** /home/wsa/Tools/liblockfile-1.08/patches/remove_debug_code
---
 lockfile.c |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Index: liblockfile-1.08/lockfile.c
===================================================================
--- liblockfile-1.08.orig/lockfile.c
+++ liblockfile-1.08/lockfile.c
@@ -391,13 +391,10 @@ int lockfile_check(const char *lockfile,
         *      Without a pid in the lockfile, the lock
         *      is valid if it is newer than 5 mins.
         */
-#if 0
+
        if (now < st.st_mtime + 300)
                return 0;
-#else
-       if (now < st.st_mtime + 10)
-               return 0;
-#endif
+
        return -1;
 }
 
-- 
  Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: liblockfile
Source-Version: 1.08-3

We believe that the bug you reported is fixed in the latest version of
liblockfile, which is due to be installed in the Debian FTP archive:

liblockfile-dev_1.08-3_amd64.deb
  to pool/main/libl/liblockfile/liblockfile-dev_1.08-3_amd64.deb
liblockfile1_1.08-3_amd64.deb
  to pool/main/libl/liblockfile/liblockfile1_1.08-3_amd64.deb
liblockfile_1.08-3.diff.gz
  to pool/main/libl/liblockfile/liblockfile_1.08-3.diff.gz
liblockfile_1.08-3.dsc
  to pool/main/libl/liblockfile/liblockfile_1.08-3.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <[EMAIL PROTECTED]> (supplier of updated liblockfile 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 18 Nov 2008 00:00:38 +1100
Source: liblockfile
Binary: liblockfile1 liblockfile-dev
Architecture: source amd64
Version: 1.08-3
Distribution: unstable
Urgency: high
Maintainer: Miquel van Smoorenburg <[EMAIL PROTECTED]>
Changed-By: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Description: 
 liblockfile-dev - Development library for liblockfile
 liblockfile1 - NFS-safe locking library, includes dotlockfile program
Closes: 437374 505851
Changes: 
 liblockfile (1.08-3) unstable; urgency=high
 .
   * Don't stale lockfiles after 10 seconds instead of 5 minutes;
     patch by Wolfram Sang; closes: #505851
   * Handle nostrip build option; patch by Justin Pryzby; closes: #437374
   * debian/rules: Don't ignore error status of rm -fr; patch by Justin Pryzby
   * debian/rules: Remove stampfiles first; patch by Justin Pryzby
Checksums-Sha1: 
 3d4504eb7f5f84da0c0ecd9bbd3f2c6d26d5470c 1014 liblockfile_1.08-3.dsc
 e35fba8fe51b6e83b5056c799f37886330ee9171 5234 liblockfile_1.08-3.diff.gz
 39216be2e397cf82c41bd87bfe921c1058bedc03 19514 liblockfile1_1.08-3_amd64.deb
 001268b781b0eaea17c423efd26c752c97a1e166 22666 liblockfile-dev_1.08-3_amd64.deb
Checksums-Sha256: 
 69811eedf2aa92932db4b588a8f0c7bcfa08d446a08a3cace8a872fbd19a8725 1014 
liblockfile_1.08-3.dsc
 29cd019770f466248bf7e960fa74d74ccdcf4d1bf3f281c58d52500e8db63c3d 5234 
liblockfile_1.08-3.diff.gz
 250e7c77c479db4655d2cc2fd9714f8e9ecbe8a0cee8840f3501bec85af86bac 19514 
liblockfile1_1.08-3_amd64.deb
 823aa2761fe02b6db00becb7d5211135461dd378841484bf0ae9825b1978f795 22666 
liblockfile-dev_1.08-3_amd64.deb
Files: 
 f794f43895ab6a4fac98ac35e26626d3 1014 devel standard liblockfile_1.08-3.dsc
 ac87346f1a9c8068a3393b5ace483ea0 5234 devel standard liblockfile_1.08-3.diff.gz
 e34fe23ceeae14951b60a1f94e794e17 19514 libs standard 
liblockfile1_1.08-3_amd64.deb
 b7b9b503acd840b6a4f74e07929bc516 22666 libdevel optional 
liblockfile-dev_1.08-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkh5usACgkQgY5NIXPNpFWCuACdE/7Tht/3AxnpFOZGgQOcjZSb
gYoAoITl+6ORcEb283DhDoKH60KYuvgD
=PjHO
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to