Hi Dominique, * Dominique Leuenberger a.k.a. Dimstar <dimstar@opensuse.org> [2014-07-24 11:06]:
Quoting Guido Berhoerster <gber@opensuse.org>:
* Stefan Seyfried <stefan.seyfried@googlemail.com> [2014-07-23 21:01]:
lightdm does not start; switched back to gdm in
Fix: ln -sf /etc/alternatives/lightdm-default-greeter.desktop /usr/share/xgreeters/lightdm-default-greeter.desktop
I'm currently trying to figure out why update-alternatives turns the packaged symlink into an empty file.
Guido,
RPMLint might have the hints for you:
[ 209s] RPMLINT report: [ 209s] =============== [ 212s] lightdm-gtk-greeter.x86_64: W: suse-alternative-generic-name-not-symlink /usr/share/xgreeters/lightdm-defaul t-greeter.desktop [ 212s] The update-alternative generic-name is not a symlink pointing to [ 212s] %{_sysconfdir}/alternatives/$(basename generic-name). [ 212s] [ 212s] lightdm-gtk-greeter.x86_64: W: no-manual-page-for-binary lightdm-gtk-greeter
thanks for the pointer, but actually it is a symlink: $ rpm2cpio lightdm-gtk-greeter-1.3.1-30.2.x86_64.rpm | cpio -ivt | grep lightdm-default-greeter 191 blocks lrwxrwxrwx 1 root root 49 Apr 8 23:15 ./usr/share/xgreeters/lightdm-default-greeter.desktop -> /etc/alternatives/lightdm-default-greeter.desktop The only change I made was to pre-create the symlink rather than simply ghosting it: https://build.opensuse.org/package/rdiff/X11:Utilities/lightdm-gtk-greeter?linkrev=base&rev=18
Please see http://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines on the proper usage of update-alternatives.
Hmm, I think that's pretty much what I do, I must be overlooking something... -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org