So, I was extremely excited when I heard FreeNAS had gained the support for Linux Jails. But, after I had created the jail, I was unable to do anything. Inside of the jail, I am without bash and I am unable to resolve hostnames to retrieve software from the repo, and to make matters worse, utilities like ping and ifconfig throw up errors. From outside of the jail, I am able to ping the jails IP Address from another machine on the LAN. All while my FreeNAS network configuration is fine.
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/raring-backports/un iverse/binary-i386/Packages Something wicked happened resolving 'us.archive.ubu ntu.com:http' (-11 - System error) W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/raring-backports/mu ltiverse/binary-i386/Packages Something wicked happened resolving 'us.archive.u buntu.com:http' (-11 - System error) E: Some index files failed to download. They have been ignored, or old ones used instead. # ping 8.8.8.8 ping: icmp open socket: Operation not permitted # sudo chmod u+s 'which ping' sudo: unable to resolve host rTorrent chmod: cannot access ‘which ping’: No such file or directory # which ping /bin/ping # sudo chmod u+s /bin/ping sudo: unable to resolve host rTorrent # ifconfig bridge: error fetching interface information: Invalid argument #
"rTorrent" is the name of the Ubuntu 13.04 jail.
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/raring-backports/un iverse/binary-i386/Packages Something wicked happened resolving 'us.archive.ubu ntu.com:http' (-11 - System error) W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/raring-backports/mu ltiverse/binary-i386/Packages Something wicked happened resolving 'us.archive.u buntu.com:http' (-11 - System error) E: Some index files failed to download. They have been ignored, or old ones used instead. # ping 8.8.8.8 ping: icmp open socket: Operation not permitted # sudo chmod u+s 'which ping' sudo: unable to resolve host rTorrent chmod: cannot access ‘which ping’: No such file or directory # which ping /bin/ping # sudo chmod u+s /bin/ping sudo: unable to resolve host rTorrent # ifconfig bridge: error fetching interface information: Invalid argument #
"rTorrent" is the name of the Ubuntu 13.04 jail.