Your message dated Fri, 02 Dec 2011 03:06:19 +0000
with message-id <[email protected]>
and subject line Bug#650141: fixed in debianutils 4.1
has caused the Debian Bug report #650141,
regarding initscripts postinst fails with deboostrap --variant=fakechroot
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.)
--
650141: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650141
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: initscripts
Version: 2.88dsf-13.13
Severity: normal
Tags: patch
if i try to install debian using debootstrap --variant=fakechroot as a
non-privileged user (using the fakeroot and fakechroot LD_PRELOAD
hacks), the install fails with:
I: Configuring initscripts...
I: Configuring sysvinit...
I: Configuring e2fsprogs...
W: Failure while configuring required packages.
1 consoleuser@stylus:~$ tail -n 20 a/debootstrap/debootstrap.log
Warning: Fake ldconfig called, doing nothing
Setting up mount (2.19.1-5) ...
Setting up initscripts (2.88dsf-13.13) ...
mount: permission denied
dpkg: error processing initscripts (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: util-linux: dependency problems, but configuring anyway as you requested:
util-linux depends on initscripts; however:
Package initscripts is not configured yet.
Setting up util-linux (2.19.1-5) ...
update-alternatives: using /bin/more to provide /usr/bin/pager (pager) in auto
mode.
dpkg: sysvinit: dependency problems, but configuring anyway as you requested:
sysvinit depends on initscripts; however:
Package initscripts is not configured yet.
Setting up sysvinit (2.88dsf-13.13) ...
init: /dev/initctl: Permission denied
Setting up e2fsprogs (1.42~WIP-2011-11-20-1) ...
Errors were encountered while processing:
initscripts
0 consoleuser@stylus:~$
it appears that this is because initscripts.postinst uses ischroot to
determine whether to try to bind-mount /dev/shm to /run/shm. But
ischroot returns 2 when run under fakechroot by a non-privileged user,
so initscripts thinks it is not running under a chroot.
The attached patch assumes that if we can't tell if we're running
under a chroot, we probably are. This permits a basic fakechroot'ed
debootstrap invocation to complete correctly.
Alternately, if you think ischroot should behave differently under
fakechroot, feel free to reassign this to debianutils.
--dkg
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initscripts depends on:
ii coreutils 8.13-3
ii debianutils 4.0.4
ii libc6 2.13-21
ii lsb-base 3.2-28
ii mount 2.19.1-5
ii sysv-rc 2.88dsf-13.13
ii sysvinit-utils 2.88dsf-13.13
Versions of packages initscripts recommends:
ii e2fsprogs 1.42~WIP-2011-11-20-1
ii psmisc 22.14-1
initscripts suggests no packages.
-- no debconf information
--- initscripts/postinst~ 2011-11-26 15:28:52.000000000 -0500
+++ initscripts/postinst 2011-11-26 15:55:07.000000000 -0500
@@ -226,7 +226,7 @@
# sysadmin should, if they care, move the old locations to the new
# locations and create compatibilty symlinks at their convenience
# following the upgrade.
-if ischroot; then
+if ischroot --default-true; then
# Symlink /var/run from /run
# Note var/run is relative
if compat_link /var/run /run; then
--- End Message ---
--- Begin Message ---
Source: debianutils
Source-Version: 4.1
We believe that the bug you reported is fixed in the latest version of
debianutils, which is due to be installed in the Debian FTP archive:
debianutils_4.1.dsc
to main/d/debianutils/debianutils_4.1.dsc
debianutils_4.1.tar.gz
to main/d/debianutils/debianutils_4.1.tar.gz
debianutils_4.1_amd64.deb
to main/d/debianutils/debianutils_4.1_amd64.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 debianutils 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: Thu, 01 Dec 2011 20:52:56 -0500
Source: debianutils
Binary: debianutils
Architecture: source amd64
Version: 4.1
Distribution: unstable
Urgency: low
Maintainer: Clint Adams <[email protected]>
Changed-By: Clint Adams <[email protected]>
Description:
debianutils - Miscellaneous utilities specific to Debian
Closes: 650141
Changes:
debianutils (4.1) unstable; urgency=low
.
[ Clint Adams ]
* Add build-arch and build-indep targets.
* Use dpkg-buildflags.
.
[ Daniel Kahn Gillmor ]
* ischroot now "detects" a chroot under fakechroot (Closes: #650141)
Checksums-Sha1:
adebc92263890516a22cfdf099f57da61ba3748a 1560 debianutils_4.1.dsc
7a59ba99a0548cfad89dce36ba13d7eb923858a6 196917 debianutils_4.1.tar.gz
2268b034965f052e6fa43507ef4de48095550b21 76632 debianutils_4.1_amd64.deb
Checksums-Sha256:
27266d7595312096260e151700f13fd3aa5f2d69f46f007ff917f65b11ed3d62 1560
debianutils_4.1.dsc
37ab539d4f50c8ff95005e3a9ffed85e9bfdc6489ead15e0e2edeb8ea57e5f2d 196917
debianutils_4.1.tar.gz
8b53ae867fae15e678047d9a6ac525382f020eea1742466a614a22548a8baf3e 76632
debianutils_4.1_amd64.deb
Files:
8568d1e31be26aaeb44062e676d82816 1560 utils required debianutils_4.1.dsc
d5698daa217fd9140e9ae8d5b73f9ce8 196917 utils required debianutils_4.1.tar.gz
47842f81bf726a74a821225e3f25a0ed 76632 utils required debianutils_4.1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Debian!
iQIcBAEBCgAGBQJO2DAqAAoJEFWSMx4ZnTioruUP/isPoWScDvRYCdqJnBcTSTzk
nwgjejiIkNRcoY8/VALZiEakgAsEKisslK9ymCU2BW5cgdIcb4t1sD3/FcAUiJRE
X8bgsugr2Fn0hOre1vYIZTQUQT+vahaCH2y1hjzuUXfK5YIEfpaFqiNYiEUqDfl5
QagNLeqjkZj75BNMBFBf0FvdAPsCe3nYh0edx7jrQREY4TiduBAI9Xjnj3yKZ9rb
8kAFizQsMCTUgolw5jYeUWgNRTt0jtRJQGuvvQfATdNIE/UM7m1mfZfPMhuPKFJY
iLeOgVGBNND2JTAC6VgSNk0E4ptGIA4nZG90td6uYlZR4LGvfSQly57FjC8R2P9/
lg4hWN6zh4LVnURxIE1308/lK61RX5ixbksazr1haf+xmrWp+Zx13UpIa9d1CtKa
IuulxCOfEr46DU1ulvODMR6zRWXlUl5fxSJkXRKRF18M1ABDirayUZzTS8+zXDUk
ScqBXpk0MDeGlaO5Ve9Ewfa4sCcE88ZxqLd82OJru5aB8lW7jARAo2fmy2LKJ0b0
hRrMc3Y+FoC9BGTWRWj/GSYN2hZj5LDfPKYA+CJXhY1Cbazo+YzMlWoIfpGwEGDU
6Hs1NFNJH2O8si/fg6rWO6SRkAHD0lqJPC7elZPnQFKZW9vE8XYliyBmf07NOTS2
EXAQT56ZCc1dJ8J1zW0n
=vLOU
-----END PGP SIGNATURE-----
--- End Message ---