touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #49205
[Bug 1413343] [NEW] lxc-create debug output is broken or useless
Public bug reported:
Can't create container and debug output doesn't explain anything:
$ lxc-create --logpriority=DEBUG -n buildbox -o here.log
lxc-create: Error creating container buildbox
$ cat here.log
lxc-create 1421867190.847 WARN lxc_log - lxc_log_init called with log already initialized
lxc-create 1421867190.847 ERROR lxc_create_ui - Error creating container buildbox
I doubt that --logpriority option is processed at all:
$ lxc-create --logpriority=wat -n buildbox -o here.log
lxc-create: Error creating container buildbox
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lxc 1.0.6-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.13.0-44.73-generic 3.13.11-ckt12
Uname: Linux 3.13.0-44-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: i386
CurrentDesktop: Unity
Date: Wed Jan 21 21:55:50 2015
InstallationDate: Installed on 2012-03-12 (1045 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
KernLog:
Jan 21 07:40:13 SONiC kernel: [82266.453659] type=1400 audit(1421815213.422:96): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=17589 comm="apparmor_parser"
Jan 21 07:40:13 SONiC kernel: [82266.453673] type=1400 audit(1421815213.422:97): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=17589 comm="apparmor_parser"
Jan 21 07:40:13 SONiC kernel: [82266.454329] type=1400 audit(1421815213.422:98): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=17589 comm="apparmor_parser"
SourcePackage: lxc
UpgradeStatus: Upgraded to trusty on 2014-04-18 (277 days ago)
defaults.conf:
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:xx:xx:xx
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 trusty
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1413343
Title:
lxc-create debug output is broken or useless
Status in lxc package in Ubuntu:
New
Bug description:
Can't create container and debug output doesn't explain anything:
$ lxc-create --logpriority=DEBUG -n buildbox -o here.log
lxc-create: Error creating container buildbox
$ cat here.log
lxc-create 1421867190.847 WARN lxc_log - lxc_log_init called with log already initialized
lxc-create 1421867190.847 ERROR lxc_create_ui - Error creating container buildbox
I doubt that --logpriority option is processed at all:
$ lxc-create --logpriority=wat -n buildbox -o here.log
lxc-create: Error creating container buildbox
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lxc 1.0.6-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.13.0-44.73-generic 3.13.11-ckt12
Uname: Linux 3.13.0-44-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: i386
CurrentDesktop: Unity
Date: Wed Jan 21 21:55:50 2015
InstallationDate: Installed on 2012-03-12 (1045 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
KernLog:
Jan 21 07:40:13 SONiC kernel: [82266.453659] type=1400 audit(1421815213.422:96): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=17589 comm="apparmor_parser"
Jan 21 07:40:13 SONiC kernel: [82266.453673] type=1400 audit(1421815213.422:97): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=17589 comm="apparmor_parser"
Jan 21 07:40:13 SONiC kernel: [82266.454329] type=1400 audit(1421815213.422:98): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=17589 comm="apparmor_parser"
SourcePackage: lxc
UpgradeStatus: Upgraded to trusty on 2014-04-18 (277 days ago)
defaults.conf:
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:xx:xx:xx
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1413343/+subscriptions
Follow ups
References