Bug 419218

Summary: SDDM fails to read /etc/sddm.conf as well as /etc/sddm.conf.d/XXX
Product: [I don't know] kde Reporter: Josef Wolf <jw>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED MOVED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Josef Wolf 2020-03-25 09:46:04 UTC
To prevent powering down the machine by accident, I have put following contents to /etc/sddm.conf and to /etc/sddm.conf.d/01-my-config:

   [General]
   HaltCommand=/bin/false
   RebootCommand=/bin/false

Those files are set to mode 0644 and the directories are set to mode 0755, so there should be no permission problems.

But "sddm --example-config" still gives:

   [General]
   # Halt command
   HaltCommand=/usr/bin/systemctl poweroff
   
   # Input method module
   InputMethod=qtvirtualkeyboard
   
   # Comma-separated list of Linux namespaces for user session to enter
   Namespaces=
   
   # Initial NumLock state. Can be on, off or none.
   # If property is set to none, numlock won't be changed
   # NOTE: Currently ignored if autologin is enabled.
   Numlock=none
   
   # Reboot command
   RebootCommand=/usr/bin/systemctl reboot

This is on opensuse Leap.15.1, which contains sddm-0.18.0-lp151.3.3.1.x86_64
Comment 1 Christoph Feck 2020-04-15 07:33:13 UTC
Please report SDDM issues directly to SDDM developers via https://github.com/sddm/sddm/issues