gdm: gdm-welcome (optionally) should run pam_systemd.so if found, this fixes ACLs with systemd.

This commit is contained in:
Juan RP 2011-10-11 15:08:14 +02:00
parent e3b05fcc03
commit 1fcb9b8dd2
3 changed files with 2 additions and 7 deletions

View File

@ -10,10 +10,5 @@ post)
[ ! -d var/cache/gdm ] && mkdir -p var/cache/gdm [ ! -d var/cache/gdm ] && mkdir -p var/cache/gdm
chown gdm:gdm var/lib/gdm > /dev/null chown gdm:gdm var/lib/gdm > /dev/null
chown -R gdm:gdm var/lib/gdm/.gconf.mandatory chown -R gdm:gdm var/lib/gdm/.gconf.mandatory
# Check that gdm user also is in the video group.
if groups gdm|grep -vq video; then
usermod -a -G video gdm
echo "Added gdm user to the system video group."
fi
;; ;;
esac esac

View File

@ -8,4 +8,5 @@ account required pam_unix.so
password required pam_deny.so password required pam_deny.so
session required pam_loginuid.so session required pam_loginuid.so
-session optional pam_systemd.so
session optional pam_keyinit.so force revoke session optional pam_keyinit.so force revoke

View File

@ -1,7 +1,7 @@
# Template file for 'gdm' # Template file for 'gdm'
pkgname=gdm pkgname=gdm
version=3.2.0 version=3.2.0
revision=2 revision=3
distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz" distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz"
build_style=gnu_configure build_style=gnu_configure
configure_args="--disable-schemas-install --disable-scrollkeeper configure_args="--disable-schemas-install --disable-scrollkeeper
@ -44,7 +44,6 @@ gtk_iconcache_dirs="/usr/share/icons/hicolor"
# Create the 'gdm' system user/group. # Create the 'gdm' system user/group.
system_accounts="gdm" system_accounts="gdm"
gdm_homedir="/var/lib/gdm" gdm_homedir="/var/lib/gdm"
gdm_groups="video"
systemd_services="gdm.service" systemd_services="gdm.service"
Add_dependency run glibc Add_dependency run glibc