SHA256
1
0
forked from pool/gdm

Accepting request 90511 from GNOME:Factory

Add gdm to the video group... fixes bnc#728259...  (forwarded request 90115 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/90511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdm?expand=0&rev=132
This commit is contained in:
Stephan Kulow 2011-11-08 16:26:06 +00:00 committed by Git OBS Bridge
commit c3e5f98530
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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: