{"action":"created","issue":{"url":"https://api.github.com/repos/iocage/iocage/issues/361","repository_url":"https://api.github.com/repos/iocage/iocage","labels_url":"https://api.github.com/repos/iocage/iocage/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/iocage/iocage/issues/361/comments","events_url":"https://api.github.com/repos/iocage/iocage/issues/361/events","html_url":"https://github.com/iocage/iocage/pull/361","id":158762502,"number":361,"title":"Mentioning raw sockets in network docs","user":{"login":"brejoc","id":34246,"avatar_url":"https://avatars.githubusercontent.com/u/34246?v=3","gravatar_id":"","url":"https://api.github.com/users/brejoc","html_url":"https://github.com/brejoc","followers_url":"https://api.github.com/users/brejoc/followers","following_url":"https://api.github.com/users/brejoc/following{/other_user}","gists_url":"https://api.github.com/users/brejoc/gists{/gist_id}","starred_url":"https://api.github.com/users/brejoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brejoc/subscriptions","organizations_url":"https://api.github.com/users/brejoc/orgs","repos_url":"https://api.github.com/users/brejoc/repos","events_url":"https://api.github.com/users/brejoc/events{/privacy}","received_events_url":"https://api.github.com/users/brejoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-06T20:05:02Z","updated_at":"2016-06-06T23:13:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iocage/iocage/pulls/361","html_url":"https://github.com/iocage/iocage/pull/361","diff_url":"https://github.com/iocage/iocage/pull/361.diff","patch_url":"https://github.com/iocage/iocage/pull/361.patch"},"body":"Make sure to follow and check these boxes before submitting a PR! Thank you.\r\n\r\n- [x] Supply documentation according to [CONTRIBUTING.md](https://github.com/iocage/iocage/blob/master/CONTRIBUTING.md)\r\n- [x] Explain the feature\r\n- [x] Read [CONTRIBUTING.md](https://github.com/iocage/iocage/blob/master/CONTRIBUTING.md)\r\n- [x] Only open the PR against the `develop` branch.\r\n\r\nNew users are very likely not aware of the allow_raw_sockets option\r\nand might think that the network setup of their Jail is broken, when\r\na simple ping and pkg update is not working, even though only this\r\noption needs to be set."},"comment":{"url":"https://api.github.com/repos/iocage/iocage/issues/comments/224116750","html_url":"https://github.com/iocage/iocage/pull/361#issuecomment-224116750","issue_url":"https://api.github.com/repos/iocage/iocage/issues/361","id":224116750,"user":{"login":"skarekrow","id":1589047,"avatar_url":"https://avatars.githubusercontent.com/u/1589047?v=3","gravatar_id":"","url":"https://api.github.com/users/skarekrow","html_url":"https://github.com/skarekrow","followers_url":"https://api.github.com/users/skarekrow/followers","following_url":"https://api.github.com/users/skarekrow/following{/other_user}","gists_url":"https://api.github.com/users/skarekrow/gists{/gist_id}","starred_url":"https://api.github.com/users/skarekrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skarekrow/subscriptions","organizations_url":"https://api.github.com/users/skarekrow/orgs","repos_url":"https://api.github.com/users/skarekrow/repos","events_url":"https://api.github.com/users/skarekrow/events{/privacy}","received_events_url":"https://api.github.com/users/skarekrow/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T23:13:05Z","updated_at":"2016-06-06T23:13:05Z","body":"While I do like this addition, it is not necessary to use raw sockets to use `pkg` in a jail.\r\n\r\nExample:\r\n```\r\n bschneider@ansible-client  ~  iocage get allow_raw_sockets test\r\n0\r\n bschneider@ansible-client  ~  sudo iocage start test\r\n* Starting ec1d7f37-2c3b-11e6-bd16-efcda6a55858 (test)\r\n  + Started (shared IP mode) OK\r\n  + Starting services        OK\r\n bschneider@ansible-client  ~  iocage get allow_raw_sockets test\r\n0\r\n bschneider@ansible-client  ~  sudo iocage console test\r\nFreeBSD 11.0-CURRENTMAY2016 (GENERIC) #19 5bab0d2(master): Fri May  6 17:56:25 UTC 2016\r\n\r\nWelcome to FreeBSD!\r\n\r\nRelease Notes, Errata: https://www.FreeBSD.org/releases/\r\nSecurity Advisories:   https://www.FreeBSD.org/security/\r\nFreeBSD Handbook:      https://www.FreeBSD.org/handbook/\r\nFreeBSD FAQ:           https://www.FreeBSD.org/faq/\r\nQuestions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/\r\nFreeBSD Forums:        https://forums.FreeBSD.org/\r\n\r\nDocuments installed with the system are in the /usr/local/share/doc/freebsd/\r\ndirectory, or can be installed later with:  pkg install en-freebsd-doc\r\nFor other languages, replace \"en\" with a language code like de or fr.\r\n\r\nShow the version of FreeBSD installed:  freebsd-version ; uname -a\r\nPlease include that output and any error messages when posting questions.\r\nIntroduction to manual pages:  man man\r\nFreeBSD directory layout:      man hier\r\n\r\nEdit /etc/motd to change this login announcement.\r\nroot@ec1d7f37-2c3b-11e6-bd16-efcda6a55858:~ # ping www.google.com\r\nping: socket: Operation not permitted\r\nroot@ec1d7f37-2c3b-11e6-bd16-efcda6a55858:~ # ping 8.8.8.8\r\nping: socket: Operation not permitted\r\nroot@ec1d7f37-2c3b-11e6-bd16-efcda6a55858:~ # pkg update\r\nThe package management tool is not yet installed on your system.\r\nDo you want to fetch and install it now? [y/N]: y\r\nBootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly, please wait...\r\nVerifying signature with trusted certificate pkg.freebsd.org.2013102301... done\r\n[ec1d7f37-2c3b-11e6-bd16-efcda6a55858] Installing pkg-1.7.2...\r\n[ec1d7f37-2c3b-11e6-bd16-efcda6a55858] Extracting pkg-1.7.2: 100%\r\nUpdating FreeBSD repository catalogue...\r\n[ec1d7f37-2c3b-11e6-bd16-efcda6a55858] Fetching meta.txz: 100%    944 B   0.9kB/s    00:01\r\n[ec1d7f37-2c3b-11e6-bd16-efcda6a55858] Fetching packagesite.txz:  22%    1 MiB  [ec1d7f37-2c3b-11e6-bd16-efcda6a55858] Fetching packagesite.txz:  37%    2 MiB 8[ec1d7f37-2c3b-11e6-bd16-efcda6a55858] Fetching packagesite.txz:  62%    3 MiB  [ec1d7f37-2c3b-11e6-bd16-efcda6a55858] Fetching packagesite.txz:  86%    5 MiB  [ec1d7f37-2c3b-11e6-bd16-efcda6a55858] Fetching packagesite.txz: 100%    5 MiB   1.4MB/s    00:04\r\nProcessing entries: 100%\r\nFreeBSD repository update completed. 25086 packages processed.\r\nroot@ec1d7f37-2c3b-11e6-bd16-efcda6a55858:~ # pkg\r\npkg: not enough arguments\r\nUsage: pkg [-v] [-d] [-l] [-N] [-j <jail name or id>|-c <chroot path>|-r <rootdir>] [-C <configuration file>] [-R <repo config dir>] [-o var=value] [-4|-6] <command> [<args>]\r\n\r\nFor more information on available commands and options see 'pkg help'.\r\nroot@ec1d7f37-2c3b-11e6-bd16-efcda6a55858:~ #\r\n```"}}
{"actor":{"display_login":"skarekrow"}}