Red Hat Bugzilla – Bug 147751
binfmt_misc mounted twice
Last modified: 2014-03-16 22:52:21 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041228 Firefox/1.0 Fedora/1.0-8
Description of problem:
I use the binfmt_misc filesystem. However I've placed it in fstab
where it belongs, next to the other filesystems. That causes it
to be mounted twice, because the initscript mounts it internally
after the fstab scan. This is unfortunate, because it causes
Can the binfmt_misc filesystem please not be mounted in the rc script.
Instead, can it be put in fstab.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Putting it in fstab creates a) one off code in the installer b) excessively
messy code on upgrades.
Can you elaborate - I don't see the problem yet. Why does binfmt have to be
special than every other filesystem in the distribution that's in fstab.
Any filesystem that needs to be in fstab needs:
a) anaconda code to write it on install
b) random code in the %post of some package to add it on upgrade
b) is a real mess.
Well, it seems like the right thing to do for consistency.
On the other hand I have found umount/remount pretty useless for binfmt -
it doesn't clear the registered formats. Is there a way to clear those
without a reboot?
Perhaps you are right - I guess I could just get rid of it from fstab instead,
if that's the right thing to do.
So... is that WONTFIX, and should I close the bug?
It would still be nicer if it was in fstab, I think.
Yeah, it's pretty much WONTFIX at this point.