Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

when I try to start bind9; simply fail because of chroot & openssl

/etc/init.d/bind9 start

log messages;

Feb 17 08:26:27 ISTVS2024 named[2440]: initializing DST: openssl failure
Feb 17 08:26:27 ISTVS2024 named[2440]: exiting (due to fatal error)
Feb 17 08:26:27 ISTVS2024 kernel: [   92.091098] type=1400 audit(1361082387.173:14): apparmor="DENIED" operation="file_mmap" parent=2439 profile="/usr/sbin/named" name="/var/named/run-root/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgost.so" pid=2440 comm="named" requested_mask="m" denied_mask="m" fsuid=108 ouid=0

If I didnt miss a point Apparmor denies it;

my usr.sbin.named file already contains these lines:

/var/named/run-root/** rw,
/var/named/run-root/usr/** rw,

also I can confirm that this file ;

/var/named/run-root/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgost.so

exist in filesystem.

Literally, I'm stuck, what other options I have, to fix this issue ?

Maybe, removing apparmor completely is a solution, but I didnt wanna do that

share|improve this question

1 Answer 1

I had the same problem this morning.

This guys answer fixed it for me.

http://www.failover.co/blog/plesk-11-bind9-and-ubuntu-12-04-apparmor-problems

share|improve this answer
    
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  fossfreedom Mar 7 '13 at 21:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.