Bug 256320 - krootimage opens wallpaper image files with write permission which causes SELinux to barf
Summary: krootimage opens wallpaper image files with write permission which causes SEL...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdm
Classification: Miscellaneous
Component: krootimage (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-07 18:49 UTC by Peter C. Trenholme
Modified: 2018-04-16 20:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/