[Bug 790971] Re: binfmt-support doesn't honor flags: in /usr/share/binfmts/foo

Steve Langasek steve.langasek at canonical.com
Tue May 31 23:35:37 UTC 2011


-- 
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:
  New

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)




More information about the foundations-bugs mailing list