Bug#971003: live-config: Console auto-login doesn't work with sysvinit
Package: live-config
Version: 5.20190519
Severity: normal
Tags: patch
Hi,
Sysvinit has been a transitional package since (before?) Jessie. However,
live-config still checks for its presence to determine whether console
auto-login should be enabled via inittab. This patch changes the condition
to look for the presence of sysvinit-core.
Cheers
Daniel
-- System Information:
Debian Release: 10.6
APT prefers proposed-updates
APT policy: (990, 'proposed-updates'), (990, 'stable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'oldstable-updates'), (500, 'oldstable-debug'), (500, 'oldstable'), (99, 'testing'), (98, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-11-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages live-config depends on:
ii live-config-sysvinit [live-config-backend] 5.20190519
Versions of packages live-config recommends:
ii iproute2 5.8.0-1~bpo10+1
ii keyboard-configuration 1.193~deb10u1
ii live-config-doc 5.20190519
ii live-tools 1:20171207
ii locales 2.28-10
ii sudo 1.8.27-1+deb10u2
ii user-setup 1.81
Versions of packages live-config suggests:
ii pciutils 1:3.5.2-1
ii wget 1.20.1-1.1
-- no debconf information
>From 6786f9bf1848993fff68787c9734f6f6b9277c4d Mon Sep 17 00:00:00 2001
From: Daniel Reichelt <debian@nachtgeist.net>
Date: Sat, 26 Sep 2020 07:56:45 +0200
Subject: [PATCH] Fix console auto-login in conjunction with sysvinit
Sysvinit has been a transitional package since (before?) Jessie. However,
live-config still checks for its presence to determine whether console
auto-login should be enabled via inittab. This patch changes the condition
to look for the presence of sysvinit-core.
---
components/0160-sysvinit | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/0160-sysvinit b/components/0160-sysvinit
index 597e510..81c90ab 100755
--- a/components/0160-sysvinit
+++ b/components/0160-sysvinit
@@ -49,7 +49,7 @@ Init ()
esac
# Checking if package is installed or already configured
- if [ ! -e /var/lib/dpkg/info/sysvinit.list ] || \
+ if [ ! -e /var/lib/dpkg/info/sysvinit-core.list ] || \
[ -e /var/lib/live/config/sysvinit ]
then
exit 0
--
2.27.0
Reply to: