Re: Bind 9

2003-03-30 Thread Tim van den Elsen
On Sun, 30 Mar 2003 09:55:15 -0500 (EST)
<[EMAIL PROTECTED]> wrote:

> This may be a silly question but I need some help so here it is. I
> installed bind 9 and I am unable to find it. I installed FreeBSD 4.4
> upgraded to 4.7 stable. I have bind 8 installed. I want to run bind 9   
> for security reasons. I installed in from ports. I can't find it. I 
> thought that it simply replaced the executable /usr/sbin/named. But the   
> last change date it has is from the initial install. The named.conf file  
> has not changed, and I can't find a directory specifying bind 9. Anybody 
> able to help me out here?

Programs installed via ports are always placed in /usr/local/ and configs to 
/usr/local/etc/
The same for binaries :) /usr/local/sbin/named

Regards,

Tim
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Chrooting to Linux in FreeBSD

2003-03-13 Thread Tim van den Elsen
Hello,

A friend of mine started his own version of Knoppix. His version is modular based and 
looks quite nice. For me to help him mount an .iso and chroot to this "pre-made 
filesystem" (Debian by the way).

For mounting i do the following:

# vnconfig /dev/vn0c ./image.iso
# mount_cd9660 /dev/vn0c ./tmp-iso-dir

Then i copy the ./tmp-iso-dir to a normal dir in order to change files:

# cp -Rp ./tmp-iso-dir/ ./remaster-dir

After that i'm ready to chroot:

# chroot ./remaster-dir /bin/sh
sh-2.05b#

Then the problem starts: every command i run when i'm in chroot will leave a .core 
file although most of them work. An example:

sletje# chroot tmp-iso /bin/sh
sh-2.05b# ls
MorphixCD  boot   dev  floppy  initrd  mnt  opt   root  strip-apt  usr
bincdrom  etc  homelib morphix  proc  sbin  tmpvar
sh-2.05b# id
uid=0(root) gid=0(root) groups=0(root),2(bin),3(sys),4(adm),5(tty),20(dialout),31
sh-2.05b# ls
MorphixCD  boot   dev  floppy  id.core  lib  mnt  opt   root  strip-apt  usr
bincdrom  etc  homeinitrd   ls.core  morphix  proc  sbin  tmpvar
sh-2.05b# exit
exit
Bad system call (core dumped)
sletje#

As you can see "ls" and "id" work, but both leave a .core file: ls.core and id.core.
When debugging it with gdb all commands seem to exit on a signal 12 Bad system call, 
like bash did when it exited.

I tried to google but i can't find no hint or solution to the problem. Hopefully 
somebody here has a clue of what's going on :-)

Thanks in advance!

Tim van den Elsen

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message