[Exherbo-dev] systemd paludis uninstall phase

Mike Kazantsev mk.fraggod at gmail.com
Thu Feb 24 08:59:35 GMT 2011


On Thu, 24 Feb 2011 08:49:36 +0000
Enaut Waldmeier <enaut.w at googlemail.com> wrote:

> 2011/2/24 Markus Rothe <markus at unixforces.net>
> 
> > How do I disable 'uninstalled' services?
> >
...
> 
> Note however: Systemd creates a failed service if you call a service that
> does not exist for example:
> F-Laptop # systemctl start foo.service
> Failed to issue method call: Unit foo.service failed to load: No such file
> or directory. See system logs and 'systemctl status' for details.
> F-Laptop # systemctl -a | grep foo
> foo.service               error  inactive dead          foo.service
> 
> I never had a unit file named foo.service. and this "failed entry" will
> remain until restart or until you execute "systemctl daemon-reexec" so it
> might be that there are some units that have an before or an after
> dependency or there might be even some shell scripts that just start
> systemctl missing-unit.service
> 

Note that you can also remove failed units from systemctl list without
reexec with "systemctl reset-failed" command.


-- 
Mike Kazantsev // fraggod.net





More information about the Exherbo-dev mailing list