[systemd-devel] persistent changes to the serial console

Lennart Poettering lennart at poettering.net
Fri Mar 29 08:32:38 PDT 2013


On Fri, 29.03.13 13:29, Andrey Borzenkov (arvidjaar at gmail.com) wrote:

> serial-getty at .service is used only as template, and it looks like
> getty-generator always links to (/usr)/lib/systemd:
> 
>         from = strappend(SYSTEM_DATA_UNIT_PATH "/", fservice);
>         to = strjoin(arg_dest,"/getty.target.wants/", tservice, NULL);
> 
> It probably should use real unit path for fservice.

Hmm, so actually even if you symlink like this, then /etc should
override /lib, and the symlink destination path should only be used as
last fallback. That's at least the theory, but there might be a bug
somewhere... iirc there where problems with that, where aliases of
autvt@ didn't get taken into account properly either... Something to
look into definitely. Added to TODO list.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list