Comment 0 for bug 941968

Revision history for this message
James Page (james-page) wrote : lockfile-create hangs inside lxc containers

I've hit this problem while testing juju charms that use ntp (specifically hbase - bug 800708).

The first instance in the first LXC container start OK; however subsequent instances in other LXC containers fail as ntp is installed:

root 1157 416 0 14:48 ? 00:00:00 /usr/bin/dpkg --status-fd 49 --configure resolvconf:all openjdk-6-jre-headless:amd
root 1313 1 0 14:48 ? 00:00:00 /usr/sbin/libvirtd -d
root 1398 1157 0 14:48 ? 00:00:00 /bin/sh /var/lib/dpkg/info/ntp.postinst configure
root 1437 1398 0 14:48 ? 00:00:00 /bin/sh /usr/sbin/invoke-rc.d ntp start
root 1453 1437 0 14:48 ? 00:00:00 /bin/sh /etc/init.d/ntp start
root 1458 1453 0 14:48 ? 00:00:00 lockfile-create /var/lock/ntpdate

Running lockfile-create by hand after killing the hanging lockfile-create:

ubuntu@jamespage-hendrix-hbase-regioncluster-2:~$ lockfile-create /var/lock/ntpdate
*** glibc detected *** lockfile-create: malloc(): memory corruption (fast): 0x000000000105b0e0 ***

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu30
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 14:49:30 2012
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)