[Debian-ha-maintainers] Bug#681818: resource-agents: ocf-lsb-lxc not working with version beyond 0.7.5 of lxc

Marcus Osdoba marcus.osdoba at googlemail.com
Mon Jul 16 19:47:34 UTC 2012


Package: resource-agents
Version: 1:3.9.2-5~bpo60+1
Severity: wishlist

Hi,

lxc-status:
Please apply upstream patch [0] to make function LXC_status in ocf/lxc script
work again with newer versions of lxc.
Problem:
lxc start always returns false, because "RUNNING" state is improper parsed.

Since the lxc-status command in the version packaged in wheezy also returns
more than one line, this affects wheezy, too.

lxc-ps:
lxc-ps -C init -opid in line 194 and 201 give an error (BSD syntax not
supported).
I solved this problem by
"lxc-ps -C init -opid" --> "lxc-ps -- -C init -opid"


lxc-halt:
Debian supports lxc-halt (by telinit 0 with chroot'ing in containers rootfs)
The usual lxc-template creates rootfs for containers without the expected
powerfail line in inittab.
It would be nice to make shutdown command for containers configurable and
support Debians lxc-halt approach (removes on additional manual configuration
step).

[0] https://github.com/ClusterLabs/resource-
agents/commit/f2cf00d7a771bd2c96e700f73a924328099ff3f6#heartbeat/lxc



-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages resource-agents depends on:
ii  cluster-glue      1.0.9+hg2665-1~bpo60+2 The reusable cluster components fo
ii  libc6             2.11.3-3               Embedded GNU C Library: Shared lib
ii  libglib2.0-0      2.24.2-1               The GLib library of C routines
ii  libnet1           1.1.4-2                library for the construction and h
ii  libplumb2         1.0.9+hg2665-1~bpo60+2 Reusable cluster libraries -- libp
ii  libplumbgpl2      1.0.9+hg2665-1~bpo60+2 Reusable cluster libraries -- libp
ii  python            2.6.6-3+squeeze7       interactive high-level object-orie

resource-agents recommends no packages.

resource-agents suggests no packages.

-- no debconf information



More information about the Debian-ha-maintainers mailing list