Re: FreeBSD 5.4 chroot

2008-08-26 Thread Mihai Donțu
On Monday 25 August 2008, Kris Kennaway wrote:
 Mihai Donțu wrote:
  Hi,
 
  I've just installed a FreeBSD 6.0-RELEASE and I need a FreeBSD
  5.4-RELEASE chroot to build something in it (hw shortage). All nice and
  dandy, until I hit a /dev problem:
 
  # svn up
  svn: PROPFIND request failed on '/svn/project'
  svn: PROPFIND of '/svn/project': SSL negotiation failed: SSL disabled due
  to lack of entropy (https://svn.host.com)
 
  # ls -l /dev/random
  crw-rw-rw-  1 root  wheel  249,   0 Aug 25 16:19 /dev/random
 
  # cat /dev/random
  cat: /dev/random: Socket operation on non-socket
 
  # rm /dev/random
 
  # mknod /dev/mknod random c 0 10 root:wheel
 
  # chmod 0666 /dev/random
 
  # ls -l /dev/random
  crw-rw-rw-  1 root  wheel0,  10 Aug 25 18:28 /dev/random
 
  # cat /dev/random
  cat: /dev/random: Socket operation on non-socket
 
  Clearly, all those years of Linux chroot-ing have affected my brain, but
  Google isn't very helpful either. :) Could someone, please, hint me about
  what I'm doing wrong?

 mount a devfs instance to create the devices (see mount_devfs) instead
 of trying to mknod them by hand.

Works like magic. :) Thanks!

-- 
Mihai Donțu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.4 chroot

2008-08-25 Thread Mihai Donțu
Hi,

I've just installed a FreeBSD 6.0-RELEASE and I need a FreeBSD 5.4-RELEASE 
chroot to build something in it (hw shortage). All nice and dandy, until I 
hit a /dev problem:

# svn up
svn: PROPFIND request failed on '/svn/project'
svn: PROPFIND of '/svn/project': SSL negotiation failed: SSL disabled due to 
lack of entropy (https://svn.host.com)

# ls -l /dev/random
crw-rw-rw-  1 root  wheel  249,   0 Aug 25 16:19 /dev/random

# cat /dev/random
cat: /dev/random: Socket operation on non-socket

# rm /dev/random

# mknod /dev/mknod random c 0 10 root:wheel

# chmod 0666 /dev/random

# ls -l /dev/random
crw-rw-rw-  1 root  wheel0,  10 Aug 25 18:28 /dev/random

# cat /dev/random
cat: /dev/random: Socket operation on non-socket

Clearly, all those years of Linux chroot-ing have affected my brain, but 
Google isn't very helpful either. :) Could someone, please, hint me about 
what I'm doing wrong?

Thank you,

-- 
Mihai Donțu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4 chroot

2008-08-25 Thread Kris Kennaway

Mihai Donțu wrote:

Hi,

I've just installed a FreeBSD 6.0-RELEASE and I need a FreeBSD 5.4-RELEASE 
chroot to build something in it (hw shortage). All nice and dandy, until I 
hit a /dev problem:


# svn up
svn: PROPFIND request failed on '/svn/project'
svn: PROPFIND of '/svn/project': SSL negotiation failed: SSL disabled due to 
lack of entropy (https://svn.host.com)


# ls -l /dev/random
crw-rw-rw-  1 root  wheel  249,   0 Aug 25 16:19 /dev/random

# cat /dev/random
cat: /dev/random: Socket operation on non-socket

# rm /dev/random

# mknod /dev/mknod random c 0 10 root:wheel

# chmod 0666 /dev/random

# ls -l /dev/random
crw-rw-rw-  1 root  wheel0,  10 Aug 25 18:28 /dev/random

# cat /dev/random
cat: /dev/random: Socket operation on non-socket

Clearly, all those years of Linux chroot-ing have affected my brain, but 
Google isn't very helpful either. :) Could someone, please, hint me about 
what I'm doing wrong?


mount a devfs instance to create the devices (see mount_devfs) instead 
of trying to mknod them by hand.


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