<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>76438</bug_id>
          
          <creation_ts>2005-01-02 12:00 0000</creation_ts>
          <short_desc>sys-fs/fuse-1.4 needs unknown symbol vfs_permission with kernel 2.6.10</short_desc>
          <delta_ts>2005-01-03 00:02:44 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mkay@gentoo.org</reporter>
          <assigned_to>genstef@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>mkay@gentoo.org</who>
            <bug_when>2005-01-02 12:00:09 0000</bug_when>
            <thetext>i need this old version of fuse to work with siefs. i&apos;ve tried to patch it just like version 2.1 (with changing vfs-permission to generic-permission if needed), but no success with that....</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2005-01-02 12:12:23 0000</bug_when>
            <thetext>Created an attachment (id=47393)
fuse-1.4-kernel-2.6.10.patch

just changing it like in fuse-2.1 worked for me .. strange</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mkay@gentoo.org</who>
            <bug_when>2005-01-02 14:14:25 0000</bug_when>
            <thetext>i&apos;ve tried your patch and it doesn&apos;t work either. fuse is installed, but i still have warning about this unknown symbol:

&lt;root@CogES&gt;/tmp: emerge --oneshot =sys-fs/fuse-1.4
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) sys-fs/fuse-1.4 to /
&gt;&gt;&gt; md5 src_uri ;-) fuse-1.4.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking fuse-1.4.tar.gz to /var/portage/tmp/portage/fuse-1.4/work
 * Applying fuse-1.4.patch ...                                            [ ok ]  &lt; this is patch posted by you

[... all compiling and installing stuff...]

 * Checking kernel module dependencies
WARNING: //lib/modules/2.6.10/fs/fuse.ko needs unknown symbol vfs_permission
&gt;&gt;&gt; Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...                                       [ ok ]
&gt;&gt;&gt; sys-fs/fuse-1.4 merged.

i&apos;ve tried also always change vfs_permission to generic_permission (without the &quot;if ... else... endif&quot; clause) in case my kernel isn&apos;t recognized corectly, but that doesn&apos;t help either. it&apos;s strange, becouse greping for vfs_permission in all fuse&apos;s sources shows only those two places in dir.c (so if i changed it where can this warning comes from?;/ )

if you got any ideas what else i can try, please let me know....

BTW: i&apos;m using vanilia 2.6.10, downloaded and configured manually (not handled by portage)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mkay@gentoo.org</who>
            <bug_when>2005-01-02 15:42:25 0000</bug_when>
            <thetext>i&apos;ve found solution for it. it&apos;s about inconsequency in diffrent fuse version. fuse-2.1 (which i&apos;ve had installed by mistake at begginning) installs module in  /lib/modules/2.6.10/fs/fuse.ko. then i&apos;ve realized i need version 1.4 so i simple emerge it, but while merging 1.4 it want&apos;s to install in /lib/modules/2.6.10/kernel/fs/fuse/fuse.ko

in the other hand - portage will never remove /lib/modules/2.6.10/fs/fuse.ko, even during deinstalation of fuse-2.1, couse this dir belongs to $CONFIG_PROTECT (by default), so we&apos;ve got two modules named fuse in kernel dir

i do not now why i had that warning with vfs_permision, since version 2.1 is patched by default anyway and i can&apos;t reproduce it now, however as you can see - it&apos;s impossible to automatically downgrade from fuse-2.1 to -1.4 and what&apos;s worse - user&apos;d think that he made it (well - i&apos;m not sure which module&apos;ll be loaded during modprobe fuse, but i assume it&apos;d be the one from 2.1 version)

solution (or rather workaround) for that is manually remove module from 2.1 version. after that i was able to emerge 1.4 without warning (your patch hovewer is still needed and shoulkd be included in portage)

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2005-01-03 00:02:44 0000</bug_when>
            <thetext>I changed the old ebuild to also install in /lib/modules/$KV}/fs</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>47393</attachid>
            <date>2005-01-02 12:12 0000</date>
            <desc>fuse-1.4-kernel-2.6.10.patch</desc>
            <filename>fuse-1.4-kernel-2.6.10.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtcHVyIGZ1c2UtMS40Lm9yaWcva2VybmVsL2Rpci5jIGZ1c2UtMS40L2tlcm5lbC9kaXIu
YwotLS0gZnVzZS0xLjQub3JpZy9rZXJuZWwvZGlyLmMJMjAwNS0wMS0wMiAyMTowOTowOS45MDgw
MTUzOTIgKzAxMDAKKysrIGZ1c2UtMS40L2tlcm5lbC9kaXIuYwkyMDA1LTAxLTAyIDIxOjEwOjIx
LjQzMDE0MjM3NiArMDEwMApAQCAtNDE3LDcgKzQxNywxMiBAQCBzdGF0aWMgaW50IF9mdXNlX3Bl
cm1pc3Npb24oc3RydWN0IGlub2RlCiAJaWYoIShmYy0+ZmxhZ3MgJiBGVVNFX0FMTE9XX09USEVS
KSAmJiBjdXJyZW50LT5mc3VpZCAhPSBmYy0+dWlkKQogCQlyZXR1cm4gLUVBQ0NFUzsKIAllbHNl
IGlmKGZjLT5mbGFncyAmIEZVU0VfREVGQVVMVF9QRVJNSVNTSU9OUykgewotCQlpbnQgZXJyID0g
dmZzX3Blcm1pc3Npb24oaW5vZGUsIG1hc2spOworCQlpbnQgZXJyOworI2lmIExJTlVYX1ZFUlNJ
T05fQ09ERSA8IEtFUk5FTF9WRVJTSU9OKDIsNiwxMCkKKwkJ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