[systemd-devel] How to debug machinectl shell?

Lennart Poettering lennart at poettering.net
Wed Dec 23 11:50:17 PST 2015


On Tue, 22.12.15 00:13, Tobias Hunger (tobias.hunger at gmail.com) wrote:

> Hello List,
> 
> I am running on arch-linux, using systemd 228 and have a machine
> started using systemd-nspawn. It shows up in machinectl list. I can
> machinectl login MACHINE into this machine, but when I try to run
> machinectl shell MACHINE I only get this:
> 
> Failed to get shell PTY: Cannot set property
> StandardInputFileDescriptor, or unknown property.

THis indicates that your systemd version and nspawn version are not in
sync. Specifically, the systemd version is older than your nspawn
version, and thus lacks the "StandardInputFileDescriptor" unit
property.

Maybe you forgot to reboot/reexec PID 1?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list