Bug 31471 - sddm: wrong permission on /var/lib/sddm directory
Summary: sddm: wrong permission on /var/lib/sddm directory
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-29 13:22 CET by Aurelian R
Modified: 2023-05-30 20:20 CEST (History)
2 users (show)

See Also:
Source RPM: sddm-0.19.0-16.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Aurelian R 2023-01-29 13:22:51 CET
Description of problem:
While performing a clean install of Mageia 9(cauldron), KDE Plasma DE, using netinstall iso, I run into issues with sddm display manager, basically no graphical interface.
The journalctl messages:

"
systemd[1972]: Failed to open configuration file '/var/lib/sddm/.config/systemd/user.conf': Permission denied
sddm-helper[1985]: chdir( /var/lib/sddm ) failed for user:  "sddm"
sddm-helper[1985]: verify directory exist and has sufficient permissions
"
led to a simple workaround.

Version-Release number of selected component (if applicable):
sddm-0.19.0-16.mga9

How reproducible:
once 

Steps to Reproduce:
1. Clean install of mageia 9, Plasma DE, using netinstall-cauldron iso
2. Rebooting after install and subsequent reboots end up with a blank screen

Warkaround:
After reboot, open a terminal(press Ctlr+Alt+F2) and log in as root 
Fix permissions: "chown sddm:sddm /var/lib/sddm"
reboot or log out from terminal, switch to tty1(Ctlr+Alt+F1) then press Ctlr+Alt+Back (2 times)

Regards.
Comment 1 Jani Välimaa 2023-01-29 17:25:12 CET
Can't reproduce this. /var/lib/sddm/ permission is correctly 0700 for sddm:sddm after the pkg install.

Can you redo the install and check the owner and permissions before chown?
Comment 2 Aurelian R 2023-01-29 17:44:46 CET
Unfortunately cannot do it again, it's an old laptop with some troubling power connection and not mine to mess with it. On the other hand, everything else looked and worked fine.
I remember that the ownership  of /var/lib/sddm was set to root:root not sddm:sddm.
Does seem to be an odd bug, hence me posting it.
Cheers
Marja Van Waes 2023-02-04 22:53:49 CET

Ever confirmed: 1 => 0
Status: NEW => UNCONFIRMED
CC: (none) => marja11

Comment 3 Lewis Smith 2023-05-30 20:20:50 CEST
$ ls -ld /var/lib/sddm/
drwx------ 4 sddm sddm 4096 Maw   6 21:10 /var/lib/sddm/

Closing.

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => WORKSFORME
CC: (none) => lewyssmith


Note You need to log in before you can comment on or make changes to this bug.