[systemd-devel] machinectl login <machine> fails systemd 219

Keller, Jacob E jacob.e.keller at intel.com
Fri Apr 17 15:18:33 PDT 2015


On Fri, 2015-04-17 at 18:40 +0000, Keller, Jacob E wrote:
> On Wed, 2015-04-15 at 00:07 +0200, Stefan Tatschner wrote:
> > On Di, 2015-04-14 at 21:56 +0000, Keller, Jacob E wrote:
> > > Failed to get machine PTY: Message did not receive a reply (timeout 
> > > by message bus)
> > > 
> > > I get a notification on the machine itself that it started container
> > > getty and then stopped it.
> > > 
> > > It worked earlier so I am not sure what changed. No one on google 
> > > seems
> > > to have this specific error.
> > 
> > There is a patch which fixes this problem:
> > http://lists.freedesktop.org/archives/systemd-devel/2015
> > -February/028603.html
> > 
> > git log --grep tells me that is has been already commited as
> > f2273101c21bc59a390379e182e53cd4f07a7e71:
> > 
> > http://cgit.freedesktop.org/systemd/systemd/commit/?id=f2273101c21bc59a
> > 390379e182e53cd4f07a7e71
> > 
> > 
> > Stay tuned,
> > Stefan
> 
> I still seem to have this issue with this. I am currently working on
> compiling upstream git of systemd so I can try running machined from
> there. Will let you know results.
> 
> Any specific tips for debugging it?
> 
> Regards,
> Jake
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel

For reference, here is the output of systemd-machined if I set
SYSTEMD_LOG_LEVEL=debug

Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd[1]: Starting Virtual Machine and Container Registration Service...
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.636 object=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=2 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=3 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=4 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=5 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=Subscribe cookie=6 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RequestName cookie=7 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/nspawn_40gitbucket_2eservice interface=org.freedesktop.DBus.Properties member=Get cookie=8 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd[1]: Started Virtual Machine and Container Registration Service.
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: New machine gitbucket.
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/machine1 interface=org.freedesktop.machine1.Manager member=MachineNew cookie=9 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: systemd-machined running as pid 21619
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Got message type=signal sender=org.freedesktop.DBus destination=:1.636 object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=2 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Got message type=signal sender=org.freedesktop.DBus destination=:1.636 object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=7 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Got message type=method_call sender=:1.635 destination=org.freedesktop.machine1 object=/org/freedesktop/machine1 interface=org.freedesktop.machine1.Manager member=OpenMachineLogin cookie=3 reply_cookie=0 error=n/a
Apr 17 15:08:42 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetConnectionUnixUser cookie=10 reply_cookie=0 error=n/a
Apr 17 15:08:43 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 error=n/a
Apr 17 15:08:43 jbrandeb-host.jf.intel.com systemd-machined[21619]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.176 object=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 error=n/a
Apr 17 15:08:43 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=StartUnit cookie=2 reply_cookie=0 error=n/a
Apr 17 15:08:43 jbrandeb-host.jf.intel.com systemd-machined[21619]: Sent message type=method_return sender=n/a destination=:1.635 object=n/a interface=n/a member=n/a cookie=11 reply_cookie=3 error=n/a
Apr 17 15:08:43 jbrandeb-host.jf.intel.com systemd-machined[21619]: Got message type=signal sender=:1.0 destination=n/a object=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=4511 reply_cookie=0 error=n/a
Apr 17 15:08:43 jbrandeb-host.jf.intel.com systemd-machined[21619]: Got message type=signal sender=:1.0 destination=n/a object=/org/freedesktop/systemd1/unit/systemd_2dmachined_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=4512 reply_cookie=0 error=n/a
Apr 17 15:08:43 jbrandeb-host.jf.intel.com systemd-machined[21619]: Got message type=signal sender=:1.0 destination=n/a object=/org/freedesktop/systemd1/unit/systemd_2dmachined_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=4513 reply_cookie=0 error=n/a
Apr 17 15:08:43 jbrandeb-host.jf.intel.com systemd-machined[21619]: Got message type=signal sender=:1.0 destination=n/a object=/org/freedesktop/systemd1/unit/systemd_2dmachined_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=4518 reply_cookie=0 error=n/a
Apr 17 15:08:43 jbrandeb-host.jf.intel.com systemd-machined[21619]: Got message type=signal sender=:1.0 destination=n/a object=/org/freedesktop/systemd1/unit/systemd_2dmachined_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=4519 reply_cookie=0 error=n/a

This is running upstream systemd-machined. Hopefully this information is
of value.

Regards,
Jake


More information about the systemd-devel mailing list