View previous topic :: View next topic |
Author |
Message |
sequeira Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Apr 2004 Posts: 77
|
Posted: Thu Apr 08, 2004 6:23 pm Post subject: chrooting dns and shcp |
|
|
Hi all.
I am running named in a chroot environment. I have also emerged dhcp and am running a server. I want to change it to run in a chroot jail.
I have noticed that the dns configuration files remain in /etc/bind and /var/bind (maybe elsewhere). Is it safe to remove them, I think so, but would like confirmation.
I finally found out/remembered how to chroot dhcp (took me a few hours), I'll probably have to reconfigure, as I don't think it will carry over my current configuration, will it? And the same question applies, can I remove any non jailed configuration files?
Cheers.
Did I mention how impressed I was with Gentoo, the handbook and portage? Great stuff.
Searching the forums are a bit of a nightmare due to the sheer volumes of postings, but that's a minor quibble. I can certainly live with it. _________________ --
Tony |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sequeira Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Apr 2004 Posts: 77
|
Posted: Sat Apr 10, 2004 12:43 am Post subject: |
|
|
Please form an orderly queue, no pushing there at the back.
I'll cock things up myself without any help, thanks. _________________ --
Tony |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Sat Apr 10, 2004 2:04 am Post subject: Re: chrooting dns and shcp |
|
|
hi
Quote: |
I have noticed that the dns configuration files remain in /etc/bind and /var/bind (maybe elsewhere). Is it safe to remove them, I think so, but would like confirmation.
|
If you chrooted BIND, then the configuration files arent in /etc anymore , but inside /bha/chroot/BIND/etc/
So you can delete those file you wish outside the chroot.
Quote: |
I finally found out/remembered how to chroot dhcp (took me a few hours), I'll probably have to reconfigure, as I don't think it will carry over my current configuration, will it? And the same question applies, can I remove any non jailed configuration files?
|
same thing applies, when you chroot the application wont see _anything_ out side the new ROOT to for example /usr/choot/dhcp/etc/dhcp.conf is the file its going to use and not /etc/dhcp.conf
Quote: |
Cheers.
Did I mention how impressed I was with Gentoo, the handbook and portage? Great stuff.
Searching the forums are a bit of a nightmare due to the sheer volumes of postings, but that's a minor quibble. I can certainly live with it. |
Hey i think a lot of effort went into it, so your thx go to the people working on it.
Indeed sometimes it can be dificult finding what you want in the forums, try to be as specific as you can in your srch.
Another quibble is that there are many people asking questions, and everyone wants an answer here and now... so patience is important.
Enjoy your stay.
hope my answer helped, if not ask again.
![Wink :wink:](images/smiles/icon_wink.gif) _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sequeira Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Apr 2004 Posts: 77
|
Posted: Sat Apr 10, 2004 9:17 am Post subject: |
|
|
Thank you very much and sorry for the impatience. I could make excuses but I won't.
Regards. _________________ --
Tony |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|