Date: Wed, 20 Sep 2017 13:18:53 +0700 From: Olivier <Olivier.Nicole@cs.ait.ac.th> To: Adam Vande More <amvandemore@gmail.com> Cc: questions@freebsd.org Subject: Re: Mount devfs in a chroot'd environment at boot Message-ID: <wu7wp4tao4y.fsf@banyan.cs.ait.ac.th> In-Reply-To: <CA%2BtpaK3O3OND60Rkn9ArqLHUd6fNb_-eK8R5Z6_FZ%2BFmFsjKcQ@mail.gmail.com> (message from Adam Vande More on Wed, 20 Sep 2017 00:51:56 -0500)
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Adam, >> I am using FreeRadius as provided in the ports. It has an option to be >> chroot'd, but this option is not implemented in the default ports. >> >> In order to have FreeRadius staring, I need to mount devfs in the >> chroot'd environment, at boot, before FreeRadius is started. >> >> I would prefer to avoid mo0difying /usr/local/etc/rc.d/radiusd (because >> any upgrade of the port will overwrite my modifications), so how can I >> make something in /etc/rc.conf or /etc/rc.local that will mount devfs >> *before* radiusd is started? > man devfs.conf I read the man but saw nothing related to a: mount -t devfs devfs /var/chroot/freeradiusd/dev And I saw nothing related to how to ensure the proper order at startup. But in fact my question was stupid, I just have to add the mount in /etc/fstab Thank you, Olivier --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wu7wp4tao4y.fsf>