Bug 112958 - Type in /etc/init.d/kadmin
Type in /etc/init.d/kadmin
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: krb5 (Show other bugs)
3.0
All Linux
medium Severity low
: ---
: ---
Assigned To: Nalin Dahyabhai
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-01-06 12:47 EST by Ryan Dooley
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-01-06 15:14:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ryan Dooley 2004-01-06 12:47:39 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Gecko/20031107 Epiphany/1.0.6

Description of problem:
In /etc/init.d/kadmin, there is a typo on line 31.

It reads:

if [-f /var/kerberos/krb5kdc/kpropd.acl ] ; then

Where it should read

if [ ! -f /var/kerberos/krb5kdc/kpropd.acl ] ; then


Version-Release number of selected component (if applicable):
1.2.7-19

How reproducible:
Always

Steps to Reproduce:
1. Install krb5-server-1.2.7-19
2. vi /etc/init.d/kadmin

    

Additional info:
Comment 1 Nalin Dahyabhai 2004-01-06 15:00:39 EST
Could you please elaborate on this?  Kadmind should only be run on
your master KDC, and kpropd only on slaves, so reversing this check
doesn't make sense to me.
Comment 2 Ryan Dooley 2004-01-06 15:12:50 EST
You know what... you're right.   I accidentallycopied a template
kpropd.acl from a slave for reference.  Apparently I've been up a
little late.  Sorry for the ticket.
Comment 3 Nalin Dahyabhai 2004-01-06 15:14:55 EST
No problem, closing.

Note You need to log in before you can comment on or make changes to this bug.