Bug#1133069: systemd-standalone-sysusers: Failed to read 'basic.conf': No such file or directory

Philipp Matthias Hahn pmhahn at debian.org
Thu Apr 9 18:18:49 BST 2026


Package: systemd-standalone-sysusers
Version: 260.1-1
Severity: important
X-Debbugs-Cc: debian-ssh at lists.debian.org

Dear fellow Maintainer,

I'm trying to install `openssh-client` inside a Docker container, which
depends on 'systemd | systemd-standalone-sysusers | systemd-sysusers'.

1. `systemd` fails to configue with
> Setting up systemd (260.1-1) ...
> Created symlink '/etc/systemd/system/multi-user.target.wants/remote-fs.target' → '/usr/lib/systemd/system/remote-fs.target'.
> Created symlink '/etc/systemd/system/sysinit.target.wants/systemd-pstore.service' → '/usr/lib/systemd/system/systemd-pstore.service'.
> Created symlink '/etc/systemd/system/getty.target.wants/getty at tty1.service' → '/usr/lib/systemd/system/getty at .service'.
> Failed to enable units: Protocol driver not attached.
> Cannot open '/etc/machine-id': Protocol driver not attached
> dpkg: error processing package systemd (--configure):
>  old systemd package postinst maintainer script subprocess failed with exit status 1
…
> dpkg: dependency problems prevent configuration of openssh-client:
>  openssh-client depends on systemd | systemd-standalone-sysusers | systemd-sysusers; however:
>   Package systemd is not configured yet.
>   Package systemd-standalone-sysusers is not installed.
>   Package systemd-sysusers is not installed.
>   Package systemd which provides systemd-sysusers is not configured yet.
>
> dpkg: error processing package openssh-client (--configure):
>  dependency problems - leaving unconfigured

2. `systemd-standalone-sysusers` fails with
> Setting up systemd-standalone-sysusers (260.1-1) ...
> Failed to read 'basic.conf': No such file or directory
> dpkg: error processing package systemd-standalone-sysusers (--configure):
>  old systemd-standalone-sysusers package postinst maintainer script subprocess failed with exit status 1

3. With `opensysusers` providing `systemd-sysuers` it also fails with
> Setting up openssh-client (1:10.2p1-6) ...
> groupadd: invalid group ID ''
> chgrp: invalid group: '_ssh'
> dpkg: error processing package openssh-client (--configure):
>  old openssh-client package postinst maintainer script subprocess failed with exit status 1


This is about 2.
`basic.conf` is part of the package `systemd`:
	$ dpkg -S basic.conf
	systemd: /usr/lib/sysusers.d/basic.conf

Obviously it's no a good idea to install `systemd` and
`systemd-standalone-sysusers` together.

Please fix systemd-standalone-sysusers.postinst.

Please feel free to forward this the OpenSSH maintainers.

Philipp
-- System Information:
Debian Release: 13.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd-standalone-sysusers depends on:
ii  libc6        2.41-12+deb13u2
ii  libcap2      1:2.75-10+b8
ii  libcrypt1    1:4.4.38-1
ii  libselinux1  3.8.1-1

systemd-standalone-sysusers recommends no packages.

Versions of packages systemd-standalone-sysusers suggests:
ii  libcryptsetup12  2:2.7.5-2
ii  libidn2-0        2.3.8-2
ii  libtss2-rc0t64   4.1.3-1.2


More information about the Pkg-systemd-maintainers mailing list