Old jail dir reappears after reboot - why?

Redd Vinylene reddvinylene at gmail.com
Sat Jun 11 12:01:48 UTC 2011


Any idea Glen?

On Fri, Jun 10, 2011 at 3:47 PM, Redd Vinylene <reddvinylene at gmail.com>wrote:

> Hey! Sure thing mate - here we go !!
>
> # cat /etc/rc.conf
>
> hostname="mybox.mydomain.com"
> ifconfig_em0="inet inet [FILTERED]/29"
> ifconfig_em0_alias0="inet inet [FILTERED]/32"
> ifconfig_em0_alias1="inet inet [FILTERED]/32"
> defaultrouter="inet [FILTERED]"
> devfs_system_ruleset="localrules"
> zfs_enable="YES"
> pf_enable="YES"
> pflog_enable="YES"
> sshd_enable="YES"
> ntpdate_enable="YES"
> ntpdate_flags="pool.ntp.org"
> postfix_enable="YES"
> sendmail_enable="NO"
> sendmail_submit_enable="NO"
> sendmail_outbound_enable="NO"
> sendmail_msp_queue_enable="NO"
> jail_enable="YES"
> jail_list="statepen1 statepen2"
> jail_statepen1_rootdir="/jails/statepen1"
> jail_statepen1_hostname="statepen1.mydomain.com"
> jail_statepen1_ip="[FILTERED]"
> jail_statepen1_devfs_enable="YES"
> jail_statepen1_devfs_ruleset="devfsrules_jail"
> jail_statepen2_rootdir="/jails/statepen2"
> jail_statepen2_hostname="statepen2.mydomain.com"
> jail_statepen2_ip="[FILTERED]"
> jail_statepen2_devfs_enable="YES"
> jail_statepen2_devfs_ruleset="devfsrules_jail"
> clear_tmp_enable="YES"
> update_motd="NO"
>
> # cat /etc/fstab
> # Device                Mountpoint      FStype  Options         Dump
> Pass#
> /dev/ad8s1b             none            swap    sw              0       0
> /dev/ad8s1a             /               ufs     rw              1       1
> #/dev/ad8s1g            /home           ufs     rw              2       2
> /dev/ad8s1d             /tmp            ufs     rw              2       2
> /dev/ad8s1f             /usr            ufs     rw              2       2
> /dev/ad8s1e             /var            ufs     rw              2       2
> #/dev/cd0               /cdrom          cd9660  ro,noauto       0       0
> #/dev/acd0              /cdrom1         cd9660  ro,noauto       0       0
>
>
>
> On Fri, Jun 10, 2011 at 3:22 PM, Glen Barber <glen.j.barber at gmail.com>wrote:
>
>> On 6/10/11 7:36 AM, Redd Vinylene wrote:
>> > Hi,
>> >
>> > After rebooting my host server, some old dir I once had my jails in
>> > reappears. What might be the cause of that and how do I stop it?
>> >
>> > More specifically, I once had my jails in /jail, but now I've moved them
>> all
>> > into /jails. rc.conf or fstab does not reference /jail and I can't find
>> any
>> > file on my system that does - so why does this dir keep reappearing all
>> the
>> > time?
>> >
>>
>> Can you provide rc.conf, rc.conf.local (if it exists), and fstab* ?
>>
>> > I have to umount it before I can delete it though.
>> >
>>
>> Yes.  That's a good thing. :)
>>
>> Regards,
>>
>> --
>> Glen Barber
>>
>
>


More information about the freebsd-jail mailing list