lkml.org 
[lkml]   [2004]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [solved] binfmt_misc trouble with kernel 2.6.7
Anand Buddhdev wrote:

> Hi,
>
> A few days ago I upgraded to fedora kernel 2.6.7-1.494.2.2. Before that,
> I had kernels in which binfmt_misc was compiled as a module. The wine
> init script modprobe'd the module and then registered /usr/bin/wine as a
> handler for windows executables. However, in the new 2.6.7 kernel,
> binfmt_misc is compiled into the kernel, so the modprobe in the wine
> init script fails. I can fix that, but main problem I am having is that
> now, the permissions on the /proc/sys/fs/binfmt_misc directory are 0555:
>
> dr-xr-xr-x 2 root root 0 Aug 13 19:04 /proc/sys/fs/binfmt_misc
>
> I cannot create a file called register under /proc/sys/fs/binfmt_misc.
>
> I created a Fedora bugzilla entry for this but I was told that this is a
> problem in the kernel upstream. Is this indeed a known problem, and is
> there a fix?

Geoffrey Leach from the Fedora list provided a hint to the solution.
There's no bug. I just have to add:

none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0

to my /etc/fstab, and then the /proc/sys/fs/binfmt_misc directory
becomes writable, with a register and a status file in it. Sorry to have
bothered you all.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.066 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site