From 61ae311eb73a17d2b7fd2966b9ca30f11c79a136d37b802dc22b4ffc42da41a3 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Tue, 8 Nov 2011 08:50:56 +0000 Subject: [PATCH] Accepting request 90115 from home:dimstar Add gdm to the video group... fixes bnc#728259... OBS-URL: https://build.opensuse.org/request/show/90115 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=193 --- gdm.changes | 8 ++++++++ gdm.spec | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gdm.changes b/gdm.changes index 89f30fa..1397033 100644 --- a/gdm.changes +++ b/gdm.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Nov 4 14:23:29 UTC 2011 - dimstar@opensuse.org + +- Make sure gdm is member of the 'video' group. This is newly + needed as gdm uses gl as well [bnc#728259]. +- Fix the scriptlet to not try to add gdm as additional group (It's + already the primary group) + ------------------------------------------------------------------- Fri Oct 14 17:12:00 CEST 2011 - sbrabec@suse.cz diff --git a/gdm.spec b/gdm.spec index 2341e7a..6b9edea 100644 --- a/gdm.spec +++ b/gdm.spec @@ -313,9 +313,9 @@ rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre /usr/sbin/groupadd -r gdm 2> /dev/null || : -/usr/sbin/useradd -r -o -g gdm -s /bin/false \ +/usr/sbin/useradd -r -o -g gdm -G video -s /bin/false \ -c "Gnome Display Manager daemon" -d /var/lib/gdm gdm 2> /dev/null || : -/usr/sbin/usermod -g gdm -G gdm -s /bin/false gdm 2> /dev/null +/usr/sbin/usermod -g gdm -G video -s /bin/false gdm 2> /dev/null # Fix incorrect interpretation of DISPLAYMANAGER_PASSWORD_LESS_LOGIN (#307566). # Last done in SLED10&10.1, first fixed in 10.3. # Can be removed after SLES12: