Package: insserv
Version: 1.14.0-4
Severity: normal

under debootstrap's --variant=fakechroot, insserv appears to fail to
set up the symlinks in /etc/rc*.d/ properly.

below see two runs, the first as superuser, the second as a
non-privileged user.

0 root@stylus:~# debootstrap testing test
[...]
I: Configuring perl...
I: Configuring tasksel...
I: Base system installed successfully.
0 root@stylus:~# find test/etc/rc?.d
test/etc/rc0.d
test/etc/rc0.d/K01urandom
test/etc/rc0.d/K03hwclock.sh
test/etc/rc0.d/K01sendsigs
test/etc/rc0.d/K02rsyslog
test/etc/rc0.d/K07halt
test/etc/rc0.d/K04networking
test/etc/rc0.d/K05umountfs
test/etc/rc0.d/README
test/etc/rc0.d/K06umountroot
test/etc/rc0.d/K03umountnfs.sh
test/etc/rc1.d
test/etc/rc1.d/K02rsyslog
test/etc/rc1.d/S02single
test/etc/rc1.d/S01motd
test/etc/rc1.d/S01bootlogs
test/etc/rc1.d/README
test/etc/rc1.d/S01killprocs
test/etc/rc2.d
test/etc/rc2.d/S01rsyslog
test/etc/rc2.d/S03rmnologin
test/etc/rc2.d/S01motd
test/etc/rc2.d/S01bootlogs
test/etc/rc2.d/README
test/etc/rc2.d/S03rc.local
test/etc/rc2.d/S02cron
test/etc/rc3.d
test/etc/rc3.d/S01rsyslog
test/etc/rc3.d/S03rmnologin
test/etc/rc3.d/S01motd
test/etc/rc3.d/S01bootlogs
test/etc/rc3.d/README
test/etc/rc3.d/S03rc.local
test/etc/rc3.d/S02cron
test/etc/rc4.d
test/etc/rc4.d/S01rsyslog
test/etc/rc4.d/S03rmnologin
test/etc/rc4.d/S01motd
test/etc/rc4.d/S01bootlogs
test/etc/rc4.d/README
test/etc/rc4.d/S03rc.local
test/etc/rc4.d/S02cron
test/etc/rc5.d
test/etc/rc5.d/S01rsyslog
test/etc/rc5.d/S03rmnologin
test/etc/rc5.d/S01motd
test/etc/rc5.d/S01bootlogs
test/etc/rc5.d/README
test/etc/rc5.d/S03rc.local
test/etc/rc5.d/S02cron
test/etc/rc6.d
test/etc/rc6.d/K01urandom
test/etc/rc6.d/K03hwclock.sh
test/etc/rc6.d/K01sendsigs
test/etc/rc6.d/K02rsyslog
test/etc/rc6.d/K04networking
test/etc/rc6.d/K07reboot
test/etc/rc6.d/K05umountfs
test/etc/rc6.d/README
test/etc/rc6.d/K06umountroot
test/etc/rc6.d/K03umountnfs.sh
test/etc/rcS.d
test/etc/rcS.d/S12mountnfs-bootclean.sh
test/etc/rcS.d/S01mountkernfs.sh
test/etc/rcS.d/S08mountall.sh
test/etc/rcS.d/S09mountall-bootclean.sh
test/etc/rcS.d/S10networking
test/etc/rcS.d/S09udev-mtab
test/etc/rcS.d/S04hwclock.sh
test/etc/rcS.d/S02udev
test/etc/rcS.d/S01hostname.sh
test/etc/rcS.d/S06checkroot-bootclean.sh
test/etc/rcS.d/S06mtab.sh
test/etc/rcS.d/S07checkfs.sh
test/etc/rcS.d/S06kmod
test/etc/rcS.d/S09procps
test/etc/rcS.d/S03mountdevsubfs.sh
test/etc/rcS.d/S05checkroot.sh
test/etc/rcS.d/README
test/etc/rcS.d/S11mountnfs.sh
test/etc/rcS.d/S09urandom
test/etc/rcS.d/S13bootmisc.sh
0 root@stylus:~# 

test@stylus:~ fakeroot fakechroot debootstrap --variant=fakechroot testing test
[...]
I: Configuring perl...
I: Configuring tasksel...
I: Base system installed successfully.
test@stylus:~ find test/etc/rc?.d
test/etc/rc0.d
test/etc/rc0.d/README
test/etc/rc1.d
test/etc/rc1.d/README
test/etc/rc2.d
test/etc/rc2.d/README
test/etc/rc3.d
test/etc/rc3.d/README
test/etc/rc4.d
test/etc/rc4.d/README
test/etc/rc5.d
test/etc/rc5.d/README
test/etc/rc6.d
test/etc/rc6.d/README
test/etc/rcS.d
test/etc/rcS.d/README
test@stylus:~ 

I observer, however, that i can get insserv to set up everything cleanly with:

test@stylus:~$ fakeroot fakechroot chroot test sh -c 'cd /etc/init.d && insserv 
*'
insserv: warning: script 'rc' missing LSB tags and overrides
insserv: warning: script 'rcS' missing LSB tags and overrides
insserv: script README is not an executable regular file, skipped!
insserv: script name rcS is not valid, skipped!
insserv: script skeleton is not an executable regular file, skipped!
insserv: script name rc is not valid, skipped!
test@stylus:~$ find test/etc/rc?.d | wc -l
86
test@stylus:~$  


So i suppose it's possible that debootstrap --variant=fakechroot is
itself somehow at fault, but i don't understand how.  feel free to
reassign it to debootstrap if it makes more sense to fix it there.

This did *not* seem to be the case in squeeze.

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

Versions of packages insserv depends on:
ii  libc6  2.13-35

insserv recommends no packages.

Versions of packages insserv suggests:
pn  bootchart2  <none>

-- no debconf information


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