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

Nick Rosbrook 2077779 at bugs.launchpad.net
Fri Sep 6 13:41:12 UTC 2024


This patch is in v256.5, which I prepared and uploaded today.

** Changed in: systemd (Ubuntu Oracular)
       Status: In Progress => Fix Committed

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

Title:
  PTP device symlink missing after running udevadm trigger command

Status in systemd package in Ubuntu:
  Fix Committed
Status in systemd source package in Focal:
  In Progress
Status in systemd source package in Jammy:
  In Progress
Status in systemd source package in Noble:
  In Progress
Status in systemd source package in Oracular:
  Fix Committed

Bug description:
  [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.

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




More information about the Ubuntu-sponsors mailing list