Bug 421178

Summary: kwalletmanager cannot be started by systemsettings/account details/launch
Product: [Applications] kwalletmanager Reporter: slartibart70
Component: generalAssignee: Pino Toscano <pino>
Status: RESOLVED FIXED    
Severity: normal CC: pino, plasma-bugs, zawertun
Priority: NOR    
Version: 20.04   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 20.04.3
Attachments: kwalletmanager-20.04.2-kwalletmanager5-not-starting.patch

Description slartibart70 2020-05-08 07:55:30 UTC
Hi,
i'm using the plasma 5.18.5 and i cannot access the kwallet manager any more using the systemsettings5 panels.
Click on 'account details', select 'kde wallet', click on button 'launch wallet manager'.... nothing happens.

I was using strace to get some addittional info for systemsettings, there it shows:

statx(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/kcm_kwallet5", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9c90) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/kcm_kwallet5.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9c90) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/libkcm_kwallet5", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9c90) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/libkcm_kwallet5.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9c90) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/bin/kcms/kcm_kwallet5", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9c90) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/bin/kcms/kcm_kwallet5.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9c90) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/bin/kcms/libkcm_kwallet5", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9c90) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/bin/kcms/libkcm_kwallet5.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9c90) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=20480, ...}) = 0
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9cb0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9cb0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/lib.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9cb0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/bin/", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0555, stx_size=69632, ...}) = 0
statx(AT_FDCWD, "/usr/bin/.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9cb0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/bin/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9cb0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/bin/lib.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffc337c9cb0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/tty", O_RDONLY|O_CLOEXEC) = 14
close(14)                               = 0
write(2, "Couldn't load plugin: \"The share"..., 58Couldn't load plugin: "The shared library was not found."
) = 58

so.. some lib is missing, it seems?
Although, i have this lib in 
/usr/lib64/qt5/plugins/kcm_kwallet5.so
but not in any of those above search paths.

I can still run kwalletmanager5 directly from commandline without any problem
Comment 1 slartibart70 2020-06-16 23:05:16 UTC
this bug is still there in plasma 5.19.1
Comment 2 Yaroslav Sidlovsky 2020-06-18 12:52:02 UTC
TLDR: kwalletconfig5 tries to start process named "kwalletmanager5 --show" instead of correct name "kwalletmanager5".
Comment 3 Yaroslav Sidlovsky 2020-06-18 12:53:09 UTC
Created attachment 129472 [details]
kwalletmanager-20.04.2-kwalletmanager5-not-starting.patch

Here is a patch.
Comment 4 Yaroslav Sidlovsky 2020-06-18 13:00:49 UTC
https://phabricator.kde.org/D29857
Comment 5 Pino Toscano 2020-06-19 08:55:05 UTC
I fixed it few days ago with commit
https://commits.kde.org/kwalletmanager/9cf4ab73cd9b6eb38ddf8f55dca797510de513f0
which will be in kwalletmanager >= 20.04.3.

Sorry for noticing this bug earlier.
Comment 6 Pino Toscano 2020-06-19 09:02:01 UTC
> this bug is still there in plasma 5.19.1

Note that this is in kwalletmanager, which is released as part of the quarterly release service. Hence, any update of Plasma will not change the status.

You need kwalletmanager 20.04.3 (or greater), will be released in 3 weeks.