[<<][pool][>>][..]
Fri Aug 23 10:23:59 EDT 2013

lxc

Can't login to lxc container?  Auth goes well, then poof:

# ssh -v root@dev32
...
Last login: Fri Aug 23 14:22:51 2013 from zoo.i
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
Connection to dev32 closed.
Transferred: sent 4056, received 3568 bytes, in 0.0 seconds
Bytes per second: sent 188870.1, received 166146.1
debug1: Exit status 254


Probably has to do with /var/log/auth.log not being there..
After installing rsyslogd I got this error:

Aug 23 14:39:15 localhost sshd[5482]: pam_loginuid(sshd:session): Cannot open /proc/self/loginuid: Read-only file system
Aug 23 14:39:15 localhost sshd[5482]: pam_loginuid(sshd:session): set_loginuid failed
Aug 23 14:39:15 localhost sshd[5482]: pam_unix(sshd:session): session opened for user root by (uid=0)
Aug 23 14:39:15 localhost sshd[5482]: error: PAM: pam_open_session(): Cannot make/remove an entry for the specified session
Aug 23 14:39:15 localhost sshd[5482]: Received disconnect from 192.168.6.8: 11: disconnected by user

Workaround from [1] is to comment out the following line in /etc/pam.d/ssh:
# session    required     pam_loginuid.so

[1] http://kb.parallels.com/en/112597




[Reply][About]
[<<][pool][>>][..]