Le mercredi  8 octobre à 16h 00mn 57s (-0400), Daniel Kahn Gillmor a écrit :
> 
> Have you tested with debootstrap --fakechroot ?
> 

Thank you for your answer.

Same result with debootstrap (using the workaround of #763391) :

$ export FAKECHROOT_CMD_SUBST=/usr/bin/chfn=$(readlink -f chfn.fakechroot)
$ fakechroot fakeroot -s .fakeroot.state debootstrap --variant=fakechroot 
--include=gpm,busybox-static,gpgv,less \
 
--exclude=apt-utils,bsdmainutils,cron,ed,info,logrotate,man-db,manpages,tasksel,tasksel-data,tcpd,traceroute
 jessie my_chroot
[ ... ]
I: Configuring rsyslog...
W: Failure while configuring base packages.  This will be re-attempted up to 
five times.
W: See /home/me/my_chroot/debootstrap/debootstrap.log for details (possibly the 
package gpm is at fault)
I: Configuring gpm...
W: Failure while configuring base packages.  This will be re-attempted up to 
five times.
W: See /home/me/my_chroot/debootstrap/debootstrap.log for details (possibly the 
package gpm is at fault)
W: Failure while configuring base packages.  This will be re-attempted up to 
five times.
W: See /home/me/my_chroot/debootstrap/debootstrap.log for details (possibly the 
package gpm is at fault)
W: Failure while configuring base packages.  This will be re-attempted up to 
five times.
W: See /home/me/my_chroot/debootstrap/debootstrap.log for details (possibly the 
package gpm is at fault)
W: Failure while configuring base packages.  This will be re-attempted up to 
five times.
W: See /home/me/my_chroot/debootstrap/debootstrap.log for details (possibly the 
package gpm is at fault)

$ cat my_chroot/debootstrap/debootstrap.log
[ ... ]
Setting up gpm (1.20.4-6.1) ...
ln: failed to create symbolic link '/dev/mouse': Permission denied
dpkg: error processing package gpm (--configure):
 subprocess installed post-installation script returned error exit status 1
[ ... ]
Errors were encountered while processing:
 gpm
Setting up gpm (1.20.4-6.1) ...
ln: failed to create symbolic link '/home/moi/my_chroot/dev/mouse': Permission 
denied
dpkg: error processing package gpm (--configure):
 subprocess installed post-installation script returned error exit status 1

(four times)

The workaroud (export FAKECHROOT_CMD_SUBST=/bin/ln=$(readlink -f ln_in_dev.sh)) 
is of no help, as debootstrap --variant fakechroot set up a symlink 
my_chroot/dev
pointing to /dev (debootstrap 1.0.63, /usr/share/debootstrap/functions lines 
1073-1076 :

setup_devices_fakechroot () {
        rm -rf "$TARGET/dev"
        ln -s /dev "$TARGET"
}
)

Regards,
JH Chatenet


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to