Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#700051: sysvinit: fails to create /etc/inittab from a fresh debootstrap

25 views
Skip to first unread message

David Comeau (SaturnNiGHTS)

unread,
Feb 7, 2013, 5:10:02 PM2/7/13
to
Package: sysvinit
Version: 2.88dsf-40
Severity: critical

Hello.

It appears that with the new package that has been pushed to
sid/unstable [sysvinit 2.88dsf-40], performing a debootstrap install
results in an installation with no /etc/inittab. This appears to occur
due to a section of sysvinit.postinst not running, due to being in a
fakeroot/chroot/install environment, and having no init process to
reinitialize. That section of the postinst looks like it doesn't
execute [do_restart()], which unfortunately also includes:

if [ ! -f /etc/inittab ]
then
cp -p /usr/share/sysvinit/inittab /etc/inittab
fi

This results in a debootstrap that has no /etc/inittab, and fails:

Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
INIT: No inittab file found

Enter runlevel:


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

Roger Leigh

unread,
Feb 7, 2013, 7:40:01 PM2/7/13
to
forcemerge 700048 700051
thanks

On Thu, Feb 07, 2013 at 05:11:00PM -0500, David Comeau (SaturnNiGHTS) wrote:
> i don't know why this created again. really sorry about that.
> please close as already filed.

No worries, I'll just merge them so they are closed together.

--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
0 new messages