[systemd-devel] [PATCH] clarify message when unit action fails

Andrey Borzenkov arvidjaar at mail.ru
Sun Sep 26 19:36:15 PDT 2010


Mon, 27 Sep 2010 01:40:17 +0200 письмо от Lennart Poettering <lennart at poettering.net>:

> On Sun, 26.09.10 10:27, Andrey Borzenkov (arvidjaar at mail.ru) wrote:
> 
> > I was rather surprised to see "Starting of tmp.mount failed"
> > during shutdown and spent some time searching for wrong dependencies
> > until I realized that systemd always says "Starting" in this case.
> > 
> > Clarify error message by actually naming action that failed.
> 
> Thanks a lot of the patch. However I have now merged a slightly
> different patch that limits the printing of this message to only start
> ups. These status lines are supposed to be something like a replacement
> for the traditional SysV status lines, which exclusively showed these
> messages on startup,

For most people systemd will be replacement for well-known initscripts which
did show script execution success/failure on startup and shutdown. I do not
think hiding status is good idea; e.g. in this case it makes it obvious
that we need to change something in shutdown order :)

If you suggest better message I send updated patch. Thank you!



More information about the systemd-devel mailing list