Bug 2406525 - systemd-udev-trigger.service can not be restarted
Summary: systemd-udev-trigger.service can not be restarted
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: systemd-extras
Version: epel10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-27 11:57 UTC by Dmitriy Rabotjagov
Modified: 2025-10-27 15:01 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dmitriy Rabotjagov 2025-10-27 11:57:55 UTC
Description of problem:

Old workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1378974 still exists, preventing systemd-udev-trigger.service to be restarted.

This actually has a side-consequences for systemd-networkd, because whenever you update a .link file, you need to restart systemd-udev-trigger to get changes applied to the link during runtime.

At the moment, this results in a following error:
# systemctl restart systemd-udev-trigger
Failed to restart systemd-udev-trigger.service: Operation refused, unit systemd-udev-trigger.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status systemd-udev-trigger.service' for details.
#

This happens because an override is packaged to workaround a bug above:
# cat /usr/lib/systemd/system/systemd-udev-trigger.service.d/systemd-udev-trigger-no-reload.conf 
[Unit]
# https://bugzilla.redhat.com/show_bug.cgi?id=1378974#c17
RefuseManualStop=true
#

Version-Release number of selected component (if applicable):

systemd-257-16

Steps to Reproduce:
1. Edit some .link file for systemd-networkd. Ie, by adding an `Alias`: https://www.freedesktop.org/software/systemd/man/latest/systemd.link.html#Alias=
2. Reload the daemon
3. Restart systemd-udev-trigger.service

Actual results:

Restart fails to execute

Expected results:

Restart happens and interface gets alias applied without system reboot.

Additional info:

It seems that the initial bug linked above was resolved on it's own and this override is not needed anymore, as %postun should not be present on any supported system now.

Comment 1 Robert Scheck 2025-10-27 14:52:36 UTC
I am not sure what you are expecting: I can not influence systemd-udev-trigger.service, because systemd-udev-trigger.service comes from systemd-udev, which is part of RHEL 10, not EPEL 10.

Comment 2 Dmitriy Rabotjagov 2025-10-27 14:54:49 UTC
Ugh, ok, yes, you're right. I didn't double-check the source of systemd-udev, assuming it's also part of systemd-extras.

Comment 3 Robert Scheck 2025-10-27 14:58:07 UTC
Well, I could make systemd-networkd make providing a drop-in which reverses /usr/lib/systemd/system/systemd-udev-trigger.service.d/systemd-udev-trigger-no-reload.conf, but not sure if it's a good idea?

Comment 4 Dmitriy Rabotjagov 2025-10-27 14:59:25 UTC
I think it would be cleaner to move this bug report to a proper place tbh.

Can you kindly suggest to which project to move this bug report, as I somehow can't find suitable destination?

Comment 5 Robert Scheck 2025-10-27 15:01:22 UTC
For RHEL 10 it needs to be filed at https://issues.redhat.com (they are unfortunately no longer using Bugzilla for RHEL), but to really get attention by Red Hat, a support ticket via https://access.redhat.com makes (additionally) sense.


Note You need to log in before you can comment on or make changes to this bug.