[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2014-12-04 Thread Rolf Leggewie
quantal has seen the end of its life and is no longer receiving any
updates. Marking the quantal task for this ticket as Won't Fix.

** Changed in: liblockfile (Ubuntu Quantal)
   Status: Fix Committed = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to liblockfile in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2014-12-04 Thread Rolf Leggewie
quantal has seen the end of its life and is no longer receiving any
updates. Marking the quantal task for this ticket as Won't Fix.

** Changed in: liblockfile (Ubuntu Quantal)
   Status: Fix Committed = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-10-28 Thread Joseph W. Breu
never mind - my co-worker let me down and this totally works.  my bad.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-10-28 Thread Joseph W. Breu
this is also on precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-10-28 Thread Joseph W. Breu
Phillipp

I am, and it is still not fixed


root@breu-prec-jenkins-32675-api:~# apt-cache policy liblockfile1
liblockfile1:
  Installed: 1.09-3
  Candidate: 1.09-3ubuntu0.1
  Version table:
 1.09-3ubuntu0.1 0
500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
 *** 1.09-3 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
root@breu-prec-jenkins-32675-api:~# hostname
breu-prec-jenkins-32675-api
root@breu-prec-jenkins-32675-api:~# hostname 
areallylonghostnamethatshouldbreakeverything
root@breu-prec-jenkins-32675-api:~# hostname
areallylonghostnamethatshouldbreakeverything
root@breu-prec-jenkins-32675-api:~# lockfile-create /var/lock/123date
*** glibc detected *** lockfile-create: free(): invalid next size (fast): 
0x024bc0a0 ***
Segmentation fault (core dumped)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-10-16 Thread Alexander List
Can we please get this released in a precise SRU?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-10-16 Thread Launchpad Bug Tracker
This bug was fixed in the package liblockfile - 1.09-3ubuntu0.1

---
liblockfile (1.09-3ubuntu0.1) precise-proposed; urgency=low

  * debian/patches/fix-buffer-overflows.patch: Fix buffer overflows when
building strings
- Protect against overflows caused by long hostnames (LP: #941968)
- Protect against overflows caused by large PID numbers (LP: #1011477)
 -- Adam Gandelman ad...@ubuntu.com   Thu, 20 Jun 2013 12:37:10 -0700

** Changed in: liblockfile (Ubuntu Precise)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-09-23 Thread Joseph W. Breu
I tested this and the bug still exists where lockfile-create segfaults
with a long hostname.  The problem here is the 23 characters allowed for
the system name is still not sufficient.  gethostname() can return a
hostname up to 256 characters long.

on precise with liblockfile-bin 1.09-3ubuntu0.1 installed:

root@areallylonghostnamethatshouldbreakeverything:~# lockfile-create 
/var/lock/ntpdate
*** glibc detected *** lockfile-create: free(): invalid next size (fast): 
0x0128f0a0 ***
Segmentation fault (core dumped)


from the patch:

#define TMPLOCKSTR  .lk
#define TMPLOCKSTRSZstrlen(TMPLOCKSTR)
+#define TMPLOCKPIDSZ   5
#define TMPLOCKTIMESZ   1
#define TMPLOCKSYSNAMESZ23
#define TMPLOCKFILENAMESZ   (TMPLOCKSTRSZ + TMPLOCKPIDSZ + \
 TMPLOCKTIMESZ + TMPLOCKSYSNAMESZ)

TMPLOCKSYSNAMESZ needs to be much larger than 23.  This should actually
be the same as the size of sysname which in this case is 256.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-08-29 Thread Brian Murray
** Tags added: verification-done-precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-07-28 Thread Peter Schroeter
Came here by way of the ntp restart failing due to liblockfile errors if
the hostname is too long.  The 1.09-3ubuntu0.1 proposed package fixes
the error for me, thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-07-05 Thread Colin Watson
Hello James, or anyone else affected,

Accepted liblockfile into quantal-proposed. The package will build now
and be available at
http://launchpad.net/ubuntu/+source/liblockfile/1.09-4ubuntu0.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: liblockfile (Ubuntu Quantal)
   Status: New = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-07-05 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-branches/ubuntu/quantal/liblockfile
/quantal-proposed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-06-27 Thread Brian Murray
Hello James, or anyone else affected,

Accepted liblockfile into precise-proposed. The package will build now
and be available at
http://launchpad.net/ubuntu/+source/liblockfile/1.09-3ubuntu0.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: liblockfile (Ubuntu Precise)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-06-27 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-proposed/liblockfile

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-06-24 Thread Adam Gandelman
The raring nomination can be removed/rejected.  The patch that fixes the
issue was released in raring circa liblockfile 1.09-5ubuntu1.

** Description changed:

  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): 
0x0105b0e0 ***
  
  [Test Case]
  Set a hostname of 64 characters (HOST_NAME_MAX is 64) and create a lock file:
  
  $ lock=/var/lock/lockfile-create-test
  $ lockfile-remove $lock
  $ sudo hostname hostna01234567890123456789012345678901234567890123456789
  $ lockfile-create $lock
  
  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)
+ 
+ [Regression Potential]
+ Minimum.  We've applied a patch to the same version of liblockfile in 13.04  
and that has since been merged to debian with no reports of regressions.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-06-24 Thread Martin Pitt
** Also affects: liblockfile (Ubuntu Raring)
   Importance: Undecided
   Status: New

** Changed in: liblockfile (Ubuntu Raring)
   Status: New = Fix Released

** Also affects: liblockfile (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: liblockfile (Ubuntu Quantal)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-06-24 Thread Martin Pitt
Sponsored precise upload. Unsubscribing sponsors.

** Changed in: liblockfile (Ubuntu Precise)
   Status: New = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-06-20 Thread Adam Gandelman
Hitting this on precise trying to deploy a more recent Ceph (which
apparently uses liblockfile) on an openstack cloud configured to use its
default hostname scheme, eg: server-e5476307-a3c3-4703-b28c-
84fedce7078.novalocal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-04-22 Thread Haw Loeung
** Tags added: canonical-webops-juju

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-31 Thread Nick Moffitt
** Tags added: canonistack

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-30 Thread Nick Moffitt
or do I have to type bug#971314 or LP #971314 or what

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-30 Thread Nick Moffitt
this may be a dup of  #971314

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-24 Thread Michael Terry
I just uploaded your patch to raring, and sent it on to Debian bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677225

** Bug watch added: Debian Bug tracker #677225
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677225

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-24 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/raring-proposed/liblockfile

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-24 Thread Launchpad Bug Tracker
This bug was fixed in the package liblockfile - 1.09-5ubuntu1

---
liblockfile (1.09-5ubuntu1) raring; urgency=low

  * debian/patches/fix-buffer-overflows.patch: Fix buffer overflows when
building strings
- Protect against overflows caused by long hostnames (LP: #941968)
- Protect against overflows caused by large PID numbers (LP: #1011477)
 -- Tyler Hicks tyhi...@canonical.com   Wed, 09 Jan 2013 12:23:07 -0800

** Changed in: liblockfile (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-23 Thread Serge Hallyn
** Changed in: liblockfile (Ubuntu)
   Importance: Medium = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-09 Thread Serge Hallyn
** No longer affects: lockfile-progs (Ubuntu)

** No longer affects: ntp (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-09 Thread Serge Hallyn
** No longer affects: lockfile-progs (Ubuntu)

** No longer affects: ntp (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-09 Thread Tyler Hicks
Here's debdiff for Raring. It passes the [Test Case] that I added to the
bug description, as well as other manual testing such as a creating a
lockfile on a system with a 1 character long hostname.

The debdiff also fixes bug #1011477. See that bug for info and test
case.

** Description changed:

  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  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): 
0x0105b0e0 ***
+ 
+ [Test Case]
+ Set a hostname of 64 characters (HOST_NAME_MAX is 64) and create a lock file:
+ 
+ $ lock=/var/lock/lockfile-create-test
+ $ lockfile-remove $lock
+ $ sudo hostname hostna01234567890123456789012345678901234567890123456789
+ $ lockfile-create $lock
  
  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)

** Patch added: liblockfile_1.09-5ubuntu1.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+attachment/3478468/+files/liblockfile_1.09-5ubuntu1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-09 Thread Tyler Hicks
** Changed in: liblockfile (Ubuntu)
   Status: In Progress = Confirmed

** Changed in: liblockfile (Ubuntu)
 Assignee: Tyler Hicks (tyhicks) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
@Sebastian,

what you are seeing is likely unrelated to this particular bug.  However
if I simply do something like:

juju deploy --repository=~/myrepo local:precise/ovs-lxc
lxc-5678901234567890123456789012345678901

and very quickly

juju debug-log

then I see:

LXCError: lxc-start: node name '' is too long
lxc-start: failed to read configuration file
Traceback (most recent call last):

Could you confirm whether that is what you also see?  And if so, file it
as a bug against lxc and juju?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
Never mind - simply doing

sudo hostname host567890123456789012345678901234567890
sudo apt-get install lxc

in precise reproduced this, giving me

 * Starting NTP server ntpd
*** glibc detected *** lockfile-create: free(): invalid next size
(fast): 0x00d750a0 ***

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
@jamespage,

do you still see this bug?

** Changed in: ntp (Ubuntu)
   Status: Expired = Confirmed

** Changed in: ntp (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
Note I get the same thing in a kvm-based cloud instance.

Marking this bug as not affecting lxc.

** No longer affects: lxc (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
I have reproduced this on precise and raring.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
** Also affects: lockfile-progs (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Tyler Hicks
The problem is with string handling in liblockfile's
lockfile_create_save_tmplock(). I'll start work on getting a debdiff
prepared.

** Also affects: liblockfile (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: liblockfile (Ubuntu)
 Assignee: (unassigned) = Tyler Hicks (tyhicks)

** Changed in: liblockfile (Ubuntu)
   Importance: Undecided = Medium

** Changed in: liblockfile (Ubuntu)
   Status: New = In Progress

** Changed in: lockfile-progs (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
@Sebastian,

what you are seeing is likely unrelated to this particular bug.  However
if I simply do something like:

juju deploy --repository=~/myrepo local:precise/ovs-lxc
lxc-5678901234567890123456789012345678901

and very quickly

juju debug-log

then I see:

LXCError: lxc-start: node name '' is too long
lxc-start: failed to read configuration file
Traceback (most recent call last):

Could you confirm whether that is what you also see?  And if so, file it
as a bug against lxc and juju?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
@jamespage,

do you still see this bug?

** Changed in: ntp (Ubuntu)
   Status: Expired = Confirmed

** Changed in: ntp (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
Never mind - simply doing

sudo hostname host567890123456789012345678901234567890
sudo apt-get install lxc

in precise reproduced this, giving me

 * Starting NTP server ntpd
*** glibc detected *** lockfile-create: free(): invalid next size
(fast): 0x00d750a0 ***

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
Note I get the same thing in a kvm-based cloud instance.

Marking this bug as not affecting lxc.

** No longer affects: lxc (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
I have reproduced this on precise and raring.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Serge Hallyn
** Also affects: lockfile-progs (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lockfile-progs/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-08 Thread Tyler Hicks
The problem is with string handling in liblockfile's
lockfile_create_save_tmplock(). I'll start work on getting a debdiff
prepared.

** Also affects: liblockfile (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: liblockfile (Ubuntu)
 Assignee: (unassigned) = Tyler Hicks (tyhicks)

** Changed in: liblockfile (Ubuntu)
   Importance: Undecided = Medium

** Changed in: liblockfile (Ubuntu)
   Status: New = In Progress

** Changed in: lockfile-progs (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/liblockfile/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-03 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Status: Expired = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-03 Thread Serge Hallyn
Sebastian,

I'm sorry, could you please give us more specifically the steps you
took?  What was that username for - is that the logged-in username on
the host?  is the environment the environment name in
.juju/environments.yaml, and service the name of the charm you invoked?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-03 Thread Sebastian Hoffmann
Sure. First, I ssh'd to project64198@deneb, a (metal) server of mine.
There prepared for local deployment:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:juju/pkgs
sudo apt-get update  sudo apt-get install juju
sudo apt-get install lxc apt-cacher-ng libzookeeper-java zookeeper

Now I ran juju bootstrap and got a .juju/environments.yaml, which I
modiified:

environments:
  democluster:
type: local
control-bucket: juju-c81e728d9d4c2f636f067f89cc14862c
admin-secret: eccbc87e4b5ce2fe28308fd9f2a7baf3
default-series: precise
juju-origin: ppa
data-dir: /home/project64198/democluster

Also, I ran ssh-keygen -t rsa and mkdir democluster, and prepared for
hbase by writing this config.yaml:

hadoop-master:
hbase: True
hadoop-workers:
hbase: True
thrift:
monitoring_port: 9090

After another juju bootstrap I deployed my cloud:

juju deploy zookeeper
juju deploy --config config.yaml hadoop hadoop-master
juju deploy --config config.yaml hadoop hadoop-workers
juju deploy hbase hbase-master
juju deploy hbase hbase-regions
juju add-relation hadoop-master:namenode hadoop-workers:datanode
juju add-relation hbase-master zookeeper
juju add-relation hbase-regions zookeeper
juju add-relation hadoop-master:namenode hbase-master:namenode
juju add-relation hadoop-master:namenode hbase-regions:namenode
juju add-relation hbase-master:master hbase-regions:regionserver

It was at this point that hbase-master would stick in agent-state: pending, 
public-address: null
So I ran juju destroy-environment, changed these lines in 
.juju/environments.yaml:

  demo:
data-dir: /home/project64198/demo

After an mkdir demo, juju bootstrap and all the deploys and add-
relations, my cloud was up.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-03 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Status: Expired = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-03 Thread Serge Hallyn
Sebastian,

I'm sorry, could you please give us more specifically the steps you
took?  What was that username for - is that the logged-in username on
the host?  is the environment the environment name in
.juju/environments.yaml, and service the name of the charm you invoked?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-03 Thread Sebastian Hoffmann
Sure. First, I ssh'd to project64198@deneb, a (metal) server of mine.
There prepared for local deployment:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:juju/pkgs
sudo apt-get update  sudo apt-get install juju
sudo apt-get install lxc apt-cacher-ng libzookeeper-java zookeeper

Now I ran juju bootstrap and got a .juju/environments.yaml, which I
modiified:

environments:
  democluster:
type: local
control-bucket: juju-c81e728d9d4c2f636f067f89cc14862c
admin-secret: eccbc87e4b5ce2fe28308fd9f2a7baf3
default-series: precise
juju-origin: ppa
data-dir: /home/project64198/democluster

Also, I ran ssh-keygen -t rsa and mkdir democluster, and prepared for
hbase by writing this config.yaml:

hadoop-master:
hbase: True
hadoop-workers:
hbase: True
thrift:
monitoring_port: 9090

After another juju bootstrap I deployed my cloud:

juju deploy zookeeper
juju deploy --config config.yaml hadoop hadoop-master
juju deploy --config config.yaml hadoop hadoop-workers
juju deploy hbase hbase-master
juju deploy hbase hbase-regions
juju add-relation hadoop-master:namenode hadoop-workers:datanode
juju add-relation hbase-master zookeeper
juju add-relation hbase-regions zookeeper
juju add-relation hadoop-master:namenode hbase-master:namenode
juju add-relation hadoop-master:namenode hbase-regions:namenode
juju add-relation hbase-master:master hbase-regions:regionserver

It was at this point that hbase-master would stick in agent-state: pending, 
public-address: null
So I ran juju destroy-environment, changed these lines in 
.juju/environments.yaml:

  demo:
data-dir: /home/project64198/demo

After an mkdir demo, juju bootstrap and all the deploys and add-
relations, my cloud was up.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-02 Thread Sebastian Hoffmann
I accidentally reproduced this, using:
username project64198
environment democluster
service hbase-master

project64198-democluster-hbase-master-2 has 40 characters. After I
destroyed the environment and recreated under the name demo, everything
was running fine.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2013-01-02 Thread Sebastian Hoffmann
I accidentally reproduced this, using:
username project64198
environment democluster
service hbase-master

project64198-democluster-hbase-master-2 has 40 characters. After I
destroyed the environment and recreated under the name demo, everything
was running fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2012-07-15 Thread Launchpad Bug Tracker
[Expired for lxc (Ubuntu) because there has been no activity for 60
days.]

** Changed in: lxc (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2012-07-15 Thread Launchpad Bug Tracker
[Expired for ntp (Ubuntu) because there has been no activity for 60
days.]

** Changed in: ntp (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2012-07-15 Thread Launchpad Bug Tracker
[Expired for lxc (Ubuntu) because there has been no activity for 60
days.]

** Changed in: lxc (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2012-07-15 Thread Launchpad Bug Tracker
[Expired for ntp (Ubuntu) because there has been no activity for 60
days.]

** Changed in: ntp (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2012-05-16 Thread Serge Hallyn
Simply running lockfile-create, killing it quickly, and re-running it in
a container doesn't reproduce it for me.  Can you please tell me which
juju charm to use to reproduce this?  Can you still reproduce this
today?

** Changed in: lxc (Ubuntu)
   Status: Confirmed = Incomplete

** Changed in: ntp (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2012-05-16 Thread Serge Hallyn
Simply running lockfile-create, killing it quickly, and re-running it in
a container doesn't reproduce it for me.  Can you please tell me which
juju charm to use to reproduce this?  Can you still reproduce this
today?

** Changed in: lxc (Ubuntu)
   Status: Confirmed = Incomplete

** Changed in: ntp (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2012-05-03 Thread Serge Hallyn
I decided not to assign to jjohansen, only subscribe him :)

If noone else gets to the bottom of this before I clear some things off
my plate, I will see if I can get to the bottom of it.  I would assign
myself to it, but dont' want to stop someone else from jumping in if
they have time.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2012-05-03 Thread Serge Hallyn
Brue and davidpbritton,

could you please attach the charm you were using?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2012-05-03 Thread Serge Hallyn
I decided not to assign to jjohansen, only subscribe him :)

If noone else gets to the bottom of this before I clear some things off
my plate, I will see if I can get to the bottom of it.  I would assign
myself to it, but dont' want to stop someone else from jumping in if
they have time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 941968] Re: lockfile-create hangs inside lxc containers (potential buffer overflow?)

2012-05-03 Thread Serge Hallyn
Brue and davidpbritton,

could you please attach the charm you were using?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941968

Title:
  lockfile-create hangs inside lxc containers (potential buffer
  overflow?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/941968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs