[systemd-devel] machinectl login <system>: Failed to get machine PTY: Unit container-getty at 0.service failed to load: No such file or directory.
Peter Paule
systemd-devel at fedux.org
Fri Mar 20 03:34:08 PDT 2015
Thanks a lot. I will try out the new image with the getty-service unit inside.
Quoting David Herrmann <dh.herrmann at gmail.com>:
> 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