Bug#990019: initscripts: single user mode broken with newer versions of systemd

Ximin Luo infinity0 at debian.org
Thu Jun 17 23:19:42 BST 2021

Package: initscripts
Version: 2.96-7
Severity: important
Tags: patch

Dear Maintainer,

Single-user mode is broken with newer versions of systemd which do not support the -t option:

$ /sbin/init -t1
/sbin/init: invalid option -- 't'
exit code 1

This however is still used in /etc/init.d/single:

    exec init -t1 S

This breaks single user mode with the following error:

  systemd[1]: Failed to start LSB : executed by init(8) upon entering runlevel 1 (single)..

This problem was also reported in https://forum.odroid.com/viewtopic.php?f=184&t=42211

The problem is fixed if we drop the -t1 from /etc/init.d/single


-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-security'), (500, 'testing-debug'), (500, 'stable'), (300, 'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages initscripts depends on:
ii  lsb-base  11.1.0
ii  sysv-rc   2.96-7

Versions of packages initscripts recommends:
ii  e2fsprogs  1.46.2-1
ii  psmisc     23.4-2

initscripts suggests no packages.

-- no debconf information

More information about the Debian-init-diversity mailing list