Your message dated Tue, 23 Feb 2010 00:33:06 +0000
with message-id <[email protected]>
and subject line Bug#495277: fixed in makejail 0.0.5-8
has caused the Debian Bug report #495277,
regarding makejail produces non-predictable results without strace -ff
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.)


-- 
495277: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495277
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: makejail
Version: 0.0.5-7
Severity: normal

by default makejail writes all strace output into a single file. This 
however produces unpredictable results whenever child processes are 
forked. In this case strace may produce output like:

13578 access("/etc/ld.so.preload", R_OK <unfinished ...>

....which the regex will obviously not recognize.

The solution is tracing with the -ff option. This however requires that 
we collect strace information from pid-specific files. We could do 
something like:

@@ -682,6 +682,13 @@
                        out.append(line)
        debug(string.join(out," "))

+       # Join the generated pid-specific trace files (strace -ff) into 
one single trace file
+       # If there are no such files the following lines should do 
nothing.
+       debug("Joining pid-specific trace files (if any)...")
+       command=string.replace("cat %file.* >>%file 
2>/dev/null","%file",straceTempFileName)
+       os.system(command)
+       os.system("rm -f %s.* >/dev/null 2>/dev/null" % 
straceTempFileName)
+
        if config.straceCommandView:
                
command=string.replace(config.straceCommandView,"%file",straceTempFileName)
                lines=execute(command)


-- System Information:
n/a
-- no debconf information



--- End Message ---
--- Begin Message ---
Source: makejail
Source-Version: 0.0.5-8

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

makejail_0.0.5-8.diff.gz
  to main/m/makejail/makejail_0.0.5-8.diff.gz
makejail_0.0.5-8.dsc
  to main/m/makejail/makejail_0.0.5-8.dsc
makejail_0.0.5-8_all.deb
  to main/m/makejail/makejail_0.0.5-8_all.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.
Javier Fernandez-Sanguino Pen~a <[email protected]> (supplier of updated 
makejail 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, 23 Feb 2010 00:51:25 +0100
Source: makejail
Binary: makejail
Architecture: source all
Version: 0.0.5-8
Distribution: unstable
Urgency: low
Maintainer: Javier Fernandez-Sanguino Pen~a <[email protected]>
Changed-By: Javier Fernandez-Sanguino Pen~a <[email protected]>
Description: 
 makejail   - Automatically create chroot jails for programs
Closes: 171842 193087 310781 392773 495112 495116 495118 495118 495147 495277 
570607
Changes: 
 makejail (0.0.5-8) unstable; urgency=low
 .
   [ Changes by  Florian Grandel <[email protected] ]
   * Makejail default configuration now in /etc/makejail/makejail.conf
     There is no conflict now with the /etc/makejail/ directory
     and it is possible for the administrator to set defaults (Closes: #495112)
   * Changed default for straceCommand/straceCommandPid to include child
     threads (strace -ff)
   * Changed default for doNotCopy for security reasons (added /proc)
   * cleanJailFirst default now correctly documented, manual page now indicates
   * that the default value for cleanJailFirst is
     0 and not 1 (Closes: #495118) (closes: #495118)
   * should now preserve POSIX attributes (closes: #310781), still
     does not preserve ext2/ext3 attributes however
   * now copies directory as a result of chdir by introducing additional
     patterns to be processed in the strace (closes: #392773)
   * now chowns copied files (closes: #495147)
   * now correctly handles strace -ff (closes: #495277)
   * fixes several lintian warnings
   * updated policy version
   * debian/rules: now builds the documentation (should not be included in
     source)
 .
   [ Changes by Javier Fernandez-Sanguino ]
   * Use debhelper compatibility version 5
   * Check if /sbin/ldconfig.real exists (Ubuntu systems) and set
     pathToLdConfig to /sbin/ldconfig.real to avoid
     introducing bash in all jails. (LP: #263614, closes: #495116)
   * Review documentation to fix a widespread typo in makejail
     (librairies->libraries)
   * Remove ISO-8859-1 encoding in examples/sshd.py as it prevented
     it from being loaded in newer python versions due to issues
     in enconding.
   * Include the pam.d/common-* files in the example for sshd.
   * Provides a more descriptive message if the target chroot directory does
     not exist (Closes: #193087, #570607)
   * Added Alexandre Ratti's documentation on how to setup a chrooted Apache
     with makejail, credit him in debian/copyright and distribute the files
     under the examples/ directory adjusting also the apache.py file.
     (Closes: #171842)
   * Add the Homepage location to debian/control as a pseudo-header
   * Highlight in the manpage that the package is heavily patched
Checksums-Sha1: 
 cf2b58dc01f9a88a0d78204cd325a6f289b5038f 1068 makejail_0.0.5-8.dsc
 6d9e4d0a0f4c741347784043cfcb8ace8cca43b4 14443 makejail_0.0.5-8.diff.gz
 bf7aa97cada55b748985d68e558a282cd652af7c 35452 makejail_0.0.5-8_all.deb
Checksums-Sha256: 
 894a6b5d09ce15f4b00eabd854d1ce6a09799dd98002cdcc028af5aa2a4a88d0 1068 
makejail_0.0.5-8.dsc
 cfa02bb3909a31cf75905b4c4a06aac39d0bf165883e2d3874cd5066fbf7eb0a 14443 
makejail_0.0.5-8.diff.gz
 9ee61438ff41a2e0092e0ef03982b1145a2a469364270c84e26bf14d7ad9cc9c 35452 
makejail_0.0.5-8_all.deb
Files: 
 9ac4686cada7ef5335666c160045af54 1068 admin optional makejail_0.0.5-8.dsc
 5678801b26901c6d8298b77fb3392cd1 14443 admin optional makejail_0.0.5-8.diff.gz
 e9c60a5d81b13d01dbc184728528732a 35452 admin optional makejail_0.0.5-8_all.deb

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

iD8DBQFLgx4SsandgtyBSwkRAr5nAJ9BbBHU5VAmmxI0+8y5x/VfPVfmAgCePnyG
H6I/sMlnhfI00he5VgQSSGE=
=SQRC
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to