[Bug 963696] Re: ubuntu template should enable security pocket
Clint Byrum
clint at fewbar.com
Sat Mar 24 14:28:42 UTC 2012
Excerpts from Serge Hallyn's message of Sat Mar 24 08:17:07 UTC 2012:
> Thanks for reporting this bug.
>
> Precise has been enabling the security pocket for quite some time, but
> you are reporting this bug against precise. Can you confirm that you've
> had this happen on a precise host? Can you give the exact command you
> used to create the container?
>
These were containers created by juju, which uses
lxc-create -n clint-local-mysql-0 -t ubuntu -f /tmp/something -- -r
oneiric
I think the issue is that my oneiric cache was created a long time ago:
$ ls -ld /var/cache/lxc/oneiric
drwxr-xr-x 3 root root 4096 Oct 12 10:45 /var/cache/lxc/oneiric
This check seems a bit inadequate:
if [ ! -e "$cache/rootfs-$arch" ]; then
download_ubuntu ...
Not sure what could be done to check that it is current though. :-P
What about adding a medium priority debconf question that would offer
to clear the lxc cache on upgrade from any versions that didn't enable
security?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/963696
Title:
ubuntu template should enable security pocket
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/963696/+subscriptions
More information about the Ubuntu-server-bugs
mailing list