Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3436 DNSSEC with chroot error

1.480
closed-fixed
Jamie Cameron
5
2009-07-02
2009-07-02
Anonymous
No

When signing a zone using a chrooted bind server, the key creation fails. The line 2960 of bind8-lib.pl reads "local ($pub) = &read_zone_file("$dir/$f", $dom);" The $dir/$f is the full chrooted path to the key file. However, read_zone_file then prepends another chroot path causing an issue with the file open. For example, $dir/$f equals /var/named/chroot/var/named/anykey.key, and the $rootdir variable from read_zone_file reads: /var/named/chroot/var/named/chroot/var/named/anykey.key.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2009-07-02

    • status: open --> closed-fixed
     
  • Jamie Cameron
    Jamie Cameron
    2009-07-02

    Thanks for finding this - it will be fixed in the next Webmin release.