[Bug 302148] New: ConsoleKit fails on update (x86_64)
https://bugzilla.novell.com/show_bug.cgi?id=302148 Summary: ConsoleKit fails on update (x86_64) Product: openSUSE 10.3 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Hotplug AssignedTo: hmacht@novell.com ReportedBy: ro@novell.com QAContact: qa@suse.de CC: meissner@novell.com, kukuk@novell.com Found By: --- Subprocess failed. Error: RPM failed: ERROR: module /lib/security/pam_ck_connector.so is not installed. error: %post(ConsoleKit-0.2.1-41.x86_64) scriptlet failed, exit status 1 ConsoleKit calls pam-config in it's postinstall script: /usr/sbin/pam-config --service login -a --ck_connector as far as I can read the code in pam-config will always fail on x86_64 because it checks for both, the 32bit and the 64bit pam plugin and in the postinstall you can never expect both of them to be installed already. and btw. I though there was an agreement not to call pam-config in postinstall scripts. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=302148#c1
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148#c2
--- Comment #2 from Thorsten Kukuk
and btw. I though there was an agreement not to call pam-config in postinstall scripts.
I never heard about that, and it wouldn't make sense to me to forbid that. What should be the reason for such an agreement? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=302148#c3
--- Comment #3 from Thorsten Kukuk
Ok, so shall I interpret this one as a pam-config bug?
This is no pam-config bug, the pam-config behavior is correct, else you would break biarch systems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=302148#c4
--- Comment #4 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=302148#c5
--- Comment #5 from Thorsten Kukuk
this might make it a bit hard to call it in %post ... how do you want to guarantee that both are installed?
PreReq? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=302148#c6
--- Comment #6 from Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=302148#c7
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148#c8
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=302148#c9
Thorsten Kukuk
Thorsten, how is this fixable, then?
As written in comment #5 and #6. yes, that's ugly, but I don't know another solution, but maybe somebody else knows how to make sure, that both modules are installed before calling pam-config. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=302148#c10
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148#c11
--- Comment #11 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=302148#c12
--- Comment #12 from Thorsten Kukuk
what about not failing if the 32bit module is not present in /lib/security?
This will break 32bit applications. And on POWER, 32bit is default and it would break 64bit.
For most of the system the 64bit version is sufficient anyways. 32bit apps will magically work once the resp. 32bit module is installed.
I assume you are speaking about x86-64 vs. x86 if you write 64bit vs. 32bit, because for the other architectures it is plain wrong. POWER for example has 32bit and 64bit applications to login to the system, at the same time we would follow your suggestion, it can happen that even root is no longer able to login. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=302148#c13
Gerald Pfeifer
https://bugzilla.novell.com/show_bug.cgi?id=302148
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=302148#c14
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148#c15
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148#c16
Mark Gordon
https://bugzilla.novell.com/show_bug.cgi?id=302148#c17
--- Comment #17 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=302148#c18
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148#c19
Thorsten Kukuk
https://bugzilla.novell.com/show_bug.cgi?id=302148#c20
--- Comment #20 from Thorsten Kukuk
https://bugzilla.novell.com/show_bug.cgi?id=302148#c21
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148#c22
--- Comment #22 from Thorsten Kukuk
https://bugzilla.novell.com/show_bug.cgi?id=302148#c23
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=302148#c24
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148#c25
--- Comment #25 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=302148#c26
--- Comment #26 from Thorsten Kukuk
So I'm going to drop all the Prereqs from the package specfile.
Not all, only PPC! The x86-64 and s390x ones are correct and necessary.
Is there anything to change in pam-config, then? So that it doesn't require both 32 and 64 bit libraries?
See comment #20. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=302148#c27
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=302148#c28
--- Comment #28 from Holger Macht
There's already a 'PreReq: pam-config >= 0.22'. Please ignore, this belongs to another bug.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com