[Bug 1125637] New: sddm update always overwrites /usr/share/sddm/scripts/Xsetup
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637 Bug ID: 1125637 Summary: sddm update always overwrites /usr/share/sddm/scripts/Xsetup Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: opensuse@mike.franken.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Whenever sddm gets updated, /usr/share/sddm/scripts/Xsetup (and I believe all other files in this directory) is overwritten without leaving an rpmsave file or instead creating an rpmnew file. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637#c1
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637#c2
--- Comment #2 from Michael Hirmke
And why is that a problem?
/usr/share/sddm/scripts/Xsetup is not used at all by default (the shipped default config explicitly sets "DisplayCommand=/etc/X11/xdm/Xsetup"), and if you reconfigure sddm you can use an arbitrary location/filename anyway.
not here - in my /etc/sddm.conf no DisplayCommand line existed by default. In contrary the file was nearly empty for a longer time. But if /etc/X11/xdm/Xsetup is the way to go, I can use this one, of course. To my understanding this file was for xdm only, though. Besides that it uses the deprecated /etc/sysconfig/displaymanager. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637#c3
--- Comment #3 from Wolfgang Bauer
not here - in my /etc/sddm.conf no DisplayCommand line existed by default. In contrary the file was nearly empty for a longer time.
The default config is in /usr/lib/sddm/sddm.conf.d/00-general.conf.
But if /etc/X11/xdm/Xsetup is the way to go, I can use this one, of course. To my understanding this file was for xdm only, though.
It is used for all displaymanagers in openSUSE IIANM. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637#c4
--- Comment #4 from Wolfgang Bauer
(In reply to Michael Hirmke from comment #2)
not here - in my /etc/sddm.conf no DisplayCommand line existed by default. In contrary the file was nearly empty for a longer time.
The default config is in /usr/lib/sddm/sddm.conf.d/00-general.conf.
PS: specific config options can be overridden in /etc/sddm.conf or /etc/sddm.conf.d/, if you would want to use a different DisplayCommand script e.g. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637#c5
--- Comment #5 from Michael Hirmke
(In reply to Wolfgang Bauer from comment #3)
(In reply to Michael Hirmke from comment #2)
not here - in my /etc/sddm.conf no DisplayCommand line existed by default. In contrary the file was nearly empty for a longer time.
The default config is in /usr/lib/sddm/sddm.conf.d/00-general.conf.
PS: specific config options can be overridden in /etc/sddm.conf or /etc/sddm.conf.d/, if you would want to use a different DisplayCommand script e.g.
ok, thx for that hint. So I would use /etc/sddm.conf.d/my.conf with the desired contents, for excample DisplayCommand=/usr/local/share/sddm-Xsetup, and would do in sddm-Xsetup whatever I might need. Will that DisplayCommand variable be used additionally to or instead of the default one? And: What is the order in which these files are used? 1. /usr/lib/sddm/sddm.conf.d/00-general.conf 2. /etc/sddm.conf 3. /etc/sddm.conf.d/* ? Or the other way round? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637#c6
--- Comment #6 from Wolfgang Bauer
Will that DisplayCommand variable be used additionally to or instead of the default one?
There can only be one DisplayCommand script, i.e. if you set a different one in /etc/sddm.conf(.d/), it will be used instead of the default one.
And: What is the order in which these files are used? 1. /usr/lib/sddm/sddm.conf.d/00-general.conf 2. /etc/sddm.conf 3. /etc/sddm.conf.d/* ?
From "man sddm.conf": Configuration loads all files in the configuration directories followed by the configuration file in the order listed below with the latter having the most precedent. Changes should be made to the local configurations.
/usr/lib/sddm/sddm.conf.d System configuration directory
/etc/sddm.conf.d Local configuration directory
/etc/sddm.conf Local configuration file for compatibility
I.e. /etc/sddm.conf wins over /etc/sddm.conf.d/* (for compatibility with older versions that didn't use /etc/sddm.conf.d/ yet), and both override the default config in /usr/lib/sddm/sddm.conf.d/*. OTOH you can also modify /etc/X11/xdm/Xsetup if you want (and leave sddm's config as it is), that would work with other displaymanagers too. That one is *not* overwritten by updates, as /etc/X11/xdm/ is marked as %config in xdm.spec. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637
http://bugzilla.opensuse.org/show_bug.cgi?id=1125637#c7
Michael Hirmke
participants (1)
-
bugzilla_noreply@novell.com