On Mon, 2012-04-09 at 22:07 +0200, Michael Biebl wrote:
> On 04.04.2012 12:43, Sven Joachim wrote:
> > Package: systemd
> > Version: 44-1
> > Severity: grave
> > 
> > After upgrading from 37-1.1, many commands fail with error codes 143 or
> > 129 under sudo, including "sudo bash" or "sudo passwd root", meaning
> > that the problem cannot easily be rectified or circumvented if root
> > logins are disabled.  Hence, I'm filing this at RC severity, feel free
> > to downgrade if you cannot reproduce the problem.
> 
> I think I've found something.
> 
> This bug seems to happen only if if you use libpam-systemd.
> 
> The reason why I didn't encounter this myself is because I've added
> pam_loginuid.so to my login and gdm3* pam config locally.
> 
> Could you please update the pam configuration of login and/or the login
> manager you are using and include pam_loginuid *before* @include
> common-session. In my case I've changed /etc/pam.d/login and
> /etc/pam.d/gdm3* and added a line
>  session required        pam_loginuid.so
> just before
>  @include common-session
> 
> I'm interested to know if that fixes the problem for you, too.
> 
> 
> Cheers,
> Michael

I added pam_loginuid.so to common-session-noninteractive before
pam_systemd.so and it appears to work around the bug.

Regards,

-- 
Sam Morris <s...@robots.org.uk>




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to