[Bug 1013618] Re: lxc-create fails when trying to moung proc into chroot

2012-06-15 Thread fbraun
Okay, my bad. I should have thought earlier of looking into logfiles.
Apparently my grsec setup caused this. Sorry! :)


Jun 15 13:31:04 Ubuntu-1204-precise-64-minimal kernel: [15471.491425] grsec: 
From : denied mount of proc as 
/var/cache/lxc/precise/partial-amd64/proc from chroot by 
/var/cache/lxc/precise/partial-amd64/bin/mount[mount:8114] uid/euid:0/0 
gid/egid:0/0, parent /usr/sbin/debootstrap[debootstrap:5159] uid/euid:0/0 
gid/egid:0/0

Thank your for reacting so quickly though. Highly appreciated!

** Changed in: lxc (Ubuntu)
   Status: Incomplete => Invalid

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

Title:
  lxc-create fails when trying to moung proc into chroot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1013618/+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 1013618] Re: lxc-create fails when trying to moung proc into chroot

2012-06-15 Thread Serge Hallyn
Hi,

I just tried, and couldn't reproduce this.  Is your 12.04 system
defaintely uptodate (lxc is, but is the rest?)?  Do you have a custom
apparmor policy you've installed for debootstrap?

You don't show 'sudo' in your command line.  Are you running it as root?
If you weren't, you should be getting an error like:

serge@sergelap:~$ lxc-create -t ubuntu -n backups
This command has to be run as root

Can you re-try the command, and then look through /var/log/syslog for
relevant messages ('sudo grep proc /var/log/syslog')

** Changed in: lxc (Ubuntu)
   Status: New => Incomplete

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

Title:
  lxc-create fails when trying to moung proc into chroot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1013618/+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 1013618] Re: lxc-create fails when trying to moung proc into chroot

2012-06-15 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Importance: Undecided => High

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

Title:
  lxc-create fails when trying to moung proc into chroot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1013618/+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