[systemd-devel] machinectl login <system>: Failed to get machine PTY: Unit container-getty at 0.service failed to load: No such file or directory.
zbyszek at in.waw.pl
Sun Mar 22 23:45:33 PDT 2015
On Fri, Mar 20, 2015 at 11:34:08AM +0100, Peter Paule wrote:
> Thanks a lot. I will try out the new image with the getty-service unit inside.
> Quoting David Herrmann <dh.herrmann at gmail.com>:
> >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.
Yeah, RHEL 7 / CentOS 7 have systemd 208. Lukas Nykryn was saying something
about an update to 209 though.
I don't think there's a nice way to work around this file.
More information about the systemd-devel