[systemd-devel] failed unit is not restarted

Lennart Poettering lennart at poettering.net
Fri Mar 1 10:17:33 PST 2013


On Sun, 24.02.13 20:40, Patrick Donnelly (batrick at batbytes.com) wrote:

> Hello,
> 
> I'm trying to get my dhcpcd at eth0.service to restart on failure (e.g.
> when I remove my USB dock and then plug it back in). Despite putting
> "Restart=always" in the service file, it always remains in the failed
> state. I've attached `systemctl show dhpcd\@eth0.service` and
> `systemctl status dhcpcd\@eth0.service` after unplugging the dock and
> then plugging it back in. I appreciate any help.

Humm, that sounds like a bug. Can you try to reproduce this with a tool
like "/bin/false" or so? That would make it a lot easier for me to debug
this...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list