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