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

Bug#1063629: sysvinit-core.postinst: remove obsolete code path for /etc/inittab fixup on hurd in 2014

0 views
Skip to first unread message

Johannes Schauer Marin Rodrigues

unread,
Feb 9, 2024, 6:50:03 PMFeb 9
to
Source: sysvinit
Version: 3.08-6
Severity: normal
Tags: patch
User: debia...@lists.debian.org
Usertags: dpkg-root-support
X-Debbugs-Cc: debia...@lists.debian.org

Hi,

In 2014, code was added to to the sysvinit-core.postinst to fix up
/etc/inittab files on hurd which had /libexec/getty instead of
/sbin/getty and which were missing the following line:

c:23:respawn:/sbin/getty 38400 console

Also since 2014 (commit 6af0110c) ./debian/share/inittab.gnu is
installed on enduser systems which contains aforementioned fixes
already. The fixup code in sysvinit-core.postinst is thus long obsolete
as any systems that were affected should've long been upgraded and new
systems were installed using inittab.gnu which is not broken.

I prepared a merge request which removes the obsolete code path here:

https://salsa.debian.org/debian/sysvinit/-/merge_requests/12

Removing this old codepath helps with DPKG_ROOT because when creating
chrootless systems, uname -s output is potentially incorrect, for example when
preparing a hurd chroot on linux. See bug #1063624 for a similar instance of
maintainer scripts calling uname causing problems for creating chroots using
the DPKG_ROOT mechanism.

Thanks!

cheers, josch
0 new messages