I need some help for jail setup.
We have now moved to jail.conf and the "devfs_ruleset" is giving us some problem.
Previously, it was something like
I tried to put
and I'm getting this error:
The entire jail.conf is:
How can I resolve this?
We have now moved to jail.conf and the "devfs_ruleset" is giving us some problem.
Previously, it was something like
jail_jailname_devfs_ruleset="devfsrules_jail"
in the old style.I tried to put
"devfs_ruleset = "nginx_ruleset";"
and I'm getting this error:
Code:
jail: nginx: devfs_ruleset: non-integer value "nginx_ruleset"
Code:
nginx {
host.hostname = nginx.jpik.com;
ip4.addr = 192.168.1.80;
path ="/jails/nginx";
devfs_ruleset = "nginx_ruleset";
mount.devfs;
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
}
How can I resolve this?