[lxc-devel] [PATCH 1/1] templates/lxc-fedora Rework for distro independence.

Serge Hallyn serge.hallyn at ubuntu.com
Thu Oct 3 04:39:54 UTC 2013


Quoting Michael H. Warfield (mhw at WittsEnd.com):
> +    mount -o loop ../LiveOS/squashfs.img squashfs

Heh, this is unfortunate - since I test things inside containers, now I
have to face the loop device in containers issue :)

For now I just added b 7:0 to my devices whitelist and loosened the
apparmor policy.  Fedora build did its thing.  Then I removed those
exceptions.

I did have to remove the devices whitelist entries for 4:0 and 4:1.
They are for /dev/tty{0,1} - the real ones, which we don't use
in containers.  Since the ubuntu container in which I was testing
didn't have that, I couldn't grant it to the fedora container, but
it doesn't need it.

Other than that, it looks good!

There is a weird glitch, when i first start the container, i type
in username root, then have to hit return again before it shows
me the password prompt.  It doesn't accept the password.  Second
login attempt works fine.  Yum also isn't finding any mirrors, but
that may be a problem local to me.

Will test some more tomorrow.

Thanks!

-serge




More information about the lxc-devel mailing list