Bug#771675: systemd: machinectl: Failed to get container bus: Input/output error

Michael Biebl biebl at debian.org
Sun Dec 14 00:14:40 GMT 2014


Am 14.12.2014 um 01:02 schrieb Michael Biebl:
> Am 14.12.2014 um 00:59 schrieb Michael Biebl:
>> Actually, the message is not that generic. It fails to connect to the
>> container bus. After installing the "dbus" package inside the container
>> (and rebooting it), you should be able to use "machinectl login"
> 
> I just tried with an minimal jessie chroot created via debootstrap and
> installing dbus.
> While "machinectl login" successfully connects to the container, I'm
> unable to login via machinectl:
> 
> Dec 13 23:59:47 pluto login[68]: FAILED LOGIN (2) on '/dev/pts/0' FOR
> 'root', Authentication failure
> Dec 13 23:59:49 pluto login[68]: pam_securetty(login:auth): access
> denied: tty '/dev/pts/0' is not secure !
> 
> 
> Looks like this needs further tweaks.


Adding "pts/0" to /etc/securetty inside the container made it possible
to login via "machinectl login".

I don't know the security implications of that change, so I've CCed the
login maintainers. Maybe the can chime in here if this is something we
could ship in the default login /etc/securetty configuration.


Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141214/2200134f/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list