Source: sysvinit Version: 3.08-6 Severity: normal Tags: patch User: debian-d...@lists.debian.org Usertags: dpkg-root-support X-Debbugs-Cc: debian-hurd@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