[Bug 790971] Re: binfmt-support doesn't honor flags: in /usr/share/binfmts/foo
Colin Watson
cjwatson at canonical.com
Sat Jul 9 23:41:33 UTC 2011
Actually, 'C' implies 'O' in the kernel, so there's no need to change
update-binfmts here - just delete 'flags: OC' from the files in qemu-
user-static and add 'credentials yes'.
** Changed in: binfmt-support (Ubuntu)
Status: Triaged => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binfmt-support in Ubuntu.
https://bugs.launchpad.net/bugs/790971
Title:
binfmt-support doesn't honor flags: in /usr/share/binfmts/foo
Status in “binfmt-support” package in Ubuntu:
Won't Fix
Status in “qemu-linaro” package in Ubuntu:
Triaged
Bug description:
Binary package hint: binfmt-support
qemu-user-static ships a number of binfmt handlers under
/usr/share/binfmts which are registered in the postinst using 'update-
binfmts --import qemu-$target'. In natty, the resulting registrations
under /var/lib/binfmts (and in /proc/sys/fs/binfmt_misc) don't respect
the value of the flags: field set in the source file. As a result,
foreign-arch suid binaries can't be run under qemu because the kernel
has been told to use the suid bit from the non-setuid qemu
interpreter, instead of the one from the target binary.
Please fix update-binfmts to respect the flags: field, which I think
worked in previous versions.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: binfmt-support 2.0.3
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
Architecture: amd64
Date: Tue May 31 16:21:10 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: binfmt-support
UpgradeStatus: Upgraded to natty on 2011-03-24 (68 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binfmt-support/+bug/790971/+subscriptions
More information about the foundations-bugs
mailing list