<div dir="ltr">Package: systemd<br>Version: 257.9-1~deb13u1<br>Severity: normal<br>Tags: upstream<br><br>Dear Maintainer,<br><br>Steps to reproduce:<br><br>* Generate a **user-scope** credential using systemd-cred<br><br>  $ echo 'test' | systemd-creds --user encrypt - ~/.config/systemd/credentials/test.cred<br><br>* Reference this credential in a **user-scope** systemd unit.<br><br>  $ cat ~/.config/systemd/user/sleep.service<br>  [Unit]<br>  Description=Test Sleep<br><br>  [Service]<br>  Type=exec<br>  ExecStart=/usr/bin/sleep infinity<br>  LoadCredentialEncrypted=test:/home/ankit/.config/systemd/credentials/test.cred<br><br>* Reload the user daemon and start the service.<br><br>  $ systemctl --user daemon-reload && systemctl --user start sleep<br><br><br>Status logs from the service:<br><br>Dec 21 17:46:56 x1-carbon (sleep)[240845]: Failed to determine local credential key: Permission denied<br>Dec 21 17:46:56 x1-carbon (sleep)[240845]: sleep.service: Failed to set up credentials: Permission denied<br>Dec 21 17:46:56 x1-carbon (sleep)[240845]: sleep.service: Failed at step CREDENTIALS spawning /usr/bin/sleep: Permission denied<br>Dec 21 17:46:56 x1-carbon systemd[2082]: sleep.service: Main process exited, code=exited, status=243/CREDENTIALS<br>Dec 21 17:46:56 x1-carbon systemd[2082]: sleep.service: Failed with result 'exit-code'.<br>Dec 21 17:46:56 x1-carbon systemd[2082]: Failed to start sleep.service - Test Sleep.<br><br>-- Package-specific info:<br><br>Upstream bugreport: <a href="https://github.com/systemd/systemd/issues/35913">https://github.com/systemd/systemd/issues/35913</a><br>Fixed in v259: <a href="https://github.com/systemd/systemd/commit/1af989e8de71a613ae08bd8f095de5308478fd13">https://github.com/systemd/systemd/commit/1af989e8de71a613ae08bd8f095de5308478fd13</a><br><br>-- System Information:<br>Debian Release: 13.2<br>  APT prefers stable-updates<br>  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')<br>Architecture: amd64 (x86_64)<br><br>Kernel: Linux 6.12.57+deb13-amd64 (SMP w/14 CPU threads; PREEMPT)<br>Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set<br>Shell: /bin/sh linked to /usr/bin/dash<br>Init: systemd (via /run/systemd/system)<br>LSM: AppArmor: enabled<br><br>Versions of packages systemd depends on:<br>ii  libacl1            2.3.2-2+b1<br>ii  libapparmor1       4.1.0-1<br>ii  libc6              2.41-12<br>ii  libmount1          2.41-5<br>ii  libpam0g           1.7.0-5<br>ii  libseccomp2        2.6.0-2<br>ii  libselinux1        3.8.1-1<br>ii  libssl3t64         3.5.4-1~deb13u1<br>ii  libsystemd-shared  257.9-1~deb13u1<br>ii  libsystemd0        257.9-1~deb13u1<br>ii  mount              2.41-5<br><br>Versions of packages systemd recommends:<br>ii  dbus [default-dbus-system-bus]   1.16.2-2<br>ii  linux-sysctl-defaults            4.12<br>ii  systemd-cryptsetup               257.9-1~deb13u1<br>ii  systemd-timesyncd [time-daemon]  257.9-1~deb13u1<br><br>Versions of packages systemd suggests:<br>ii  libtss2-tcti-device0t64 [libtss2-tcti-device0]  4.1.3-1.2<br>ii  polkitd                                         126-2<br>ii  systemd-boot                                    257.9-1~deb13u1<br>pn  systemd-container                               <none><br>pn  systemd-homed                                   <none><br>pn  systemd-repart                                  <none><br>pn  systemd-resolved                                <none><br>pn  systemd-userdbd                                 <none><br><br>Versions of packages systemd is related to:<br>ii  dbus-user-session  1.16.2-2<br>pn  dracut             <none><br>ii  initramfs-tools    0.148.3<br>ii  libnss-systemd     257.9-1~deb13u1<br>ii  libpam-systemd     257.9-1~deb13u1<br>ii  udev               257.9-1~deb13u1<br><br>-- no debconf information</div>