mount_devfs missing / devfs unable to apply jail ruleset

Jeff Isaac cineveggie.lists at gmail.com
Wed Jan 30 18:26:24 PST 2008


Greetings list!

I am back, with a hopefully less trivial problem than last time.

I have recently been trying to set up jails on my 7.0RC1 machine in  
order to facilitate compartmentalized network and database functioning  
(as well as to teach myself how to use them). However, I have run into  
a rather bizarre problem: according to the system, mount_devfs is not  
found. I have been looking around for a 7.0RC1 Errata and Release  
notes, but devfs mounting being missing has not turned up. Has  
mount_devfs been deprecated in favour of another scheme, or have I  
just somehow managed the lucky trick of not having it installed in the  
first place? I know for a fact I have not deleted it. Aside from  
configuring network services and recompiling the kernel to include  
sound, all of the things I've done have been common administration or  
userspace, without reason to cause a problem.

My Method:
I followed the instructions in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html 
  to the letter. However, the problem seems to be external to the  
jail. The jail doesn't want to start without devfs, and the devfs  
automount from rc.conf fails, as it does when run from CLI (presumably  
because the system reports "mount_devfs: Command not found.")

I additionally attempted a more manual startup of the jail as  
suggested here: http://www.section6.net/wiki/index.php/Creating_a_FreeBSD_Jail#Starting_the_jail_for_the_first_time 
  but this time I got a warning from devfs about ruleset 4 and ioctl  
(I am guessing this is because mount_devfs never did its job).

My big question is, what happened to mount_devfs? What variable do I  
have to set so the RC configuration will work? If it's supposed to be  
here, do I really have to build/install world to try to get it back?  
(If it makes any difference, the make world in my jail also does not  
contain /sbin/mount_devfs, so methinks a foul plot's afoot)


Thanks for your help and I apologize if this information is posted  
elsewhere, but after extensive googling, searching this list's  
archives, and looking in some other likely spots, I don't know what  
I'm doing wrong. Thanks so much!

~ Jeff


More information about the freebsd-i386 mailing list