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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 12 10:48:10 PDT 2013


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

--- Comment #3 from Lennart Poettering <lennart at poettering.net> ---
(In reply to comment #2)

> > I don't follow? Come again? It should rewrite lib/ to lib64/? That sounds
> > very specialist to me and sounds like something that is better fixed with a
> > manual script.
> > 
> > Or what are you asking for? I don't get it?
> 
> I mean that systemd currently does readlink() and uses basename of symlink
> to find the unit. I would like it to additionally compare the result of this
> search with current symlink target, and reset symlink to point to the found
> unit.
> 
> In other words, I have this:
> 
>   dhcpcd.service -> /usr/lib64/systemd/system/dhcpcd.service
> 
> but after systemd interprets it, it is rewritten as:
> 
>   dhcpcd.service -> /usr/lib/systemd/system/dhcpcd.service
> 
> or:
> 
>   dhcpcd.service -> /lib/systemd/system/dhcpcd.service
> 
> or even:
> 
>   dhcpcd.service -> /etc/systemd/system/dhcpcd.service
> 
> depending on where systemd actually found the unit.

I still don't get it? What should it do and why?

-- 
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/20130912/dc00f95e/attachment-0001.html>


More information about the systemd-bugs mailing list