Bug 147751 - binfmt_misc mounted twice
Summary: binfmt_misc mounted twice
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2005-02-10 22:25 UTC by Ivan Gyurdiev
Modified: 2014-03-17 02:52 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2005-02-21 19:44:46 UTC

Attachments (Terms of Use)

Description Ivan Gyurdiev 2005-02-10 22:25:04 UTC
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
selinux denials.

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

How reproducible:

Steps to Reproduce:
See summary

Additional info:

Comment 1 Bill Nottingham 2005-02-10 22:32:14 UTC
Putting it in fstab creates a) one off code in the installer b) excessively
messy code on upgrades.

Comment 2 Ivan Gyurdiev 2005-02-11 00:20:08 UTC
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.

Comment 3 Bill Nottingham 2005-02-11 04:10:15 UTC
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.

Comment 4 Ivan Gyurdiev 2005-02-11 04:22:36 UTC
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.

Comment 5 Ivan Gyurdiev 2005-02-19 21:59:41 UTC
So... is that WONTFIX, and should I close the bug?
It would still be nicer if it was in fstab, I think.

Comment 6 Bill Nottingham 2005-02-21 19:44:46 UTC
Yeah, it's pretty much WONTFIX at this point.

Note You need to log in before you can comment on or make changes to this bug.