Mageia Bugzilla – Attachment 2476 Details for
Bug 6469
krb5 new security issue CVE-2012-1013
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch to fix kadmin startup script
kadmin.patch (text/plain), 784 bytes, created by
Dave Hodgins
on 2012-06-20 03:39:53 CEST
(
hide
)
Description:
Patch to fix kadmin startup script
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2012-06-20 03:39:53 CEST
Size:
784 bytes
patch
obsolete
>--- /etc/rc.d/init.d/kadmin.original 2012-06-15 15:01:53.000000000 -0400 >+++ /etc/rc.d/init.d/kadmin 2012-06-19 21:18:53.623373915 -0400 >@@ -39,7 +39,7 @@ > > # Shell functions to cut down on useless shell instances. > start() { >- if [ ! -f /var/kerberos/krb5kdc/principal ] ; then >+ if [ ! -f /etc/kerberos/krb5kdc/principal ] ; then > # Make an educated guess -- if they're using kldap somewhere, > # then we don't know for sure that this is an error. > if ! grep -q 'db_library.*=.*kldap' /etc/krb5.conf ; then >@@ -47,7 +47,7 @@ > exit 1 > fi > fi >- if [ -f /var/kerberos/krb5kdc/kpropd.acl ] ; then >+ if [ -f /etc/kerberos/krb5kdc/kpropd.acl ] ; then > gprintf "Error. This appears to be a slave server, found kpropd.acl\n" > exit 6 > else
--- /etc/rc.d/init.d/kadmin.original 2012-06-15 15:01:53.000000000 -0400 +++ /etc/rc.d/init.d/kadmin 2012-06-19 21:18:53.623373915 -0400 @@ -39,7 +39,7 @@ # Shell functions to cut down on useless shell instances. start() { - if [ ! -f /var/kerberos/krb5kdc/principal ] ; then + if [ ! -f /etc/kerberos/krb5kdc/principal ] ; then # Make an educated guess -- if they're using kldap somewhere, # then we don't know for sure that this is an error. if ! grep -q 'db_library.*=.*kldap' /etc/krb5.conf ; then @@ -47,7 +47,7 @@ exit 1 fi fi - if [ -f /var/kerberos/krb5kdc/kpropd.acl ] ; then + if [ -f /etc/kerberos/krb5kdc/kpropd.acl ] ; then gprintf "Error. This appears to be a slave server, found kpropd.acl\n" exit 6 else
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 6469
: 2476 |
2478
|
2526