[systemd-devel] LXC not working with systemd 209 or later

John Lane systemd at jelmail.com
Sat Apr 5 14:04:23 PDT 2014


On 04/04/14 13:10, Tom Gundersen wrote:
> On Thu, Apr 3, 2014 at 7:53 PM, John Lane<systemd at jelmail.com>  wrote:
>> What I find is that the login prompt never results in a prompt. I enter the
>> correct user/password and it takes an age before redisplaying the login
>> prompt. If apply 208 before starting the container then it works as
>> expected.
> Are you using the official arch package of systemd in your container?
> If not, make sure that your pam files in the container match the Arch
> pam package. I.e., the upstream default of system-auth, must be
> replaced by Arch's system-login entries in /etc/pam.d/systemd-user
>
> HTH,
>
> Tom
>
pacman -Qo /etc/pam.d/systemd-user
/etc/pam.d/systemd-user is owned by systemd 212-1

cat /etc/pam.d/systemd-user
#%PAM-1.0

# Used by systemd when launching systemd user instances.

account include system-login
session include system-login
auth required pam_deny.so
password required pam_deny.so

I am using the stock Arch systemd package.




More information about the systemd-devel mailing list