3.15.0-1.x breaks lxc-attach for unprivileged containers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Won't Fix
|
High
|
Unassigned | ||
Utopic |
Fix Released
|
High
|
Unassigned |
Bug Description
An unprivileged call to lxc-attach fails with kernel 3.15.0.1.2, but works fine using 3.13.0-24-generic.
Under 3.15.0.1.2, attempting to connect to a running unprivileged container:
$ lxc-attach --clear-env -n trusty -- /bin/true
lxc-attach: Permission denied - Could not open /proc/3805/
lxc-attach: failed to get context of the init process, pid = 3805
Note that lxc-start and lxc-console are not affected.
To recreate:
1) Create an unpriv container:
$ lxc-create -n utopic -t download -- -d ubuntu -r utopic -a amd64
2) Boot with 3.13.0-24-generic
3) Start the container:
$ lxc-start -n utopic
4) Run a command in the container:
$ lxc-attach -n utopic --clear-env -n trusty -- /bin/true
5) Reboot into 3.15.0.1.2 and re-run the lxc-start and lxc-attach.
6) Observe the EPERM error.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-generic 3.15.0.1.2
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.2-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC1D0p: james 2827 F...m pulseaudio
/dev/snd/
CurrentDesktop: Unity
Date: Thu May 22 07:21:55 2014
HibernationDevice: RESUME=
InstallationDate: Installed on 2014-04-11 (40 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140409)
MachineType: LENOVO 20AQCTO1WW
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.129
SourcePackage: linux
UpgradeStatus: Upgraded to utopic on 2014-05-08 (13 days ago)
dmi.bios.date: 02/10/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: GJET71WW (2.21 )
dmi.board.
dmi.board.name: 20AQCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: 0B98405 STD
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20AQCTO1WW
dmi.product.
dmi.sys.vendor: LENOVO
Changed in linux (Ubuntu Utopic): | |
assignee: | nobody → Seth Forshee (sforshee) |
summary: |
- 3.15.0.1.2 breaks lxc-attach for unprivileged containers + 3.15.0-1.x breaks lxc-attach for unprivileged containers |
Changed in linux (Ubuntu Utopic): | |
status: | Confirmed → Won't Fix |
no longer affects: | linux (Ubuntu) |
no longer affects: | linux (Ubuntu Utopic) |
Changed in lxc (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in lxc (Ubuntu Utopic): | |
importance: | Undecided → High |
Changed in lxc (Ubuntu Trusty): | |
status: | Confirmed → Won't Fix |
This change was made by a bot.