2011-04-07 09:00:55 |
Tamas Papp |
bug |
|
|
added bug |
2011-07-28 14:45:53 |
Serge Hallyn |
lxc (Ubuntu): status |
New |
Incomplete |
|
2011-07-28 14:45:57 |
Serge Hallyn |
lxc (Ubuntu): importance |
Undecided |
High |
|
2011-07-28 14:46:01 |
Serge Hallyn |
lxc (Ubuntu): assignee |
|
Serge Hallyn (serge-hallyn) |
|
2011-08-01 13:33:21 |
Serge Hallyn |
lxc (Ubuntu): status |
Incomplete |
In Progress |
|
2011-08-01 16:14:52 |
Serge Hallyn |
lxc (Ubuntu): status |
In Progress |
Fix Released |
|
2011-08-01 16:15:11 |
Serge Hallyn |
nominated for series |
|
Ubuntu Lucid |
|
2011-08-01 16:15:11 |
Serge Hallyn |
nominated for series |
|
Ubuntu Maverick |
|
2011-08-01 16:15:11 |
Serge Hallyn |
nominated for series |
|
Ubuntu Natty |
|
2011-08-01 18:34:29 |
Launchpad Janitor |
branch linked |
|
lp:~serge-hallyn/ubuntu/natty/lxc/fix-restart |
|
2011-08-01 18:37:23 |
Launchpad Janitor |
branch linked |
|
lp:~serge-hallyn/ubuntu/maverick/lxc/fix-restart |
|
2011-08-01 18:47:49 |
Serge Hallyn |
description |
Binary package hint: lxc
I'm just seeing the upgrading to the latest lxc package:
Preparing to replace lxc 0.7.4-0ubuntu4 (using .../lxc_0.7.4-0ubuntu5_amd64.deb) ...
* Stopping LXC containers [ OK ]
Unpacking replacement lxc ...
Setting up lxc (0.7.4-0ubuntu5) ...
* Starting LXC containers
I checked, it really stopped the containers.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: lxc 0.7.4-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-8.41-server 2.6.38.2
Uname: Linux 2.6.38-8-server x86_64
Architecture: amd64
Date: Thu Apr 7 10:55:26 2011
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.1)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install) |
=======================================================
SRU Justification:
1. Impact: running containers are stopped and re-started when the lxc
package is updated.
2. How bug addressed: make dh_installinit with -r.
3. Minimal patch:
=== modified file 'debian/rules'
--- debian/rules 2011-01-23 17:28:55 +0000
+++ debian/rules 2011-08-01 18:33:23 +0000
@@ -10,6 +10,7 @@
DEB_CONFIGURE_EXTRA_FLAGS=--libdir=$(LIBDIR) \
--with-rootfs-path=$(LIBDIR) \
--enable-doc
+DEB_DH_INSTALLINIT_ARGS=-r
binary-install/lxc::
cp debian/lxc.overrides debian/lxc/usr/share/lintian/overrides/lxc
4. TEST CASE:
a. install lxc and debootstrap, and create a container:
apt-get -y install lxc debootstrap libvirt-bin
cat > /etc/lxc.conf << EOF
lxc.network.type=veth
lxc.network.link=virbr0
lxc.network.flags=up
EOF
lxc-create -t lucid -f /etc/lxc.conf -n l1
b. make the container autostart and start it
echo "RUN=yes" >> /etc/default/lxc
echo 'CONTAINERS="l1"' >> /etc/default/lxc
ln -s /var/lib/lxc/l1/config /etc/lxc/l1.conf
/etc/init.d/lxc start
c. in another terminal, open a console:
lxc-console -n l1
d. re-install lxc
dpkg -i /var/cache/apt/archives/lxc_*.deb
Without this patch, the lxc-console will stop when the container is
stopped. With this patch, it will continue to run.
5. Regression potential:
This only adds a flag to DEB_DH_INStALLINIT_ARGS and does not affect the
lxc code itself. It should have no effect except when upgrading lxc.
=======================================================
Binary package hint: lxc
I'm just seeing the upgrading to the latest lxc package:
Preparing to replace lxc 0.7.4-0ubuntu4 (using .../lxc_0.7.4-0ubuntu5_amd64.deb) ...
* Stopping LXC containers [ OK ]
Unpacking replacement lxc ...
Setting up lxc (0.7.4-0ubuntu5) ...
* Starting LXC containers
I checked, it really stopped the containers.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: lxc 0.7.4-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-8.41-server 2.6.38.2
Uname: Linux 2.6.38-8-server x86_64
Architecture: amd64
Date: Thu Apr 7 10:55:26 2011
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.1)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2011-08-01 18:52:15 |
Serge Hallyn |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2011-09-13 00:35:07 |
Clint Byrum |
bug task added |
|
lxc (Ubuntu Natty) |
|
2011-09-13 00:35:18 |
Clint Byrum |
bug task added |
|
lxc (Ubuntu Maverick) |
|
2011-09-13 00:35:28 |
Clint Byrum |
bug task added |
|
lxc (Ubuntu Lucid) |
|
2011-09-13 00:41:30 |
Clint Byrum |
lxc (Ubuntu Lucid): status |
New |
Invalid |
|
2011-09-13 00:41:38 |
Clint Byrum |
lxc (Ubuntu Maverick): status |
New |
Fix Committed |
|
2011-09-13 00:41:40 |
Clint Byrum |
lxc (Ubuntu Natty): status |
New |
Fix Committed |
|
2011-09-13 00:41:48 |
Clint Byrum |
lxc (Ubuntu Maverick): importance |
Undecided |
High |
|
2011-09-13 00:41:50 |
Clint Byrum |
lxc (Ubuntu Natty): importance |
Undecided |
High |
|
2011-09-22 05:01:14 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2011-09-22 05:01:15 |
Martin Pitt |
tags |
amd64 apport-bug natty |
amd64 apport-bug natty verification-needed |
|
2011-09-22 05:31:23 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/maverick-proposed/lxc |
|
2011-09-22 05:32:16 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/natty-proposed/lxc |
|
2011-10-14 18:03:00 |
Serge Hallyn |
lxc (Ubuntu): assignee |
Serge Hallyn (serge-hallyn) |
|
|
2012-02-07 16:53:57 |
Serge Hallyn |
tags |
amd64 apport-bug natty verification-needed |
amd64 apport-bug natty verification-done |
|
2012-02-10 06:40:14 |
Launchpad Janitor |
lxc (Ubuntu Maverick): status |
Fix Committed |
Fix Released |
|
2012-02-10 06:40:19 |
Launchpad Janitor |
lxc (Ubuntu Natty): status |
Fix Committed |
Fix Released |
|