Bug 256320

Summary: krootimage opens wallpaper image files with write permission which causes SELinux to barf
Product: kdm Reporter: Peter C. Trenholme <PTrenholme>
Component: krootimageAssignee: kdm bugs tracker <kdm-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Peter C. Trenholme 2010-11-07 18:49:08 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

SELinux reports an invalid access attempt, and rejects open attempt if not in "permissive" mode

As far as I can see, there is no valid reason for the write permission request. krootimage does not change wallpaper image files.

Reproducible: Always

Steps to Reproduce:
Log in

Actual Results:  
Wallpaper displayed only if SELinux is in permissive mode

Expected Results:  
Wallpaper displayed

Open the wallpaper image file for read only.
Comment 1 Oswald Buddenhagen 2010-11-07 21:15:31 UTC
the image loading is done by Qt, so it's somewhat unlikely that there is much kde could do anything about.

you should run it through strace to get an idea which system calls exactly are executed.
Comment 2 Nate Graham 2018-04-16 20:22:52 UTC
KDM is unmaintained and not used in KDE Plasma 5.

SDDM is the login manager used in KDE Plasma 5. If you still have this same issue with SDDM, please file an issue on the SDDM bugtracker (after doing a search for existing issues first!): https://github.com/sddm/sddm/issues/