Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579212 - kde-apps/kwalletd-pam-5.6.2 version bump
Summary: kde-apps/kwalletd-pam-5.6.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-07 08:47 UTC by Frank Krömmelbein
Modified: 2016-04-07 17:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2016-04-07 08:47:55 UTC
There is only a version 5.5.5 in the portage tree available, but no 5.6.x version.
I think this could solve the problem, that kwallet now asks for the password with Plasma 5.6.x after login and first use, which worked with Plasma 5.5.5 on my machine.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-04-07 08:56:35 UTC
Thanks, fixed in git.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=966de36d7155559b234f7272fd84b04360158f26
Comment 2 Frank Krömmelbein 2016-04-07 10:26:24 UTC
Thanks Michael,
But I am now not longer sure, if to update this package is correct: 

 * Detected file collision(s):
 * 
 *      /lib64/libexec/pam_kwallet_init
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * kde-plasma/kwallet-pam-5.6.2:5::gentoo
 *      /lib64/libexec/pam_kwallet_init
 * 
 * Package 'kde-apps/kwalletd-pam-5.6.2' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

equery b /lib64/libexec/pam_kwallet_init
 * Searching for /lib64/libexec/pam_kwallet_init ... 
kde-plasma/kwallet-pam-5.6.2 (/lib64/libexec/pam_kwallet_init)

In the folder /lib64/security/ now are two files:
pam_kwallet.so and pam_kwallet5.so


pam_kwallet.so ... 
kde-apps/kwalletd-pam-5.5.5 (/lib64/security/pam_kwallet.so)

pam_kwallet5.so ... 
kde-plasma/kwallet-pam-5.6.2 (/lib64/security/pam_kwallet5.so)

But this last output is wrong 
this files was updated/created yesterday evening with my Plasma only Update from 5.6.1 to 5.6.2 

ls -l /lib64/security/pam_kwallet*.so 
-rwxr-xr-x 1 root root 18056  1. Apr 16:01 /lib64/security/pam_kwallet.so
-rwxr-xr-x 1 root root 18056  6. Apr 22:40 /lib64/security/pam_kwallet5.so

Another point the freshly created pam_kwallet.so in portage tmp directory is about 4 Kb bigger than the the others.
-rwxr-xr-x 1 portage portage 22568  7. Apr 11:39 pam_kwallet.so


This could be the root cause:

eix kwallet-pam
[I] kde-plasma/kwallet-pam
     Available versions:  (5) (~)5.5.5 (~)5.6.2
       {debug}
     Installed versions:  5.6.2(5)(22:40:10 06.04.2016)(-debug)
     Homepage:            https://www.kde.org/
     Description:         KWallet PAM module to not enter password again

 eix kwalletd-pam
[U] kde-apps/kwalletd-pam
     Available versions:  (4) (~)5.5.5 (~)5.6.2
     Installed versions:  5.5.5(4)(16:01:44 01.04.2016)
     Homepage:            https://www.kde.org/
     Description:         KWallet PAM module to not enter password again

So i think, my first request for this bug was wrong, sorry for the confusing i created.
But there are now blockers for 
kde-plasma/kwallet-pam and kde-apps/kwalletd-pam necessary?
Comment 3 Till Schäfer 2016-04-07 12:57:23 UTC
I am also getting file collisions now
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-04-07 13:26:09 UTC
OK, that didn't work out as planned. It looks like we'll have to introduce a qt4 USE flag on kde-plasma/kwallet-pam instead of splitting the packages.

The bump is reverted now.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348e38f07f3dac967152edd8c168dd6ca4b5536
Comment 5 Frank Krömmelbein 2016-04-07 13:27:43 UTC
I have now uninstalled kde-apps/kwalletd-pam
and commented out the superfluous entrys in /etc/pam.d/sddm 

#-auth		optional	pam_kwallet.so kdehome=.kde4
-auth		optional	pam_kwallet5.so
#-session	optional	pam_kwallet.so
-session	optional	pam_kwallet5.so auto_start

And now after a restart, the applications that use kwallet do not ask for a password again. That had not worked for me with plasma 5.6.1 and 5.6.2, but worked last week with 5.5.5.


Thing I notice now kde-apps/kwalletd-pam is slot 4, but we have only version 5.5.5 and 5.6.2
Comment 6 Andreas Sturmlechner gentoo-dev 2016-04-07 15:41:18 UTC
See also: https://github.com/gentoo/gentoo/pull/1218
Comment 7 Frank Krömmelbein 2016-04-07 17:13:43 UTC
Problem solved. Many thanks to everyone involved!