[Bug 942961] [NEW] running-in-container exits 1 as non-root even inside a container

Scott Moser smoser at ubuntu.com
Tue Feb 28 23:19:30 UTC 2012


Public bug reported:

$ sudo running-in-container
lxc

$ running-in-container; echo $?
1

it should at very least exit with something other than '1' this canont
be determined other than as root.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: upstart 1.4-0ubuntu8
ProcVersionSignature: User Name 3.2.0-17.27-virtual 3.2.6
Uname: Linux 3.2.0-17-virtual x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Tue Feb 28 23:17:20 2012
Ec2AMI: ami-00000000
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
 TERM=screen
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.init.container.detect.conf: 2012-02-28T23:12:41.439110

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images precise

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

Title:
  running-in-container exits 1 as non-root even inside a container

Status in “upstart” package in Ubuntu:
  New

Bug description:
  $ sudo running-in-container
  lxc

  $ running-in-container; echo $?
  1

  it should at very least exit with something other than '1' this canont
  be determined other than as root.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: upstart 1.4-0ubuntu8
  ProcVersionSignature: User Name 3.2.0-17.27-virtual 3.2.6
  Uname: Linux 3.2.0-17-virtual x86_64
  ApportVersion: 1.93-0ubuntu2
  Architecture: amd64
  Date: Tue Feb 28 23:17:20 2012
  Ec2AMI: ami-00000000
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  ProcEnviron:
   TERM=screen
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.init.container.detect.conf: 2012-02-28T23:12:41.439110

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




More information about the foundations-bugs mailing list