[arch-commits] Commit in pam/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat Nov 14 14:20:30 UTC 2015
Date: Saturday, November 14, 2015 @ 15:20:30
Author: foutrelis
Revision: 251032
upgpkg: pam 1.2.1-3
Remove audio-related config from /etc/security/limits.conf (FS#47052).
The JACK packages already ship relevant rules under /etc/security/limits.d
and this configuration was breaking sudo in Docker containers (and possibly
other container-based virtualization systems).
Modified:
pam/trunk/PKGBUILD
----------+
PKGBUILD | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-14 14:07:38 UTC (rev 251031)
+++ PKGBUILD 2015-11-14 14:20:30 UTC (rev 251032)
@@ -4,7 +4,7 @@
pkgname=pam
pkgver=1.2.1
-pkgrel=2
+pkgrel=3
pkgdesc="PAM (Pluggable Authentication Modules) library"
arch=('i686' 'x86_64')
license=('GPL2')
@@ -53,16 +53,6 @@
cd $srcdir/pam_unix2-2.9.1
make DESTDIR=$pkgdir install
- # add the realtime permissions for audio users
- sed -i 's|# End of file||' $pkgdir/etc/security/limits.conf
- cat >>$pkgdir/etc/security/limits.conf <<_EOT
-* - rtprio 0
-* - nice 0
- at audio - rtprio 65
- at audio - nice -10
- at audio - memlock 40000
-_EOT
-
# fix some missing symlinks from old pam for compatibility
cd $pkgdir/usr/lib/security
ln -s pam_unix.so pam_unix_acct.so
More information about the arch-commits
mailing list