Doing my first jail.
I am able to start the jail manually using the jail command and using /etc/rc.d/jail start, however I am unable to stop the jail using /etc/rc.d jail. I get the error
Stopping jails:cannot stop jail mail. No jail id in /var/run

The name of the jail is "mail".
I also tried entering the jail and killing it..
jexec 4 csh
kill -KILL -1

That doesn't produce any errors.

My /etc/rc.conf is:
# jail specific settings for jail "mail" jail_one_rootdir="/data/jail/" jail_one_hostname="<hostname>" jail_one_ip="<ip>" jail_one_exec="/bin/sh /etc/rc" jail_one_devfs_enable="YES"
Any suggestions?
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to