Bug#1073835: systemd: new run0 utility fails due to missing dependency
Control: tags -1 wontfix Control: close -1 On Wed, 19 Jun 2024 16:41:44 +0200 John Shaft wrote: > Package: systemd > Version: 256-1 > Severity: normal > > Dear Maintainer, > > systemd 256 introduced a 'run0' utility intended to serve a similar purpose as sudo(8) > > run0(1) manpage states: > > 'Authentication takes place via polkit[1], thus isolating the authentication prompt from the terminal (if possible).' > > As of now, polkitd is only a suggestion and not yet a dependency for systemd so chances are it is not installed. Trying to use run0 thus fails, eg: Yes this is expected and intended, as we want to prioritize allowing to build minimal images, so a lot of "extra" functionality is enabled but won't work until recommends and suggests are installed. If you want to make sure all features are usable, you can use apt install --install- suggests and that will bring in everything. > $ run0 ls /tmp > Failed to start transient service unit: Access denied > > (note that run0 error message could be improved, but it is an upstream issue) Please file an issue upstream, or better yet, a PR. -- Kind regards, Luca Boccassi
Bug#1073835: systemd: new run0 utility fails due to missing dependency
Package: systemd Version: 256-1 Severity: normal Dear Maintainer, systemd 256 introduced a 'run0' utility intended to serve a similar purpose as sudo(8) run0(1) manpage states: 'Authentication takes place via polkit[1], thus isolating the authentication prompt from the terminal (if possible).' As of now, polkitd is only a suggestion and not yet a dependency for systemd so chances are it is not installed. Trying to use run0 thus fails, eg: $ run0 ls /tmp Failed to start transient service unit: Access denied (note that run0 error message could be improved, but it is an upstream issue) -- Package-specific info: -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.8.12-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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 depends on: ii libacl12.3.2-2 ii libapparmor1 3.0.13-2 ii libaudit1 1:3.1.2-4 ii libblkid1 2.40.1-8.1 ii libc6 2.38-13 ii libcap21:2.66-5 ii libcryptsetup122:2.7.2-2 ii libfdisk1 2.40.1-8.1 ii libmount1 2.40.1-8.1 ii libpam0g 1.5.3-7 ii libseccomp22.5.5-1 ii libselinux13.5-2+b2 ii libssl3t64 3.2.1-3 ii libsystemd-shared 256-1 ii libsystemd0256-1 ii mount 2.40.1-8.1 Versions of packages systemd recommends: ii dbus [default-dbus-system-bus] 1.14.10-4+b1 ii libzstd11.5.5+dfsg2-2 ii ntpsec [time-daemon]1.2.3+dfsg1-3 Versions of packages systemd suggests: ii libgcrypt20 1.10.3-3 ii libidn2-0 2.3.7-2 ii liblz4-1 1.9.4-2 ii liblzma5 5.6.1+really5.4.5-1 pn libtss2-rc0t64 pn libtss2-tcti-device0 pn polkitd pn systemd-boot pn systemd-container pn systemd-homed pn systemd-resolved pn systemd-userdbd Versions of packages systemd is related to: ii dbus-user-session 1.14.10-4+b1 pn dracut ii initramfs-tools0.142 ii libnss-systemd 256-1 ii libpam-systemd 256-1 ii udev 256-1 -- no debconf information