[Bug 688464] [NEW] Wrong default path for kpropd.acl in kpropd man page

2010-12-10 Thread Hugh Saunders
Public bug reported:

--Ubuntu Release: 8.04 Hardy
--Package Version:
krb5-kdc:
  Installed: 1.6.dfsg.3~beta1-2ubuntu1.5
  Candidate: 1.6.dfsg.3~beta1-2ubuntu1.5
  Version table:
 *** 1.6.dfsg.3~beta1-2ubuntu1.5 0
500 http://gb.archive.ubuntu.com hardy-updates/universe Packages
500 http://security.ubuntu.com hardy-security/universe Packages
100 /var/lib/dpkg/status
 1.6.dfsg.3~beta1-2ubuntu1 0
500 http://gb.archive.ubuntu.com hardy/universe Packages

--What happened: 
There is a discrepancy between the default location of kpropd.acl specified in 
the kpropd man page, and the actual default location that the program reads. 

from the man page for kpropd:

FILES
   kpropd.acl  Access file for kpropd; the default  location  is  
KPROPD_ACL_FILE  (normally
   /usr/local/var/krb5kdc/kpropd.acl).   Each  entry  is  a  
line containing the
   principal of a host from which the local machine will allow 
Kerberos database
   propagation via kprop.


Strace shows that kpropd is actually looking for the file in /etc/krb5kdc/: 

r...@tribble:/etc/xinetd.d# strace -F kpropd -Sd  21 |grep 'open.*acl'
open(/etc/krb5kdc/kpropd.acl, O_RDONLY) = -1 ENOENT (No such file or 
directory)

--What I expected to happen:
The man page and the program agree.

** Affects: krb5 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in ubuntu.
https://bugs.launchpad.net/bugs/688464

Title:
  Wrong default path for kpropd.acl in kpropd man page

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 688464] [NEW] Wrong default path for kpropd.acl in kpropd man page

2010-12-10 Thread Sam Hartman
This bug also exists in Debian; here's a patch I'll upload in a future
Debian krb5 version that will eventually make its way into Ubuntu.


** Patch added: 
0001-Fix-default-location-of-kpropd.acl-in-kpropd.M-LP-68.patch
   
https://bugs.launchpad.net/bugs/688464/+attachment/1761750/+files/0001-Fix-default-location-of-kpropd.acl-in-kpropd.M-LP-68.patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in ubuntu.
https://bugs.launchpad.net/bugs/688464

Title:
  Wrong default path for kpropd.acl in kpropd man page

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 688464] [NEW] Wrong default path for kpropd.acl in kpropd man page

2010-12-10 Thread Hugh Saunders
Public bug reported:

--Ubuntu Release: 8.04 Hardy
--Package Version:
krb5-kdc:
  Installed: 1.6.dfsg.3~beta1-2ubuntu1.5
  Candidate: 1.6.dfsg.3~beta1-2ubuntu1.5
  Version table:
 *** 1.6.dfsg.3~beta1-2ubuntu1.5 0
500 http://gb.archive.ubuntu.com hardy-updates/universe Packages
500 http://security.ubuntu.com hardy-security/universe Packages
100 /var/lib/dpkg/status
 1.6.dfsg.3~beta1-2ubuntu1 0
500 http://gb.archive.ubuntu.com hardy/universe Packages

--What happened: 
There is a discrepancy between the default location of kpropd.acl specified in 
the kpropd man page, and the actual default location that the program reads. 

from the man page for kpropd:

FILES
   kpropd.acl  Access file for kpropd; the default  location  is  
KPROPD_ACL_FILE  (normally
   /usr/local/var/krb5kdc/kpropd.acl).   Each  entry  is  a  
line containing the
   principal of a host from which the local machine will allow 
Kerberos database
   propagation via kprop.


Strace shows that kpropd is actually looking for the file in /etc/krb5kdc/: 

r...@tribble:/etc/xinetd.d# strace -F kpropd -Sd  21 |grep 'open.*acl'
open(/etc/krb5kdc/kpropd.acl, O_RDONLY) = -1 ENOENT (No such file or 
directory)

--What I expected to happen:
The man page and the program agree.

** Affects: krb5 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/688464

Title:
  Wrong default path for kpropd.acl in kpropd man page

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 688464] [NEW] Wrong default path for kpropd.acl in kpropd man page

2010-12-10 Thread Sam Hartman
This bug also exists in Debian; here's a patch I'll upload in a future
Debian krb5 version that will eventually make its way into Ubuntu.


** Patch added: 
0001-Fix-default-location-of-kpropd.acl-in-kpropd.M-LP-68.patch
   
https://bugs.launchpad.net/bugs/688464/+attachment/1761750/+files/0001-Fix-default-location-of-kpropd.acl-in-kpropd.M-LP-68.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/688464

Title:
  Wrong default path for kpropd.acl in kpropd man page

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs