{"action":"created","issue":{"url":"https://api.github.com/repos/pizzamig/pot/issues/35","repository_url":"https://api.github.com/repos/pizzamig/pot","labels_url":"https://api.github.com/repos/pizzamig/pot/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/pizzamig/pot/issues/35/comments","events_url":"https://api.github.com/repos/pizzamig/pot/issues/35/events","html_url":"https://github.com/pizzamig/pot/issues/35","id":324389980,"number":35,"title":"sed: /opt/pot/jails/base-11_1/custom/etc/crontab: No such file or directory","user":{"login":"0mp","id":7978161,"avatar_url":"https://avatars3.githubusercontent.com/u/7978161?v=4","gravatar_id":"","url":"https://api.github.com/users/0mp","html_url":"https://github.com/0mp","followers_url":"https://api.github.com/users/0mp/followers","following_url":"https://api.github.com/users/0mp/following{/other_user}","gists_url":"https://api.github.com/users/0mp/gists{/gist_id}","starred_url":"https://api.github.com/users/0mp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0mp/subscriptions","organizations_url":"https://api.github.com/users/0mp/orgs","repos_url":"https://api.github.com/users/0mp/repos","events_url":"https://api.github.com/users/0mp/events{/privacy}","received_events_url":"https://api.github.com/users/0mp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-18T12:23:58Z","updated_at":"2018-05-18T15:40:30Z","closed_at":"2018-05-18T15:22:18Z","author_association":"NONE","body":"Hi,\r\n\r\nI'm trying out pot for the first time and I got the following error:\r\n\r\n```console\r\n$ sudo pkg install pot\r\n$ sudo pkg init\r\n$ sudo pot create-base -r 11.1\r\n===>  Create a base with release 11.1\r\n/tmp/11.1_base.txz                            100% of   99 MB  741 kBps 02m18s\r\n===>  Create the zfs datasets for base release zroot/pot/bases/11.1\r\nsed: /opt/pot/jails/base-11_1/custom/etc/crontab: No such file or directory\r\nsed: /opt/pot/jails/base-11_1/custom/etc/crontab: No such file or directory\r\n```\r\n\r\nThen I tried to run `create-base` again:\r\n\r\n```console\r\n$ sudo pot create-base -r 11.1\r\n===>  Create a base with release 11.1\r\n===>  Create the zfs datasets for base release zroot/pot/bases/11.1\r\n./sbin/init: Can't restore time\r\n./lib/libcrypt.so.5: Can't restore time\r\n./lib/libthr.so.3: Can't restore time\r\n./lib/libc.so.7: Can't restore time\r\n./usr/lib/librt.so.1: Can't restore time\r\n./usr/bin/crontab: Can't restore time\r\n./usr/bin/su: Can't restore time\r\n./usr/bin/chpass: Can't restore time\r\n./usr/bin/passwd: Can't restore time\r\n./usr/bin/opieinfo: Can't restore time\r\n./usr/bin/login: Can't restore time\r\n./usr/bin/opiepasswd: Can't restore time\r\n./libexec/ld-elf.so.1: Can't restore time\r\ntar: Error exit delayed from previous errors.\r\ncp: cannot overwrite directory opt/custom/etc/unbound with non-directory etc/unbound\r\ncp: symlink: ../usr/sbin/rmt: File exists\r\ncp: utimensat: opt/custom/var/empty: Operation not permitted\r\ncp: symlink: ../usr/sbin/rmt: File exists\r\ncp: symlink: ../var/unbound: File exists\r\ncp: cannot overwrite directory opt/custom/var/db/etcupdate/current/usr/share/man/en.ISO8859-15 with non-directory var/db/etcupdate/current/usr/share/man/en.ISO8859-15\r\ncp: symlink: ../man4: File exists\r\ncp: symlink: ../man9: File exists\r\ncp: symlink: ../man3: File exists\r\ncp: symlink: ../man7: File exists\r\ncp: symlink: ../man2: File exists\r\ncp: symlink: ../man8: File exists\r\ncp: symlink: ../man5: File exists\r\ncp: symlink: ../man1: File exists\r\ncp: symlink: ../man6: File exists\r\ncp: symlink: ../man6: File exists\r\ncp: symlink: ../man1: File exists\r\ncp: symlink: ../man5: File exists\r\ncp: symlink: ../man8: File exists\r\ncp: symlink: ../man2: File exists\r\ncp: symlink: ../man7: File exists\r\ncp: symlink: ../man3: File exists\r\ncp: symlink: ../man9: File exists\r\ncp: symlink: ../man4: File exists\r\ncp: symlink: C: File exists\r\ncp: symlink: C: File exists\r\ncp: cannot overwrite directory opt/custom/var/db/etcupdate/current/usr/share/openssl/man/en.ISO8859-15 with non-directory var/db/etcupdate/current/usr/share/openssl/man/en.ISO8859-15\r\ncp: symlink: ../man3: File exists\r\ncp: symlink: ../man1: File exists\r\ncp: symlink: usr/src/sys: File exists\r\n```\r\n\r\n`sudo pot create -p shield -b 11.1` worked just fine, however, and now I'm in jail's shell.\r\n\r\n\r\n---\r\n\r\n**Details**:\r\n * FreeBSD 12.0-CURRENT  r333659 amd64\r\n * pot: 0.5.5\r\n * ZFS"},"comment":{"url":"https://api.github.com/repos/pizzamig/pot/issues/comments/390247434","html_url":"https://github.com/pizzamig/pot/issues/35#issuecomment-390247434","issue_url":"https://api.github.com/repos/pizzamig/pot/issues/35","id":390247434,"user":{"login":"0mp","id":7978161,"avatar_url":"https://avatars3.githubusercontent.com/u/7978161?v=4","gravatar_id":"","url":"https://api.github.com/users/0mp","html_url":"https://github.com/0mp","followers_url":"https://api.github.com/users/0mp/followers","following_url":"https://api.github.com/users/0mp/following{/other_user}","gists_url":"https://api.github.com/users/0mp/gists{/gist_id}","starred_url":"https://api.github.com/users/0mp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0mp/subscriptions","organizations_url":"https://api.github.com/users/0mp/orgs","repos_url":"https://api.github.com/users/0mp/repos","events_url":"https://api.github.com/users/0mp/events{/privacy}","received_events_url":"https://api.github.com/users/0mp/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T15:40:30Z","updated_at":"2018-05-18T15:40:30Z","author_association":"NONE","body":"Cool! I can't wait."}}
{"actor":{"display_login":"0mp"}}