Your message dated Fri, 12 Oct 2007 14:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#381016: fixed in fakeroot 1.8.2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: fakeroot
Version: 1.2.10
Severity: important

When tracking down problems with a build script that extensively uses fakeroot
I found that the fakeroot script doesn't properly wait for faked to terminate.
This introduces a race condition that may trash the save-file on successive
fakeroot calls.

The offending part of the fakeroot script is:
|trap "kill -s TERM $PID ; wait $PID >/dev/null 2>&1" EXIT INT
Because 'faked' has detached itself from the terminal, it cannot be waited for
with the sh builtin command 'wait'.

When the output redirection to /dev/null is removed from the above line, you
will see the error message:
|wait: pid ... is not a child of this shell

This may lead to concurrent access of multiple faked daemons called with the
'--load' and '--save-file' options, especially on a heavily loaded machine,
or if the save-file is quite large.

Reproduction:
I did not yet find an easy way to reproduce this bug consistently, but the
implications of the failing wait system call for the faked subprocess should
be obvious.


Lothar Wassmann

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages fakeroot depends on:
ii  libc6                 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: fakeroot
Source-Version: 1.8.2

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

fakeroot_1.8.2.dsc
  to pool/main/f/fakeroot/fakeroot_1.8.2.dsc
fakeroot_1.8.2.tar.gz
  to pool/main/f/fakeroot/fakeroot_1.8.2.tar.gz
fakeroot_1.8.2_i386.deb
  to pool/main/f/fakeroot/fakeroot_1.8.2_i386.deb



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.
Clint Adams <[EMAIL PROTECTED]> (supplier of updated fakeroot 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.7
Date: Fri, 12 Oct 2007 10:09:48 -0400
Source: fakeroot
Binary: fakeroot
Architecture: source i386
Version: 1.8.2
Distribution: unstable
Urgency: low
Maintainer: Clint Adams <[EMAIL PROTECTED]>
Changed-By: Clint Adams <[EMAIL PROTECTED]>
Description: 
 fakeroot   - Gives a fake root environment
Closes: 381016 446351
Changes: 
 fakeroot (1.8.2) unstable; urgency=low
 .
   * Apply fix from Dominique Quatravaux to avoid race condition with
     save files.  closes: #446351, #381016.
Files: 
 39870acba9a2d4adf803179f02ee8b14 623 utils optional fakeroot_1.8.2.dsc
 782a1b78dca79da13e2f0e3f566ed06d 397350 utils optional fakeroot_1.8.2.tar.gz
 870f887c6ed05392f92964d16d7598d4 110198 utils optional fakeroot_1.8.2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Debian!

iD8DBQFHD4L45m0u66uWM3ARAv/hAJ0X0Mx7E2xzKQ/Jecc/km/3dm0cSACg32KH
gf81svus5nUyOUnX8odw+aY=
=TajT
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to