[systemd-devel] machinectl login <system>: Failed to get machine PTY: Unit container-getty at 0.service failed to load: No such file or directory.

David Herrmann dh.herrmann at gmail.com
Fri Mar 20 03:23:48 PDT 2015


Hi

On Fri, Mar 20, 2015 at 11:11 AM, Peter Paule <systemd-devel at fedux.org> wrote:
>
> Quoting David Herrmann <dh.herrmann at gmail.com>:
>>
>>
>> Gnah! If I had any idea how the automake magic with unit-files works,
>> I could help you.
>
> Just to clarify the setup. :-)
>
> Host: Arch Linux with systemd from git
> Container: CentOS 7 with "stock" systemd
>
> The getty-service file is available on the Arch Linux-host, but is
> unavaiable within the CentSO-container. I added the service-unit-file to the
> dkr building recipe of the image.

Oh, ok, that makes sense then. You need a systemd-version recent
enough with container-getty _inside_ the container. Or just copy the
file, it should be enough.

Thanks
David


More information about the systemd-devel mailing list