Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23268 - [bind] DNS (named) version 9.8.0-1 won't start in chrooted environment

Attached to Project: Arch Linux
Opened by staskorz (staskorz) - Monday, 14 March 2011, 10:58 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 16 March 2011, 10:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Kevin Piche (kpiche)
Gaetan Bisson (vesath)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

BIND DNS (named) version 9.8.0-1 won't start in chrooted environment

Additional info:
* package version(s): bind 9.8.0-1 (x64)
* command: /usr/sbin/named -u named -t /chroot/named
* error message: initializing DST: openssl failure
exiting (due to fatal error)

Might be similar to the following Gentoo bug: http://bugs.gentoo.org/show_bug.cgi?id=356519

Steps to reproduce:

1. Try to run a chrooted named using the following command:

http://bugs.gentoo.org/show_bug.cgi?id=356519
This task depends upon

Closed by  Gaetan Bisson (vesath)
Wednesday, 16 March 2011, 10:10 GMT
Reason for closing:  Not a bug
Comment by staskorz (staskorz) - Monday, 14 March 2011, 10:59 GMT
Wrong copy-paste, sorry.

Real steps to reproduce:

1. Try to run a chrooted named using the following command:

/usr/sbin/named -u named -t /chroot/named
Comment by Gaetan Bisson (vesath) - Monday, 14 March 2011, 22:33 GMT
What version of openssl do you have in the chroot?
Can you reproduce this problem on another computer?
Comment by staskorz (staskorz) - Wednesday, 16 March 2011, 08:32 GMT
Please forgive me for the false bug report - after seeing you mentioning openssl in chroot, I've noticed a new section in the Arch Linux BIND Wiki page saying the following:

As of BIND 9.8.0, you will need libgost.so to run BIND in a chroot

mkdir -p ${CHROOT}/usr/lib/engines
cp /usr/lib/engines/libgost.so ${CHROOT}/usr/lib/engines/


After following the above instructions the issue was resolved.

Thanks!
Comment by Gaetan Bisson (vesath) - Wednesday, 16 March 2011, 10:10 GMT
No problem. :)

Loading...