Public bug reported: [Impact] PTP device symlink creation rules are executed only when the udev action is 'add'. If the rules are reloaded and the udevadm trigger command is run to reapply changes, the symlink may be deleted. This can prevent the chronyd service from restarting properly.
[Fix] Upstream has a patch to fix this issue. commit 6bd12be3fa7761f190e17efdbdbff4440da7528b Author: Chengen Du <chengen...@canonical.com> CommitDate: Thu Aug 15 15:38:46 2024 +0900 udev: Handle PTP device symlink properly on udev action 'change' PTP device symlink creation rules are currently executed only when the udev action is 'add'. If a user reloads the rules and runs the udevadm trigger command to reapply changes, the symlink may be deleted, which can prevent the chronyd service from restarting properly. Signed-off-by: Chengen Du <chengen...@canonical.com> [Test Plan] 1. Create a VM on Azure. 2. Run the `udevadm trigger` command. 3. Restart the chronyd service by running `systemctl restart chronyd`. 4. Verify that the service starts normally by running `systemctl status chronyd`. [Where problems could occur] The patch allows PTP device symlink creation rules to be executed when the udev action is 'change'. This update primarily affects services that rely on the PTP device symlink, such as chronyd. ** Affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077779 Title: PTP device symlink missing after running udevadm trigger command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2077779/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs