[systemd-bugs] [Bug 68175] systemctl: add a disable option to disable all missing units with only one command
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Sep 12 10:19:16 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=68175
Lennart Poettering <lennart at poettering.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #1 from Lennart Poettering <lennart at poettering.net> ---
Humm, your packaging system is quite broken if it leaves those dead links
around...
I think this command should be enough for what you are trying to do, no?
find /etc/systemd/system -type l -exec test ! -e {} \; -delete
I am not convinced that we need explicit functionality for this in systemd,
especially since this is brokeness in your package management scripts I think.
--
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/19e31d42/attachment-0001.html>
More information about the systemd-bugs
mailing list