chroot no named process

Michael Kjorling michael at kjorling.com
Tue Jul 31 23:50:29 UTC 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What happens if you try to use BIND's internal chroot mechanism like
so?

	/usr/local/sbin/named -u named -t /opt/jail -c /var/named/named/named.conf


Michael Kjörling


On Jul 31 2001 16:17 -0700, morgan lynder wrote:

> Hello,
> I have just installed BIND 9.1.3 on solaris 7. It
> worked great. Next I decided to do a chroot
> installation. I am starting named as follows:
>
> /usr/sbin/chroot /opt/jail usr/local/sbin/named -c
> var/named/named/named.conf
>
> Now this will work and the daemon will fire up just
> fine and I can see it running as root in a ps listing.
> Now if I add the -u switch as follows:
>
> /usr/sbin/chroot /opt/jail usr/local/sbin/named -c
> var/named/named/named.conf  -u named
>
> The ps listing will not show this process,
> /var/adm/messages shows no exiting and ps will write
> to its pid file /var/run/pid too. Yet the process does
> not apear to be running anywhere. Does anyone have any
> ideas ?
>
> Thanks
> Klaus

- -- 
Michael Kjörling - michael at kjorling.com - PGP: 8A70E33E
Manager Wolf.COM -- Programmer -- Network Administrator
"We must be the change we wish to see" (Mahatma Gandhi)

^..^     Support the wolves in Norway -- go to     ^..^
 \/   http://home.no.net/ulvelist/protest_int.htm   \/

***** Please only send me emails which concern me *****

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7Z0RJKqN7/Ypw4z4RAouXAKCAU90vbmnwR2bo6AxUcs7mGfLyBgCeMvod
TGEu9Cm/KYYt4uNisXUpOF0=
=PbsT
-----END PGP SIGNATURE-----




More information about the bind-users mailing list