Bug 1038115

Summary: Unable to login in F-20 lxc guest
Product: [Fedora] Fedora Reporter: Alexey Torkhov <atorkhov>
Component: lxcAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: karlthered, sagarun, thomas.moschny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-04 20:42:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexey Torkhov 2013-12-04 13:04:19 UTC
Description of problem:


Version-Release number of selected component (if applicable):
lxc-0.9.0-2.fc20.x86_64
systemd-208-6.fc20.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. lxc-create -t fedora -n fedora20-test -- -R 20
2. lxc-start -n fedora20-test
3. Try to login in lxc console with user root and password 'root' (default one)

Actual results:

On console I see following output:

Fedora release 20 (Heisenbug)
Kernel 3.11.9-300.fc20.x86_64 on an x86_64 (tty1)

fedora20-test login: root
Password: 
Last failed login: Wed Dec  4 12:58:04 UTC 2013 on tty1
There was 1 failed login attempt since the last successful login.

Cannot make/remove an entry for the specified session


In guest logs:

Dec 04 12:59:48 fedora20-test.tortilla.ru login[160]: pam_loginuid(login:session): set_loginuid failed
Dec 04 12:59:48 fedora20-test.tortilla.ru login[160]: pam_systemd(login:session): Failed to create session: Invalid argument
Dec 04 12:59:48 fedora20-test.tortilla.ru login[160]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Dec 04 12:59:48 fedora20-test.tortilla.ru login[160]: Cannot make/remove an entry for the specified session
Dec 04 12:59:53 fedora20-test.tortilla.ru systemd[1]: getty holdoff time over, scheduling restart.
Dec 04 12:59:53 fedora20-test.tortilla.ru systemd[1]: Stopping Getty on tty1...
Dec 04 12:59:53 fedora20-test.tortilla.ru systemd[1]: Starting Getty on tty1...
Dec 04 12:59:53 fedora20-test.tortilla.ru systemd[1]: Started Getty on tty1.


Expected results:


Additional info:

Comment 1 Alexey Torkhov 2013-12-04 20:42:01 UTC

*** This bug has been marked as a duplicate of bug 966807 ***