I am using py39-iocage-1.2_10 on FreeBSD 13.1-STABLE.
To use samba416 in the jail, I added a fstab entry like:
Then, if I start the jail by
If I do not add the fstab entry, iocage starts the jail without problems.
Does anyone know how to avoid this file removal?
for example:
becomes:
To use samba416 in the jail, I added a fstab entry like:
# iocage fstab -a npm1 null /var/run/samba4/fd fdescfs rw,nodup 0 0
Then, if I start the jail by
iocage start npm1
, it starts removing files inside the jail.If I do not add the fstab entry, iocage starts the jail without problems.
Does anyone know how to avoid this file removal?
for example:
Code:
# ls /usr/home/iocage/jails/npm1/root/etc
aliases localtime protocols
authpf locate.rc pwd.db
auto_master login.access rc
autofs login.conf rc.bsdextended
blacklistd.conf login.conf.db rc.conf
bluetooth mac.conf rc.conf.d
cron.d mail rc.d
crontab mail.rc rc.firewall
csh.cshrc master.passwd rc.initdiskless
csh.login motd.template rc.resume
csh.logout mtree rc.sendmail
ddb.conf netconfig rc.shutdown
defaults netstart rc.subr
devd network.subr rc.suspend
devd.conf networks regdomain.xml
devfs.conf newsyslog.conf remote
dhclient.conf newsyslog.conf.d resolv.conf
disktab nscd.conf rmt
dma nsmb.conf rpc
dumpdates nsswitch.conf security
fbtab ntp services
freebsd-update.conf ntp.conf shells
ftpusers opieaccess snmpd.config
gettytab opiekeys spwd.db
group os-release ssh
gss pam.d ssl
hosts passwd sysctl.conf
hosts.allow pccard_ether syslog.conf
hosts.equiv periodic syslog.d
hosts.lpd pf.os termcap
inetd.conf phones termcap.small
jail.conf.d pkg ttys
krb5.keytab portsnap.conf unbound
kyua ppp X11
libalias.conf printcap zfs
libmap.conf profile
Code:
# ls /usr/home/iocage/jails/npm1/root/etc
aliases mail rmt
authpf mtree security
autofs newsyslog.conf.d ssh
bluetooth ntp ssl
cron.d os-release syslog.d
defaults pam.d termcap
devd periodic unbound
dma pkg X11
gss ppp zfs
jail.conf.d rc.conf.d
kyua rc.d
Last edited by a moderator: