Daemon-suppression code in installer breaks new invoke-rc.d logic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer-utils (Ubuntu) |
Fix Released
|
Critical
|
Colin Watson | ||
debootstrap (Ubuntu) |
Fix Released
|
Critical
|
Colin Watson | ||
ubiquity (Ubuntu) |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
The root of the problem as pertains to lxc is that debootstrap is resulting in a udev being started as a child of debootstrap. In particular:
( flock -x 200; debootstrap saucy xxx; ) 200>/tmp/zzz
after this completes, /proc/locks will show that /tmp/zzz is still locked; udev will be running; and a subsequent
( flock -x 200 ) 200>/tmp/zzz
will hang.
========
The saucy smoke test for lxc test_lxc_apparmor appears to be hung with saucy installations of 20130521.
The following tests appear to have completed successfully.
- test: test_lxc_reboot
- test: test_lxc_simple
- test: test_lxc_api
Steps to reproduce:
1. Install a default saucy server on a vm (either manually or preseeded default installation) with either i386 or amd64 image using KVM, libvirt
2. Do the following to install utah inside the VM
sudo apt-add-repository -y ppa:utah/stable
sudo apt-get update
sudo apt-get install utah
3. Run the lxc tests using
sudo utah -r lp:ubuntu-test-cases/server/runlists/lxc.run
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: lxc 0.9.0-0ubuntu7
ProcVersionSign
Uname: Linux 3.9.0-2-generic x86_64
ApportVersion: 2.10.1-0ubuntu1
Architecture: amd64
Date: Tue May 21 11:30:55 2013
InstallationDate: Installed on 2013-05-21 (0 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Alpha amd64 (20130521)
MarkForUpload: True
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: qa-daily-testing rls-s-incoming |
description: | updated |
description: | updated |
description: | updated |
Changed in systemd (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
status: | Confirmed → In Progress |
Changed in ubiquity (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in debian-installer (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Colin Watson (cjwatson) |
summary: |
- lxc smoke test, test_lxc_apparmor appears to hang on saucy VM + Daemon-suppression code in installer breaks new invoke-rc.d logic |
Changed in debootstrap (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in ubiquity (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in debian-installer (Ubuntu): | |
status: | Triaged → Fix Committed |
affects: | debian-installer (Ubuntu) → debian-installer-utils (Ubuntu) |
When I took a close look the first time, it appeared to be hung in the lxc-ubuntu template on flock.
If this is reproducible, and hangs again on flock, then it sounds like a kernel bug and we should mark as affecting linux.
I couldn't reproduce this on a saucy canonistack instance, but that may not have rebooted into the latest kernel.