[Bug 1295521] Re: Installing i386 and amd64 PAM stacks causes shutdown/logout/etc. to break
Steve Langasek
steve.langasek at canonical.com
Fri Mar 28 17:02:35 UTC 2014
> I had both libpam-systemd:i386 and libpam-systemd:amd64
> on my AMD64 system and this confused PAM.
That makes no sense at all. PAM does not get confused by having the
module available for multiple architectures. The amd64 libpam doesn't
even *know* that the i386 pam module is installed, because these modules
are (sensibly) each installed in architecture-specific paths which are
invisible to one another.
I don't believe that having libpam-systemd:i386 installed on your system
had anything to do with the system being broken, any more than
libsystemd-login0:i386 did.
The only thing that removing libpam-systemd:i386 from your system does
is trigger the code in the prerm:
if [ "$1" = "remove" ] ; then
pam-auth-update --package --remove systemd
fi
However, this is a *bug* in the libpam-systemd package, because as a
multiarch package, it should *not* remove the module from the config
until the package is removed for all architectures. (Cf. libpam-
cracklib's prerm in trusty.)
So instead of pam being confused by having libpam-systemd:i386
installed, you've broken your pam config by removing libpam-
systemd:i386. And in the process, you say that the system started to
work.
Without making any further changes to the packages installed, please log
out and log back in to confirm that your logind session is still in a
working state; and if it is, please attach the /etc/pam.d/common-session
from the system.
Then please run 'sudo pam-auth-update --package', log out, log back in
again, and tell us whether the suspend/reboot/shutdown options are
broken.
** Changed in: systemd (Ubuntu)
Importance: Critical => Undecided
** Changed in: systemd (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1295521
Title:
Installing i386 and amd64 PAM stacks causes shutdown/logout/etc. to
break
Status in Light Display Manager:
Invalid
Status in “systemd” package in Ubuntu:
Incomplete
Bug description:
Hi,
After I upgraded to Ubuntu Trusty, I've seen that it is no longer
possible to suspend/shutdown/restart my system from the GUI. In other
words within lightdm buttons to do so are grayed out, and within KDE
it is the same. I had the same bug in Saucy beta and the culprit was
the login component, and after its upgrade the issue was fixed.
My system :
Kubuntu 14.04 LTS AMD64
AMD Phenom 9850
8 GB RAM
NVidia GeForce 660 Ti w/ NVidia 331 driver
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: login 1:4.1.5.1-1ubuntu9
ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
Uname: Linux 3.13.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Mar 21 07:21:52 2014
ProcEnviron:
LANGUAGE=fr_FR
TERM=xterm
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: shadow
UpgradeStatus: Upgraded to trusty on 2014-03-20 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1295521/+subscriptions
More information about the foundations-bugs
mailing list