[Bug 516274] [NEW] --remove didn't disable
Launchpad Bug Tracker
516274 at bugs.launchpad.net
Sat Feb 6 09:24:36 GMT 2010
You have been subscribed to a public bug:
Binary package hint: binfmt-support
Hi
I just renamed qemu-arm-static to qemu-kvm-extras-static and the binfmt-support files from "arm" to "qemu-arm" to match Debian; the former package had in debian/qemu-arm-static.prerm:
if [ "$1" = remove ] && which update-binfmts >/dev/null; then
update-binfmts --package qemu-arm-static \
--remove arm /usr/bin/qemu-arm-static
fi
and the new package has in debian/qemu-kvm-extras-static.postinst:
if [ "$1" = configure ] && which update-binfmts >/dev/null; then
update-binfmts --import qemu-arm
fi
after upgrade, I had only /proc/sys/fs/binfmt_misc/arm in
/proc/sys/fs/binfmt_misc/.
After invoke-rc.d binfmt-support restart, I could see both arm and qemu-
arm.
It seems to me:
a) binfmt-support didn't disable the arm module when --removing it (but I thought it would)
b) binfmt-support didn't notice that the arm module was gone on restart; not sure whether this could be done though
Is this a bug in binfmt-support, or did the qemu-kvm package get it
wrong to start with?
Thanks,
ProblemType: Bug
Architecture: amd64
Date: Tue Feb 2 22:48:02 2010
DistroRelease: Ubuntu 10.04
Package: binfmt-support 1.2.15
PackageArchitecture: all
ProcEnviron:
LANGUAGE=fr_FR.UTF-8
PATH=(custom, user)
LANG=fr_FR.UTF-8
SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-12.16-generic
SourcePackage: binfmt-support
Uname: Linux 2.6.32-12-generic x86_64
** Affects: qemu-kvm (Ubuntu)
Importance: Undecided
Assignee: Loïc Minier (lool)
Status: Fix Released
** Tags: amd64 apport-bug lucid
--
--remove didn't disable
https://bugs.launchpad.net/bugs/516274
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu.
More information about the Ubuntu-server-bugs
mailing list