lp:~chihchun/lxc/lxc-lp1046684
- Get this branch:
- bzr branch lp:~chihchun/lxc/lxc-lp1046684
Branch merges
Related bugs
Bug #1046684: debian-templates missed hostname setting | Undecided | Fix Released | |
Bug #1046696: lxc-shutdown can not shutdown or reboot debian host | Undecided | Fix Released |
Related blueprints
Recent revisions
- 105. By Rex Tsai
-
0093-templates-
debian- shutdown: fixed lxc-shutdown for debian hosts. (LP: #1046696) - 104. By Rex Tsai
-
0092-templates-
debian- hostname: fixed hostname setting in tempalte script. (LP: #1046684) - 102. By Stéphane Graber
-
Fix lxc-ubuntu and lxc-ubuntu-cloud to fix the /dev/shm workaround to only
trigger when /dev/shm is not a symlink. (LP: #974584) - 101. By Stéphane Graber
-
* Update lxc-ubuntu template to use "dpkg --add-architecture" in containers
running dpkg >= 1.16.2. (LP: #1017862)
* Patch lxc-clone to stop messing with dhclient.conf when it contains a
placeholder (<hostname> or gethostname()). Fixes cases where dpkg will
prompt for modified config file on upgrade. (LP: #1021416)
* Allow write access to /proc/sys/kernel/ shm* as these are namespaced (IPC).
(LP: #1021411)
* Allow fstype=fuse.*, for all containers. (LP: #1021421)
* Rebase lxc-list on quantal's, properly shows FROZEN containers and prints
error messages on stderr. (LP: #1021429)
* Only run dh_apparmor against the lxc package. (LP: #1021428)
* Depend on adduser as it's being used in postinst.
* Fix lintian-overrides syntax. - 100. By Serge Hallyn
-
[ Serge Hallyn ]
* 0085-pivot-dir: use a directory other than /mnt to put the pivot_root
old dir into (LP: #986385)
* 0086-lxc-unshare- zero-args: fix lxc-unshare segfaulting when no command
is given (LP: #1011603)
* 0087-lxc-ls-dash: fix lxc-ls for containers whose names start with a
dash (LP: #1006332)
* 0088-ubuntu-template- flock: don't fail when flock is busy, just wait,
so concurrent lxc-creates don't break. (LP: #1007483)
* debian/rules, debian/lxc.apport: install apport hook (LP: #1011644)[ Stéphane Graber ]
* Ship /etc/dnsmasq.d/lxc to configure an eventual system wide
dnsmasq daemon not to listen on the LXC bridge interface. (LP: #928524) - 99. By Stéphane Graber
-
Fix broken logic in lxc-ubuntu template where lxc.devttydir would be
set to 'lxc' only for releases that don't support it. (LP: #1007493) - 98. By Stéphane Graber
-
[ Serge Hallyn ]
* 0083-always-close-all- fds.patch: Have lxc-start always run with
--close-all-fds. There is no advantage to having lxc-start fail with
inherited fds. (LP: #1003583)
* debian/lxc-net. upstart: don't put '()' after call to cleanup.
(LP: #1000174)[ Stéphane Graber ]
* Sync lxc-ubuntu with the one in Quantal:
- Bugfixes:
+ Update list of extra packages for debootstrap to only include vim
and ssh. The others were only relevant when we were still using the
minbase variant. (LP: #996839)
+ Update default /etc/hosts to match that of a regular Ubuntu system.
(adds missing ipv6 aliases) (LP: #1004108)
+ Make sure /etc/resolv.conf is valid before running any apt command.
Fixes a potential race condition (no report of it at this time).- Improvements we get by pulling the whole patch from Quantal.
These don't contain any user behaviour change but will make
cherry-picking any further change much easier.
+ Drop any hardcoded Ubuntu version check and replace by feature
checks instead. This removes the need for SRUs whenever we release
a new Ubuntu.
+ Format lxc-ubuntu to consistently use 4-spaces indent instead
of mixed spaces/tabs.
+ Update default /etc/network/interfaces to include the header.
+ Drop support for never supported releases (gutsy on sparc).
+ Update template help message for release and arch parameters.
Old string was only listing i386 and amd64, which is no longer
accurate (as of 12.04).
(This string isn't translated)
+ Switch default Ubuntu version from lucid to precise for systems
that don't have lsb_release (won't affect Ubuntu)* Sync lxc-start-ephemeral with the one in Quantal:
- Switch lxc-start-ephemeral from unreliable parsing of DHCP lease files
to using "ip netns" to retrieve the IP from the container's network
namespace. (LP: #994752)
- Fix a race in lxc-start-ephemeral where the container isn't yet
running when trying to get its IPs.
- Update a few calls so that lxc-start-ephemeral can be called as a
user (ensure consistent usage of sudo across the script). (LP: #1004069) - 97. By Stéphane Graber
-
Fix Ubuntu template to install the host architecture of the required
mutli-arch packages (when using qemu-user-static) instead of hardcoded
"amd64" version. (LP: #999187) - 96. By Serge Hallyn
-
* 0082-umount-
old-proc: fix proc auto-mount. If /proc is already mounted,
make sure that /proc/self points to 1, since we are container init.
Otherwise, assume proc is an old one, and umount it and remount our own.
If we keep the old proc mounted, apparmor transitions will by tried for
wrong task and fail. Also move check for whether apparmor is enabled so
that it is called by lxc-execute. (LP: #993706)
* debian/control: add cloud-utils to lxc Recommends, as lxc-ubuntu-cloud
needs it. (LP: #995361)
* debian/lxc.upstart: load apparmor profiles before auto-starting containers.
(LP: #989853)
* debian/control: add apparmor to lxc Depends (LP: #997681)
* debian/local/lxc- start-ephemeral : quote $line so its contents don't get
expanded (LP: #997687)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)