Summary: | kmail akonadi fails to access kwallet and kio due to SELinux | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Christian Hacker <sw4> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | REPORTED --- | ||
Severity: | major | CC: | mk.mateng |
Priority: | NOR | ||
Version First Reported In: | 6.5.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | screenshot Kde Wallet Manager gui |
Description
Christian Hacker
2025-08-21 17:13:02 UTC
(In reply to Christian Hacker from comment #0) > Kmail: Could not read the password: user rejected wallet access Check your allow/deny lists in KWalletManager. Might also be related to bug 506158, though less likely. Created attachment 184411 [details]
screenshot Kde Wallet Manager gui
(In reply to michaelk83 from comment #1) 2025-08-24c Thank you for the hints. Yes, Opensuse enforces SELinux now. The following solved this problem for me at this time: openSUSE Tumbleweed 20250820 kwalletd6 6.17.0-1.1 chris@suse8:~/tmp $> restorecon -rFv /home/chris Relabeled /home/chris from system_u:object_r:user_home_dir_t:s0 to unconfined_u:object_r:user_home_dir_t:s0 ... Relabeled /home/chris/.local/share/kwalletd from system_u:object_r:data_home_t:s0 to unconfined_u:object_r:data_home_t:s0 Kmail akonadi wallet access does function ok here now. I am uncertain about what the design target should be for the selinux security labels. Regarding the Kde Wallet Manager gui, is it possible that the internal application state is inconsistent? The gui says for each configured wallet that it is currently closed. But in the Plasma Panel, the active application icon message says "A wallet is open". The User did open the default wallet via the gui at login time. The wallet close behavior is configured to be "when last application stops using it", and "when screensaver starts", only. So, the gui should display and handle the default wallet as "open". See the attached image. Bye (In reply to Christian Hacker from comment #3) The "closed" wallets may be related to bug 459287. I don't know if KWallet can do anything about SELinux on its end. I think that's up to user configuration. Maybe just add it to a readme somewhere. |