LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-30-2012, 03:48 AM   #1
wailingwailer
LQ Newbie
 
Registered: Oct 2009
Posts: 16

Rep: Reputation: 3
bind-9.9.1-P2 in chroot-jail won't start, "initializing DST: openssl failure"


after updating to the new bind-9.9.1-P2 (using slackware64-current a.k.a. slackware64-14.0_beta), I could not get bind to start in a chroot-jail. in troubleshooting this problem, I tried rebuilding bind from source, reinstalling the binary packages, and regenerating the server host key for signed zone transfers.

then, after some googling I found this fix for bind in a chroot-jail on bsd which seems to allow bind to start up without complaining.

http://snarfu.com/freebsd/freebsd-bi...l-failure-fix/

I needed to adjust the path names from the bsd path
Code:
/usr/local/lib/engines
to the slackware64 path
Code:
/usr/lib64/engines
so I ended up running,
Code:
# mkdir -p /chroot/named/usr/lib64/engines
# cp -av /usr/lib64/engines/libgost.so /chroot/named/usr/lib64/engines
however, I wanted to ask if anyone here might know of any relevant configuration or runtime options that could be used instead of copying the .so file or if anyone had a better solution. thanks.

Last edited by wailingwailer; 07-30-2012 at 03:58 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"bad passwd file" when logging into Chroot Jail ddenton Linux - Security 3 10-17-2011 01:52 AM
[SOLVED] chroot error "cannot change root directory to /jail: Operation not permitted" Soji Antony Linux - Newbie 8 05-23-2011 08:29 PM
Problem with "Jail Chroot Project 1.9" Agento- Linux - General 2 01-19-2003 07:52 AM
chroot() - not able to "create" a jail --TOL-- Linux - Security 7 05-23-2002 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration