[systemd-devel] Nspawn / getty restart loop

Lennart Poettering lennart at poettering.net
Mon Dec 8 06:15:09 PST 2014


On Sun, 07.12.14 09:20, Meech (meechman at gmail.com) wrote:

> Disabling seems to have no effect, it's a static service:
> 
> console-getty.service                      disabled
> container-getty at .service                   static
> getty at .service                             enabled
> serial-getty at .service                      disabled

Well, something appears to pull it in, the question is what precisely
is it...

> 
> However, I think adding this to the [unit] section seems to help:
> 
> ConditionPathExists=/dev/pts/%I
> 
> Still testing.  Thanks.

That'd just be a work-around to ensure the service is skipped when it
is pulled in incorrectly, but we really should figure out why it is
pulled in incorrectly in the first place, and fix that.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list