https://bugzilla.novell.com/show_bug.cgi?id=804435 https://bugzilla.novell.com/show_bug.cgi?id=804435#c17 --- Comment #17 from Frederic Crozat <fcrozat@suse.com> 2013-02-25 14:59:25 UTC --- (In reply to comment #16)
Hi,
@jiri: I assume you have to remove the cache /var/cache/lxc/opensuse, because I'd say the 12.2 packages are still installed, so it is inconsistent with a new template for 12.3.
@frederic: maybe it is a good idea to use opensuse-${DISTRO} cache directory
Well, versioning the cache wouldn't remove the old one (which would become irrelevant as soon as the template is updated). This is indeed a shortcoming in the current way we handle template and cache :(
Anyway with cleaned cache, chpasswd no longer fail
Good :)
BTW: I've got a lot of when container is started
<46>systemd-journal[446]: Received SIGURS1
Yes, I saw that. But I didn't spend time to debug it.
BTW: I've got an issue when I've switched the LAN cable during a lxc-create, which triggered a new gateway and a connection failure. However template fails on an attempt to readd repo-oss and update repos.
Please consider following change (or maybe the is a zypper switch for that purpose)
+ if [[ ! -f $cache/partial-$arch-packages/etc/zypp/repos.d/repo-oss.repo ]]; then + zypper --quiet --root $cache/partial-$arch-packages --non-interactive ar http://download.opensuse.org/distribution/$DISTRO/repo/oss/ repo-oss || return 1 + fi + if [[ ! -f $cache/partial-$arch-packages/etc/zypp/repos.d/update.repo ]]; then + zypper --quiet --root $cache/partial-$arch-packages --non-interactive ar http://download.opensuse.org/update/$DISTRO/ update || return 1 + fi
Could you do a sr against lxc package with this change ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.