Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: show root requirement #7

Merged
merged 1 commit into from
Apr 10, 2017
Merged

docs: show root requirement #7

merged 1 commit into from
Apr 10, 2017

Conversation

ian-kelling
Copy link
Contributor

Normally # indicates a root shell, $ indicates non-root.
I just ran build.sh, it fails without root.

$ ./build.sh
update-binfmts: warning: unable to open /proc/sys/fs/binfmt_misc/status for writing: Permission denied
--> loading distro plugin...
[ DEBIAN ] loading...
--> building image...
[ DEBIAN ] bootstrapping rootfs...
lxc-create: conf.c: chown_mapped_root: 3478 No mapping for container root
lxc-create: lxccontainer.c: do_bdev_create: 1054 Error chowning /home/ian/.local/share/lxc/debian/rootfs to container root
lxc-create: conf.c: suggest_default_idmap: 4594 You must either run as root, or define uid mappings
lxc-create: conf.c: suggest_default_idmap: 4595 To pass uid mappings to lxc-create, you could create
lxc-create: conf.c: suggest_default_idmap: 4596 ~/.config/lxc/default.conf:
lxc-create: conf.c: suggest_default_idmap: 4597 lxc.include = /etc/lxc/default.conf
lxc-create: conf.c: suggest_default_idmap: 4598 lxc.id_map = u 0 100000 65536
lxc-create: conf.c: suggest_default_idmap: 4599 lxc.id_map = g 0 100000 65536
lxc-create: lxccontainer.c: do_lxcapi_create: 1518 Error creating backing store type (none) for debian
lxc-create: tools/lxc_create.c: main: 318 Error creating container debian
--> cleaning up...
rm: cannot remove 'maru_0.1-1_all.deb': No such file or directory
make: [clean] Error 1 (ignored)

Signed-off-by: Ian Kelling [email protected]

Signed-off-by: Ian Kelling <[email protected]>
@pdsouza pdsouza merged commit 89f2a0b into maruos:master Apr 10, 2017
@pdsouza
Copy link
Member

pdsouza commented Apr 10, 2017

Thanks, makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants