Although this was working with the ppa package, enforcement is failing again.
# apt policy systemd systemd: Installed: 249.11-0ubuntu3.10~debug1 Candidate: 249.11-0ubuntu3.10~debug1 Version table: *** 249.11-0ubuntu3.10~debug1 500 500 https://ppa.launchpadcontent.net/enr0n/systemd-249/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status 249.11-0ubuntu3.9 500 500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 249.11-0ubuntu3.7 500 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 249.11-0ubuntu3 500 500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages #
# grep Runtime /run/systemd/transient/session-2.scope RuntimeMaxSec=2h # ls -l /run/systemd/transient/session-2.scope -rw-r--r-- 1 root root 442 Apr 15 13:43 /run/systemd/transient/session-2.scope # date Sat Apr 15 16:17:15 PDT 2023 #
So the session has been open for over 2 hours.
Although this was working with the ppa package, enforcement is failing again.
# apt policy systemd 0ubuntu3. 10~debug1 0ubuntu3. 10~debug1 0ubuntu3. 10~debug1 500 /ppa.launchpadc ontent. net/enr0n/ systemd- 249/ubuntu jammy/main amd64 Packages dpkg/status 11-0ubuntu3. 9 500 us.archive. ubuntu. com/ubuntu jammy-updates/main amd64 Packages 11-0ubuntu3. 7 500 security. ubuntu. com/ubuntu jammy-security/main amd64 Packages 11-0ubuntu3 500 us.archive. ubuntu. com/ubuntu jammy/main amd64 Packages
systemd:
Installed: 249.11-
Candidate: 249.11-
Version table:
*** 249.11-
500 https:/
100 /var/lib/
249.
500 http://
249.
500 http://
249.
500 http://
#
# grep Runtime /run/systemd/ transient/ session- 2.scope transient/ session- 2.scope transient/ session- 2.scope
RuntimeMaxSec=2h
# ls -l /run/systemd/
-rw-r--r-- 1 root root 442 Apr 15 13:43 /run/systemd/
# date
Sat Apr 15 16:17:15 PDT 2023
#
So the session has been open for over 2 hours.