Package: scsitools
Version: 0.12-2.1
Severity: normal

I'm doing a debootstrap fakechroot install as a normal user like this:

fakeroot fakechroot debootstrap --include=scsitools --variant=fakechroot 
testing testroot

this results in the following output, followed by debootstrap returning a 
non-zero errorcode:

0 testing@ape:~$ fakeroot fakechroot debootstrap --include=scsitools 
--variant=fakechroot testing testroot
I: Retrieving InRelease
I: Checking Release signature
I: Valid Release signature (key id 9FED2BCBDCD29CDF762678CBAED4B06F473041FA)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: insserv libbz2-1.0 libdb5.1 
libsemanage-common libsemanage1 libslang2 libstdc++6 libustr-1.0-1 
multiarch-support 
I: Found additional base dependencies: libclass-isa-perl libept1.4.12 
libgcrypt11 libgnutls26 libgpg-error0 libidn11 libnfnetlink0 libp11-kit0 
libsgutils2-2 libsqlite3-0 libswitch-perl libtasn1-3 libxapian22 perl 
perl-modules sg3-utils 
I: Checking component main on http://http.us.debian.org/debian...
I: Retrieving libacl1
[...]
I: Configuring tasksel-data...
I: Configuring perl-modules...
I: Configuring perl...
I: Configuring tasksel...
W: Failure while configuring base packages.  This will be re-attempted up to 
five times.
W: See /home/debirf/debirf/test/debootstrap/debootstrap.log for details 
(possibly the package scsitools is at fault)
I: Configuring scsitools...
W: Failure while configuring base packages.  This will be re-attempted up to 
five times.
W: See /home/debirf/debirf/test/debootstrap/debootstrap.log for details 
(possibly the package scsitools is at fault)
W: Failure while configuring base packages.  This will be re-attempted up to 
five times.
W: See /home/debirf/debirf/test/debootstrap/debootstrap.log for details 
(possibly the package scsitools is at fault)
W: Failure while configuring base packages.  This will be re-attempted up to 
five times.
W: See /home/debirf/debirf/test/debootstrap/debootstrap.log for details 
(possibly the package scsitools is at fault)
W: Failure while configuring base packages.  This will be re-attempted up to 
five times.
W: See /home/debirf/debirf/test/debootstrap/debootstrap.log for details 
(possibly the package scsitools is at fault)
1 testing@ape:~$ 

there seems to be at least two problems with the postinst script: a
brittle attempt to mkdir /dev/scsi, and some attempts to update-rc.d,
which i found after working around the mkdir error by letting it
blunder through:

0 testing@ape:~$ fakeroot fakechroot chroot testroot bash
0 root@ape:/# dpkg-reconfigure --force scsitools                                
                                                                                
 
mkdir: cannot create directory `/dev/scsi': Permission denied
1 root@ape:/# sed -i 's/\(mkdir.*\)$/\1 || :/' 
/var/lib/dpkg/info/scsitools.postinst 
0 root@ape:/# dpkg-reconfigure --force scsitools                                
     
mkdir: cannot create directory `/dev/scsi': Permission denied
insserv: Service mountdevsubfs has to be enabled to start service scsitools-pre
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
1 root@ape:/# exit
0 testing@ape:~$

Among other consequences, this brittle postinst script makes it
impossible to build a debirf image with scsitools installed
(http://bugs.debian.org/655555).

Regards,

           --dkg

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 
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