[systemd-bugs] [Bug 68102] New: Please consider 'fixing' unit symlinks in /etc (on startup?)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 14 04:36:03 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68102

          Priority: medium
            Bug ID: 68102
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: Please consider 'fixing' unit symlinks in /etc (on
                    startup?)
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: mgorny at gentoo.org
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

My /etc/systemd/system/multi-user.target.wants/ has a number of symlinks like:

  dhcpcd.service -> /usr/lib64/systemd/system/dhcpcd.service

How I got these is another story that needs investigating. But now I have a
symlinks that are invalid per filesystem rules and completely valid per systemd
rules. If I run some kind of stale symlink search, it would catch those and
likely want to remove them.

Could you consider doing some kind of 'symlink update' run within systemd? That
is, while doing the usual readlink() magic and unit search, compare whether the
canonical unit path matches the symlink target and rewrite the symlink if it
doesn't?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130814/2cbd9081/attachment.html>


More information about the systemd-bugs mailing list