# VERIFICATION NOBLE
Installed systemd package from -proposed: # dpkg -l | grep systemd dbus-user-session 1.14.10-4ubuntu4.1 amd64 Simple interprocess messaging system (systemd --user integration) libnss-systemd:amd64 255.4-1ubuntu8.15 amd64 NSS module providing dynamic user and group name resolution libpam-systemd:amd64 255.4-1ubuntu8.15 amd64 System and service manager - PAM module libsystemd-shared:amd64 255.4-1ubuntu8.15 amd64 Systemd shared private library libsystemd0:amd64 255.4-1ubuntu8.15 amd64 Systemd utility library networkd-dispatcher 2.2.4-1 all Dispatcher service for systemd-networkd connection status changes python3-systemd 235-1build4 amd64 Python 3 bindings for systemd systemd 255.4-1ubuntu8.15 amd64 System and service manager systemd-dev 255.4-1ubuntu8.15 all Systemd development files systemd-hwe-hwdb 255.1.7 all Udev rules for hardware enablement (HWE) systemd-resolved 255.4-1ubuntu8.15 amd64 Systemd DNS resolver systemd-sysv 255.4-1ubuntu8.15 amd64 System and service manager - SysV compatibility symlinks systemd-timesyncd 255.4-1ubuntu8.15 amd64 Minimalistic service to synchronize local time with NTP servers Followed the test plan from the description: 1. Create a service and a timer. # timer-test.service [Unit] Description="Test service" [Service] ExecStart=/bin/echo triggered Type=oneshot # timer-test.timer [Unit] Description="Test timer" [Timer] OnCalendar=*-*-* *:27:00 [Install] WantedBy=timers.target 2. Enable the timer. # sudo systemctl enable --now timer-test.timer 3. Let the timer trigger once. This is important because you don't see this behavior if the timer has never ran before. 4. Restart the timer: # systemctl restart timer-test.timer Mar 26 17:28:51 noblecont systemd[1]: Stopped timer-test.timer - Test timer. Mar 26 17:28:51 noblecont systemd[1]: Stopping timer-test.timer - Test timer... Mar 26 17:28:51 noblecont systemd[1]: Started timer-test.timer - Test timer. 5. View the service status to see the logged echo command and check the time when the service was triggered. # systemctl status timer-test.service Mar 26 17:27:01 noblecont systemd[1]: Starting timer-test.service - Test service... Mar 26 17:27:01 noblecont echo[4607]: triggered Mar 26 17:27:01 noblecont systemd[1]: timer-test.service: Deactivated successfully. Mar 26 17:27:01 noblecont systemd[1]: Finished timer-test.service - Test service. The service triggered at 17:27 and the timer was restarted at 17:28. This confirms that now the behaviour is correct. After restarting the timer, the service did not run again. ** Tags removed: verification-needed-noble verification-needed-questing ** Tags added: verification-done-noble verification-done-questing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2141296 Title: [00427578] Restarting systemd timer triggers service start off- schedule To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2141296/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
