[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:22:11 PDT 2013


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

--- Comment #1 from Lennart Poettering <lennart at poettering.net> ---
(In reply to comment #0)
> My /etc/systemd/system/multi-user.target.wants/ has a number of symlinks
> like:
> 
>   dhcpcd.service -> /usr/lib64/systemd/system/dhcpcd.service

This is not arch dependent, it shouldn't be in lib64/, but in lib/.

> 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?

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?

-- 
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/eab2f1a9/attachment.html>


More information about the systemd-bugs mailing list