Your message dated Sat, 27 Oct 2012 23:47:35 +0000
with message-id <[email protected]>
and subject line Bug#688304: fixed in schroot 1.6.4-1
has caused the Debian Bug report #688304,
regarding Check for update-binfmts pollutes output because it does not redirect
stderr from "which"
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.)
--
688304: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688304
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: schroot
Version: 1.6.3-1
When entering a schroot the script "setup.d/15binfmt" is executed. This
performs a check to see if "update-binfmts" is present (on line 31). If
it is not present the output of the which call is displayed on the
terminal (because it is sent to stderr and that is not redirected to
/dev/null).
Example:
$ schroot ls
E: 15binfmt: which: no update-binfmts in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
Desktop files
E: 15binfmt: which: no update-binfmts in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
This can be easily fixed by changing line 31 of setup.d/15binfmt from
elif ! which update-binfmts > /dev/null ; then
to
elif ! which update-binfmts > /dev/null 2>&1; then
Patch:
--- 15binfmt.old 2012-09-21 10:19:37.228058540 +0100
+++ 15binfmt.new 2012-09-21 10:21:21.732157718 +0100
@@ -28,7 +28,7 @@
[ "$STAGE" != "setup-stop" ] && \
[ "$STAGE" != "setup-recover" ]; then
exit 0
-elif ! which update-binfmts > /dev/null; then
+elif ! which update-binfmts > /dev/null 2>&1; then
info "Missing update-binfmts; not enabling binfmt support"
exit 0
fi
System Details (ArchLinux):
Linux myhost 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012
x86_64 GNU/Linux
lrwxrwxrwx 1 root root 12 Aug 29 11:56 /lib/libc.so.6 -> libc-2.16.so
/etc/schroot/setup.d/15binfmt is owned by schroot 1.6.3-1
--- End Message ---
--- Begin Message ---
Source: schroot
Source-Version: 1.6.4-1
We believe that the bug you reported is fixed in the latest version of
schroot, which is due to be installed in the Debian FTP archive.
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.
Roger Leigh <[email protected]> (supplier of updated schroot 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: SHA512
Format: 1.8
Date: Sat, 27 Oct 2012 23:30:38 +0100
Source: schroot
Binary: schroot-common libsbuild-dev schroot-dbg libsbuild-doc schroot dchroot
dchroot-dsa
Architecture: source all amd64
Version: 1.6.4-1
Distribution: unstable
Urgency: low
Maintainer: Debian buildd-tools Developers
<[email protected]>
Changed-By: Roger Leigh <[email protected]>
Description:
dchroot - Execute commands in a chroot environment
dchroot-dsa - Execute commands in a chroot environment
libsbuild-dev - development files for the Debian source builder
libsbuild-doc - development documentation for the Debian source builder
schroot - Execute commands in a chroot environment
schroot-common - common files for schroot
schroot-dbg - schroot, dchroot and dchroot-dsa debugging symbols
Closes: 686148 688304 689078 691376
Changes:
schroot (1.6.4-1) unstable; urgency=low
.
* New upstream stable release.
* NEWS: Provide guidance for wheezy upgrades with regard to
use of the profile key in a backward-compatible manner also
using setup.config, to mimic the behaviour of the deprecated
script-config key.
* schroot.conf(5) additionally updated to document script-config
deprecation and use of user keys such as setup.config.
* schroot-mount: Canonicalise mountpoints with symlinks to avoid
mounting absolute paths on the host rather than inside the chroot
(Closes: #686148). Note the caveat regarding paths with multiple
symlinks in schroot-script-config(5). This permits safe use of
symlinks as mountpoints in some common circumstances, e.g. on
/var/lock, which is a symlink to /run/lock, though this is not
recommended practice.
* 15binfmt no longer pollutes output, by redirecting stderr from
"which update-binfmts" (Closes: #688304).
* Ensure that CHROOT_ALIAS (setup scripts) and SCHROOT_ALIAS_NAME
(user environment) always refer to the alias used to create the
session (Closes: #689078). The alias is no longer canonicalised
by sbuild::chroot_config::validate_chroots. The logic for
chroot validation and information display in sbuild::chroot_config
and schroot::main_base (and derived classes) required refactoring
to allow the unresolved alias name to be passed through to the
session clone operation in sbuild::session, so that it could be
stored in the chroot's sbuild::chroot_facet_session facet.
* On session recovery, mount the snapshot LV rather than the source
LV for LVM snapshot chroots (Closes: #691376). The code which
sets the mount device for all mountable chroots (with an
sbuild::chroot_facet_mountable facet) is in
sbuild::chroot_facet_session_clonable::clone_session_setup().
All chroot types refactored to set the mount device here.
* 10mount uses a lock directory /var/lock/schroot to contain its
lockfile, rather than directly using /var/lock, which is less
secure.
Checksums-Sha1:
47dbe8aace624516f731b2da360f218ca63d3775 2424 schroot_1.6.4-1.dsc
b2b4b343a9f8a4151412019896400e247fff5e9e 736200 schroot_1.6.4.orig.tar.xz
cb104208ad80052665212e828699788e23588300 30359 schroot_1.6.4-1.debian.tar.gz
5dce6f318da6ee6aadaddcabe8fe1ff1ebb8a5f7 267800 schroot-common_1.6.4-1_all.deb
121597525e3ed1ae5d46f6ecec4ef5a50101e9d1 2296982
libsbuild-dev_1.6.4-1_amd64.deb
2f4d364b23d2cc4200fcf068eae332a863701156 29133852 schroot-dbg_1.6.4-1_amd64.deb
9325b852af368ff61fcf3d131d1e3d831695811a 8188950 libsbuild-doc_1.6.4-1_all.deb
13c835eefafe83f113d728f32d4d9700693c4b46 966820 schroot_1.6.4-1_amd64.deb
c5d00fa3370e76d24214938b266bb0de8e9639bf 370162 dchroot_1.6.4-1_amd64.deb
d03a9626ba8d71ab4b213e9821b8316b829456fe 369404 dchroot-dsa_1.6.4-1_amd64.deb
Checksums-Sha256:
561f06c639f76a7e45243739e84888b6dd30c1dbd2f782955230195515d73b84 2424
schroot_1.6.4-1.dsc
a7d54a148353ed7e8d8db84c77a0f2e99681a4bb2c5b0d38c40ce2d99d8d6f87 736200
schroot_1.6.4.orig.tar.xz
03e3528d0c27f1cead324dba125623593356465e2e5af8b3299a74632e708e7a 30359
schroot_1.6.4-1.debian.tar.gz
36c08e25f16bcd18adf6cf5fb2ebdcf64bc4748318946e4dd5235f3450fffff3 267800
schroot-common_1.6.4-1_all.deb
eab1e75d5cb3ac4ef7b1a8caccffb212feb1579220fdfec5fc0aeaf8f9196d18 2296982
libsbuild-dev_1.6.4-1_amd64.deb
3894554822a515e1a64eece573be0391a79f89b86796e6b15ffaed5b4d4aa0d9 29133852
schroot-dbg_1.6.4-1_amd64.deb
76a7f4029e928ba1b7ad492b6eeed39e83e51b26ed6f94a740b47a0a114cf1b4 8188950
libsbuild-doc_1.6.4-1_all.deb
a2b8b1fdfa91bf24e5f62901388221d47f1511b89c4b146351f6d7f32deff3aa 966820
schroot_1.6.4-1_amd64.deb
26526dce97e415bc5b5165cf3747f38214aa362e3e1bbeb1c0a2f7f91d29df08 370162
dchroot_1.6.4-1_amd64.deb
0a9794ad52699325f8a47133a6c4a537ce785c3fbdd7fbfefabf16fdf437d53e 369404
dchroot-dsa_1.6.4-1_amd64.deb
Files:
87383d70bf468b85f6819647b467711d 2424 admin optional schroot_1.6.4-1.dsc
2398bec3e8f6de01c298c3a706488826 736200 admin optional
schroot_1.6.4.orig.tar.xz
64fb0e90bee2d171386be9ce9ebc1e6f 30359 admin optional
schroot_1.6.4-1.debian.tar.gz
187ae6283cb6e8d54c88b5f08a8440d7 267800 admin optional
schroot-common_1.6.4-1_all.deb
98b4bd43ee9b27ecc331e37b2baf9d7b 2296982 libdevel optional
libsbuild-dev_1.6.4-1_amd64.deb
9085f9ad193de4c4f124d79e102026f5 29133852 debug extra
schroot-dbg_1.6.4-1_amd64.deb
2249aae8b78e35f6ffc7ded524292da2 8188950 doc optional
libsbuild-doc_1.6.4-1_all.deb
ae70fd138660e79530a724a5d3881fcc 966820 admin optional
schroot_1.6.4-1_amd64.deb
d5061daac3513fb1f9e91b7a2243e4d7 370162 admin optional
dchroot_1.6.4-1_amd64.deb
66929b2080ed3e0309029e2f11bd8861 369404 admin optional
dchroot-dsa_1.6.4-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJQjGrBAAoJEOJSSsUKn1xZsf8QAKx7J93EKXunOaPgNB/5RwR/
I1KMROr1XKKpHeucu7g5/FGMRz+j5/DLrYj3LR6aLWdI+eD9aoK85ZxRqWHA+l9E
0SGYFuQgHp4A4ZCxo0qwZT+NhaUIRYLojWrZIwbYAZiYF1ICwJVJ1yK3oVvgtwD8
6uj1Qi9yLR+7o0Lp/UJH9czdLkmSRiHibkgAK9k3IyDbRlqxO0PFJ83msSZHwmIt
3eLm9hrvmOOZaY4yNkFm6K+LXAumMRNsDw9Om0itZu7mXed//OO3aT2ZASFjSYxx
u4X+JERWEkxPQLo7R8H1luQtUWNfVYiVIb7tvCCzcG8NSs4PZcdw5wxkdsvieXWh
pruWAoXg1WfvMsQSg3uyVkjJxELw9KbA9gWMSBxOfTqrc/UCc1++HVrgSs00z2G8
FMqAs8Zf7Vtx5KGqd2s5OXdItuad1qWbFLyYZQ02zEZGVI7+F7aJVDL0FdhrJBzN
NGTPwhofpOrj2LBz5fUjrS2uz8qox8FgSyxf1yk3261Hagj+t5Iqg7nPc/me6/hD
EKB2/5bfiuJdnSEFCcX7xwNkRqeUhYURbrW8DfiZ1CKGecKhVDjhkMETMxEuXCBg
vPjyPO7wQcymSLcawQvG6+R+svL0436sZZCeB7s8RFst8p+lThW4phBf9wwaXoQT
iSDyjx3vf4dxNPtynfeR
=IvFG
-----END PGP SIGNATURE-----
--- End Message ---