Tested systemd 259.11-0ubuntu0.1 from resolute-proposed on Ubuntu 26.04
LTS (amd64), after reboot.

Before (259.9-0ubuntu0.1 from resolute-updates):
$ systemd-run --user --unit=jobtimeout-test --property=JobTimeoutSec=10s -- 
sleep infinity
Failed to start transient service unit: Cannot set property JobTimeoutUSec, or 
unknown property.

After (259.11-0ubuntu0.1 from resolute-proposed):
$ systemd-run --user --unit=jobtimeout-test --property=JobTimeoutSec=10s -- 
sleep infinity
Running as unit: jobtimeout-test.service
$ systemctl --user show jobtimeout-test -p JobTimeoutUSec
JobTimeoutUSec=10s
$ sudo systemd-run --unit=jobtimeout-test --property=JobTimeoutSec=10s -- sleep 
infinity
Running as unit: jobtimeout-test.service
$ sudo systemctl show jobtimeout-test -p JobTimeoutUSec
JobTimeoutUSec=10s

apt policy systemd:
  Installed: 259.11-0ubuntu0.1
  Candidate: 259.11-0ubuntu0.1
 *** 259.11-0ubuntu0.1 100
        100 http://archive.ubuntu.com/ubuntu resolute-proposed/main amd64 
Packages

Both the user and system managers accept JobTimeoutSec for transient
units. Fixes the bug for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2171290

Title:
  systemd 259.5: JobTimeoutSec rejected for transient user services
  despite upstream fix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2171290/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to