[Bug 2077779] [NEW] PTP device symlink missing after running udevadm trigger command

Launchpad Bug Tracker 2077779 at bugs.launchpad.net
Sat Aug 24 13:30:11 UTC 2024


You have been subscribed to a public bug by Heitor Alves de Siqueira (halves):

[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.du at 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.du at 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
     Assignee: Chengen Du (chengendu)
         Status: In Progress

** Affects: systemd (Ubuntu Focal)
     Importance: Undecided
     Assignee: Chengen Du (chengendu)
         Status: In Progress

** Affects: systemd (Ubuntu Jammy)
     Importance: Undecided
     Assignee: Chengen Du (chengendu)
         Status: In Progress

** Affects: systemd (Ubuntu Noble)
     Importance: Undecided
     Assignee: Chengen Du (chengendu)
         Status: In Progress

** Affects: systemd (Ubuntu Oracular)
     Importance: Undecided
     Assignee: Chengen Du (chengendu)
         Status: In Progress

-- 
PTP device symlink missing after running udevadm trigger command
https://bugs.launchpad.net/bugs/2077779
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list