[opensuse-factory] be warned about xdm from http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Tumbleweed
hi all, please be warnedabout the Xorg repo http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Tumbleweed in this repo the xdm package already uses the new scheme of moving files from /etc to /usr/etc so xdm now places many files in /usr/etc/X11/xdm and not anymore in /etc/X11/xdm but, for example, sddm still references files from xdm from folder /etc/X11/xdm. for example, in file /usr/lib/sddm/sddm.conf.d/00-general.conf you will see the following lines: SessionCommand=/etc/X11/xdm/Xsession DisplayCommand=/etc/X11/xdm/Xsetup which results in a system, where you can't login any more. changing these 2 lines fixes the issue. -- Best Regards | Freundliche Grüße | Cordialement | Cordiali Saluti | Atenciosamente | Saludos Cordiales *DI Rainer Klier* DevOps, Research & Development -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Sep 07, 2020 at 05:27:37PM +0200, Rainer Klier wrote:
hi all,
please be warnedabout the Xorg repo http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Tumbleweed
in this repo the xdm package already uses the new scheme of moving files from /etc to /usr/etc
so xdm now places many files in /usr/etc/X11/xdm and not anymore in /etc/X11/xdm
but, for example, sddm still references files from xdm from folder /etc/X11/xdm.
for example, in file /usr/lib/sddm/sddm.conf.d/00-general.conf you will see the following lines:
SessionCommand=/etc/X11/xdm/Xsession DisplayCommand=/etc/X11/xdm/Xsetup
which results in a system, where you can't login any more.
changing these 2 lines fixes the issue.
The issue is now tracked in https://bugzilla.opensuse.org/show_bug.cgi?id=1176212 Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ---------------------------------------------------------------- (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer ---------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Moin, Am Montag, 7. September 2020, 17:27:37 CEST schrieb Rainer Klier:
hi all,
please be warnedabout the Xorg repo http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Tumbleweed
in this repo the xdm package already uses the new scheme of moving files from /etc to /usr/etc
so xdm now places many files in /usr/etc/X11/xdm and not anymore in /etc/X11/xdm
/usr/etc is a location for distro provided config files. This config can be overwritten by placing files in /etc, which take precedence. Looking at xdm, /etc/X11/xdm mostly contains executable scripts, called by xdm itself and some other programs outside. Moving those into /usr/etc makes only sense if the scripts are configuration files and supposed to be edited by the admin. Additionally, changes in /etc/ need to be respected to make the move useful. AFAICT, neither of that is the case, so /usr/etc is the wrong location for those. What about %{_libexecdir}? Ideally, there are some compat scripts or symlinks in /etc for the time being so that there can be a smooth migration. This is necessary to avoid that packages in devel projects (which can't assume any particular version of xdm) just break. There are two candidates for /usr/etc migration in the xdm package: /etc/X11/xdm/scripts/* /etc/pam.d/xdm/* Whatever reads and processes the scripts directory should read both /usr/etc/X11/xdm/scripts/ and /etc/X11/xdm/scripts/, ignoring overwritten files like https://en.opensuse.org/openSUSE:Packaging_UsrEtc#Variant_3. For xinit it's a similar story. Cheers, Fabian
but, for example, sddm still references files from xdm from folder /etc/X11/xdm.
for example, in file /usr/lib/sddm/sddm.conf.d/00-general.conf you will see the following lines:
SessionCommand=/etc/X11/xdm/Xsession DisplayCommand=/etc/X11/xdm/Xsetup
which results in a system, where you can't login any more.
changing these 2 lines fixes the issue.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Fabian Vogt
-
Rainer Klier
-
Stefan Dirsch