fix keyutils

This commit is contained in:
WarheadsSE 2013-11-01 12:24:54 -04:00
parent 8351d2f5b4
commit 52fa0a1117
2 changed files with 22 additions and 1 deletions

View file

@ -15,7 +15,7 @@ license=('GPL2' 'LGPL2.1')
depends=('glibc' 'sh')
backup=('etc/request-key.conf')
source=(http://people.redhat.com/~dhowells/${pkgname}/${pkgname}-${pkgver}.tar.bz2
request-kVey.conf.patch)
request-key.conf.patch)
md5sums=('3c7f463039b83833c12a9414c2fcb389'
'89a819a7e4e90936b210c9d5020d296d')

View file

@ -0,0 +1,21 @@
--- request-key.conf.old 2013-05-28 15:34:10.966001242 +0200
+++ request-key.conf 2013-05-28 15:35:34.857969598 +0200
@@ -31,11 +31,11 @@
#OP TYPE DESCRIPTION CALLOUT INFO PROGRAM ARG1 ARG2 ARG3 ...
#====== ======= =============== =============== ===============================
-create dns_resolver * * /sbin/key.dns_resolver %k
-create user debug:* negate /bin/keyctl negate %k 30 %S
-create user debug:* rejected /bin/keyctl reject %k 30 %c %S
-create user debug:* expired /bin/keyctl reject %k 30 %c %S
-create user debug:* revoked /bin/keyctl reject %k 30 %c %S
-create user debug:loop:* * |/bin/cat
+create dns_resolver * * /usr/bin/key.dns_resolver %k
+create user debug:* negate /usr/bin/keyctl negate %k 30 %S
+create user debug:* rejected /usr/bin/keyctl reject %k 30 %c %S
+create user debug:* expired /usr/bin/keyctl reject %k 30 %c %S
+create user debug:* revoked /usr/bin/keyctl reject %k 30 %c %S
+create user debug:loop:* * |/usr/bin/cat
create user debug:* * /usr/share/keyutils/request-key-debug.sh %k %d %c %S
-negate * * * /bin/keyctl negate %k 30 %S
+negate * * * /usr/bin/keyctl negate %k 30 %S