Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 946490

Summary: kde-plasma/plasma-mimeapps-list: Installs /etc/xdg/mimeapps.list/mimeapps.list - leads to: kf.config.core: Created a KConfigGroup on an inaccessible config location "/etc/xdg/mimeapps.list"
Product: Gentoo Linux Reporter: Binary Runner <rostislav.matl>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: joakim.tjernlund, kostadinshishmanov, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=948681
https://bugs.gentoo.org/show_bug.cgi?id=926412
https://bugs.gentoo.org/show_bug.cgi?id=948658
Whiteboard:
Package list:
Runtime testing required: ---

Description Binary Runner 2024-12-14 22:45:50 UTC
After fresh instalaltion and starting of KDE (Plasma 6.1.5) I found KDE spits these errors regularly:

kf.config.core: Created a KConfigGroup on an inaccessible config location "/etc/xdg/mimeapps.list" "Removed Associations"
kf.config.core: Created a KConfigGroup on an inaccessible config location "/etc/xdg/mimeapps.list" "Added KDE Service Associations"
kf.config.core: Created a KConfigGroup on an inaccessible config location "/etc/xdg/mimeapps.list" "Removed KDE Service Associations"
kf.config.core: Created a KConfigGroup on an inaccessible config location "/etc/xdg/mimeapps.list" "Default Applications"

I realized that /etc/xdg/mimeapps.list is a directory, and the file placed inside, i.e. /etc/xdg/mimeapps.list/mimeapps.list.

After moving the file to /etc/xdg/mimeapps.list instead ot the dir, the errrors disappeared.
Comment 1 Joakim Tjernlund 2025-01-23 16:25:04 UTC
Emacs also complains that /etc/xdg/mimeapps.list is a directory
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-24 01:34:13 UTC
Let me look. I forgot we hadn't fixed this.
Comment 3 Larry the Git Cow gentoo-dev 2025-01-24 03:49:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=98fe098988b15cc75fb9581b51b32d42be341096

commit 98fe098988b15cc75fb9581b51b32d42be341096
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-24 03:48:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-24 03:49:21 +0000

    kde-plasma/plasma-mimeapps-list: fix install path
    
    Closes: https://bugs.gentoo.org/946490
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{plasma-mimeapps-list-1.ebuild => plasma-mimeapps-list-2.ebuild}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Larry the Git Cow gentoo-dev 2025-01-24 03:49:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dff2fecc3f402bf0aebfa1d2d5d06745d0a47d5

commit 1dff2fecc3f402bf0aebfa1d2d5d06745d0a47d5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-24 03:48:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-24 03:48:53 +0000

    kde-plasma/plasma-mimeapps-list: fix install path
    
    Closes: https://bugs.gentoo.org/946490
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{plasma-mimeapps-list-1.ebuild => plasma-mimeapps-list-2.ebuild}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)