Cannot add dependency job for unit systemd-udev-root-symlink.service

Hello all,

I am using openSUSE 13.2 and since running some updates and patches last Thursday I get the following warning every time a session for root is created (cron, su, …):||
|—|

Cannot add dependency job for unit  systemd-udev-root-symlink.service,  ignoring: Unit  systemd-udev-root-symlink.service failed to load:  Invalid argument. See  system logs and 'systemctl status  systemd-udev-root-symlink.service' for  details.

systemctl status systemd-udev-root-symlink.service give the following:


systemd-udev-root-symlink.service - Rule generator for /dev/root symlink
   Loaded: error (Reason: Invalid argument)
   Active: active (exited) since So 2016-01-10 12:26:45 CET; 3 weeks 0 days ago
 Main PID: 355 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/systemd-udev-root-symlink.service

Jan 31 17:35:01 server systemd[1]: Cannot add dependency job for unit systemd-udev-root-symlink.service, ignoring: Unit systemd-udev-roo... details.
Jan 31 17:40:01 server systemd[1]: Cannot add dependency job for unit systemd-udev-root-symlink.service, ignoring: Unit systemd-udev-roo... details.
Jan 31 17:45:01 server systemd[1]: Cannot add dependency job for unit systemd-udev-root-symlink.service, ignoring: Unit systemd-udev-roo... details.
Jan 31 17:45:01 server systemd[1]: Cannot add dependency job for unit systemd-udev-root-symlink.service, ignoring: Unit systemd-udev-roo... details.
Jan 31 17:50:01 server systemd[1]: Cannot add dependency job for unit systemd-udev-root-symlink.service, ignoring: Unit systemd-udev-roo... details.
Jan 31 17:55:01 server systemd[1]: Cannot add dependency job for unit systemd-udev-root-symlink.service, ignoring: Unit systemd-udev-roo... details.
Jan 31 17:57:16 server systemd[1]: Cannot add dependency job for unit systemd-udev-root-symlink.service, ignoring: Unit systemd-udev-roo... details.
Jan 31 18:00:01 server systemd[1]: Cannot add dependency job for unit systemd-udev-root-symlink.service, ignoring: Unit systemd-udev-roo... details.
Jan 31 18:00:01 server systemd[1]: Cannot add dependency job for unit systemd-udev-root-symlink.service, ignoring: Unit systemd-udev-roo... details.
Jan 31 18:05:01 server systemd[1]: Cannot add dependency job for unit systemd-udev-root-symlink.service, ignoring: Unit systemd-udev-roo... details.
Hint: Some lines were ellipsized, use -l to show in full.

systemd-udev-root-symlink.service looks like this:

[Unit]
Description=Rule generator for /dev/root symlink
Before=systemd-udevd.service
DefaultDependencies=no
ConditionPathIsReadWrite=/run/udev

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=@udevlibexec@/rootsymlink-generator


Any ideas?

Best
Torsten

https://bugzilla.opensuse.org/show_bug.cgi?id=964355

Thanks, works like a charm.

Yes, but, is the change resulting from the issue reported <964355> going to be made?

  • The priority is P5 (None)
    [IMHO not really what the user community wishes] - The severity is "Normal
    " [IMHO possibly OK]

The temporary fix also works for me:


# sed -i "s:@udevlibexec@:/usr/lib/udev:" /usr/lib/systemd/system/systemd-udev-root-symlink.service

The change mentioned in one of the Bugzilla comments (@udevlibexecdir@ should have been used) didn’t work for me.Or, does “udevlibexecdir” point to “/usr/lib/udev”?