Bug 432164 - Systemd startup: auto unlock no longer works
Summary: Systemd startup: auto unlock no longer works
Status: RESOLVED WORKSFORME
Alias: None
Product: kwallet-pam
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.20.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-26 15:11 UTC by Seqularise
Modified: 2021-02-27 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seqularise 2021-01-26 15:11:07 UTC
SUMMARY
after enabling new startup system and relogin, i`m greeted with kwallet window asking for password
STEPS TO REPRODUCE
1. install plasma 5.20.90
2. relogin

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 David Edmundson 2021-01-26 15:35:16 UTC
Can I see output of:
systemctl --user show xdg-desktop-autostart.target    

Are you using distro packages or KDE in a prefix?
Comment 2 Seqularise 2021-01-26 15:37:45 UTC
https://pastebin.com/DPbMNABZ
distro packages
Comment 3 David Edmundson 2021-01-26 15:42:40 UTC
Wants = pam_kwallet_init-autostart.service 

So that part worked.

And it shows that this target is active, so it should have loaded.

Can I see:

systemctl --user show pam_kwallet_init-autostart.service
Comment 4 Seqularise 2021-01-26 15:46:02 UTC
https://pastebin.com/NR0Mq9jp
LoadError=org.freedesktop.systemd1.NoSuchUnit "Unit pam_kwallet_init-autostart.service not found."
Comment 5 Seqularise 2021-01-26 15:54:50 UTC
seqularise@desktop ~ (master)> pkgfile -l kwallet-pam
kde-unstable/kwallet-pam        /etc/
kde-unstable/kwallet-pam        /etc/xdg/
kde-unstable/kwallet-pam        /etc/xdg/autostart/
kde-unstable/kwallet-pam        /etc/xdg/autostart/pam_kwallet_init.desktop
kde-unstable/kwallet-pam        /usr/
kde-unstable/kwallet-pam        /usr/lib/
kde-unstable/kwallet-pam        /usr/lib/pam_kwallet_init
kde-unstable/kwallet-pam        /usr/lib/security/
kde-unstable/kwallet-pam        /usr/lib/security/pam_kwallet5.so

This is the list of files in kwallet-pam package
Comment 6 David Edmundson 2021-01-26 15:56:05 UTC
My bad, I needed: app-pam_kwallet_init-autostart.service
Comment 7 David Edmundson 2021-01-26 15:56:50 UTC
There isn't a specific systemd unit file shipped here, but in theory the systemd-xdg-autostart-generator  will take the .desktop file you see listed and turn it into a transient service
Comment 8 Seqularise 2021-01-26 15:58:40 UTC
systemctl --user show app-pam_kwallet_init-autostart.service
https://pastebin.com/fDazgFsT
Comment 9 Seqularise 2021-01-28 16:33:00 UTC
This bug is wayland only
Comment 10 Rex Dieter 2021-01-28 21:24:49 UTC
I cannot reproduce this on fedora 33 + plasma-5.20.90

After login to wayland session, kwalletmanager reports default wallet open at least
Comment 11 Bug Janitor Service 2021-02-12 04:33:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Bug Janitor Service 2021-02-27 04:33:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!