globalcitizen / lxc-gentoo

lxc-gentoo: Linux Containers Gentoo Guest Template Script
http://globalcitizen.github.com/lxc-gentoo
GNU General Public License v3.0
85 stars 32 forks source link

summer fixes 1/? #76

Closed specing closed 9 years ago

specing commented 9 years ago

The first is for (I suppose the /dev tmpfs is for systemd or w/e):

lxc-start --foreground --rcfile awdw.conf --name awdw lxc-start: conf.c: mount_entry: 1722 No such file or directory - failed to mount 'shm' on '/var/lib/lxc/rootfs/dev/shm' lxc-start: conf.c: lxc_setup: 3843 failed to setup the mount entries for 'awdw' lxc-start: start.c: do_start: 699 failed to setup the container lxc-start: sync.c: __sync_wait: 51 invalid sequence number 1. expected 2 lxc-start: start.c: __lxc_start: 1164 failed to spawn 'awdw' lxc-start: lxc_start.c: main: 344 The container failed to start. lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.

I think it would be great if the blocks of text at lines 270 and 440 were [re]moved to README and that at 1050-1080 moved to line 1024 as the quick usage help is imo more helpful than the other wall of text. y/n?

globalcitizen commented 9 years ago

Please change the removal of info in the altered output and I can accept a subsequent pull request. In future if you send changes one by one it's easier to merge.

specing commented 9 years ago

I specifically bundled them both (yes I knew you were going to trip on the chroot change) so we can discuss about cleaning up the walls of text spewed by the script:

"I think it would be great if the blocks of text at lines 270 and 440 were [re]moved to README and that at 1050-1080 moved to line 1024 as the quick usage help is imo more helpful than the other wall of text. y/n?"