Bug 419218 - SDDM fails to read /etc/sddm.conf as well as /etc/sddm.conf.d/XXX
Summary: SDDM fails to read /etc/sddm.conf as well as /etc/sddm.conf.d/XXX
Status: RESOLVED MOVED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-25 09:46 UTC by Josef Wolf
Modified: 2020-04-15 07:33 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 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