Hello community, here is the log from the commit of package xdm for openSUSE:Factory checked in at 2015-10-22 12:57:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xdm (Old) and /work/SRC/openSUSE:Factory/.xdm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "xdm" Changes: -------- --- /work/SRC/openSUSE:Factory/xdm/xdm.changes 2015-10-03 20:29:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xdm.new/xdm.changes 2015-10-22 12:57:32.000000000 +0200 @@ -1,0 +2,10 @@ +Wed Oct 7 07:25:37 UTC 2015 - dimstar@opensuse.org + +- Fix display-manager wrapper: only call TakeDevices in case $DM + actually fails to start. This was the reason why gdm often failed + to start with permission denied (depending on timing, gdm might + fired up X before TakeDevices passed, X would receive the tty7 + by means of logind and TakeDevices reset the permissions again) + (boo#939594). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xdm.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/usr/lib/X11/display-manager new/usr/lib/X11/display-manager --- old/usr/lib/X11/display-manager 2015-07-31 12:34:37.000000000 +0200 +++ new/usr/lib/X11/display-manager 2015-10-07 09:25:18.000000000 +0200 @@ -183,16 +183,18 @@ fi fi startproc -p $PIDFILE $DISPLAYMANAGER $XDMOPTIONS || rc_failed - # After a crash or a kill signal we may have - # a wrong ownership of /dev/xconsole if rc_status ; then + # when started up successfuly, use DMs PID file as ours + ln -snf $PIDFILE $PIDFILELNK + else + # After a crash or a kill signal we may have + # a wrong ownership of /dev/xconsole if test -x $DMDIR/TakeDevices ; then $DMDIR/TakeDevices else chown root:tty /dev/xconsole /dev/tty0 chmod 622 /dev/xconsole /dev/tty0 fi - ln -snf $PIDFILE $PIDFILELNK fi rc_status -v ;;