--remove didn't disable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm (Ubuntu) |
Fix Released
|
Undecided
|
Loïc Minier |
Bug Description
Binary package hint: binfmt-support
Hi
I just renamed qemu-arm-static to qemu-kvm-
if [ "$1" = remove ] && which update-binfmts >/dev/null; then
update-binfmts --package qemu-arm-static \
--remove arm /usr/bin/
fi
and the new package has in debian/
if [ "$1" = configure ] && which update-binfmts >/dev/null; then
update-binfmts --import qemu-arm
fi
after upgrade, I had only /proc/sys/
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
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=fr_FR.UTF-8
SHELL=/bin/zsh
ProcVersionSign
SourcePackage: binfmt-support
Uname: Linux 2.6.32-12-generic x86_64
Sorry, that was actually a bug in the maintainer scripts, not in binfmt-support. --remove does work as documented.