Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291540 - sys-fs/zfs-fuse: new devolopers / new beta version
Summary: sys-fs/zfs-fuse: new devolopers / new beta version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Parpart (RETIRED)
URL: http://rudd-o.com/new-projects/zfs
Whiteboard:
Keywords:
: 307993 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-02 09:46 UTC by Martin Böcher
Modified: 2011-02-19 18:37 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The ebuild (zfs-fuse-0.6.0_beta433.ebuild,2.38 KB, text/plain)
2009-12-06 01:33 UTC, Paulo da Silva
Details
File to put into files/0.6.0 (init script) (zfs-fuse.rc,936 bytes, text/plain)
2009-12-06 01:36 UTC, Paulo da Silva
Details
ebuild for 0.6.0 (zfs-fuse-0.6.0.ebuild,2.08 KB, text/plain)
2009-12-08 03:00 UTC, Paulo da Silva
Details
portage/sys.fs: tar.gz of zfs-fuse version 0.6.0 only (zfs-fuse.tgz,3.02 KB, application/octet-stream)
2010-05-03 23:08 UTC, Wolfgang Goetz
Details
ebuild for zfs-fuse-0.6.9_beta3 (zfs-fuse-0.6.9_beta3.ebuild,2.58 KB, text/plain)
2010-05-26 06:31 UTC, Stefan G. Weichinger
Details
ebuild for zfs-fuse-0.6.9_beta3, corrected (zfs-fuse-0.6.9_beta3.ebuild,2.53 KB, text/plain)
2010-05-26 09:15 UTC, Stefan G. Weichinger
Details
updated ebuild w/ patches added (zfs-fuse-0.6.9_beta3-r1.ebuild,2.68 KB, text/plain)
2010-05-27 10:57 UTC, Stefan G. Weichinger
Details
files/0.6.9_beta3/fix_zfs-fuse-socket.patch (fix_zfs-fuse-socket.patch,1.89 KB, patch)
2010-05-27 10:58 UTC, Stefan G. Weichinger
Details | Diff
ebuild pulling in git-sources of zfs-fuse (zfs-fuse-9999.ebuild,2.49 KB, text/plain)
2010-05-27 21:12 UTC, Stefan G. Weichinger
Details
ebuild pulling in testing-branch of git-repo at zfs-fuse.net (zfs-fuse-9999.ebuild,2.51 KB, text/plain)
2010-05-30 15:48 UTC, Stefan G. Weichinger
Details
latest beta4 from zfs-fuse.net (zfs-fuse-0.6.9_beta4.ebuild,2.61 KB, text/plain)
2010-05-30 18:30 UTC, Stefan G. Weichinger
Details
new release upstream: 0.6.9 (zfs-fuse-0.6.9.ebuild,2.64 KB, text/plain)
2010-06-03 19:38 UTC, Stefan G. Weichinger
Details
Improved 0.6.9 ebuild (zfs-fuse-0.6.9.ebuild,2.95 KB, text/plain)
2010-06-05 22:47 UTC, devsk
Details
Goes into files/fix_zdb_path.patch (fix_zdb_path.patch,371 bytes, patch)
2010-06-05 22:49 UTC, devsk
Details | Diff
Goes into files/fix_ztest_path.patch (fix_ztest_path.patch,458 bytes, patch)
2010-06-05 22:49 UTC, devsk
Details | Diff
Goes into files/fix_zfs-fuse_path.patch (fix_zfs-fuse_path.patch,378 bytes, patch)
2010-06-05 22:50 UTC, devsk
Details | Diff
Goes into files/zfs-fuse.rc (zfs-fuse.rc.upload,1.33 KB, text/plain)
2010-06-05 22:55 UTC, devsk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Böcher 2009-11-02 09:46:52 UTC
Ricardo is no longer maintaining and developing zfs-fuse. the new developer team is here:
http://rudd-o.com/new-projects/zfs
they also got a new beta version, please bump a new ebuild, thanks.

Reproducible: Always
Comment 1 Stefan G. Weichinger 2009-11-15 20:44:08 UTC
I am working on an ebuild here, zfs-fuse-0.6.0_beta-r433.ebuild compiles fine so far, I am still wrangling with getting the init.d-script working.

I was able to use zpool and zfs already by starting zfs-fuse manually.
Comment 2 Stefan G. Weichinger 2009-11-30 21:59:32 UTC
(In reply to comment #1)
 
> I was able to use zpool and zfs already by starting zfs-fuse manually.

Been playing around with that again. I am not able to reach  

http://rudd-o.com/new-projects/zfs

for now. Does anyone know more about the current status of zfs-fuse upstream?
Comment 3 Paulo da Silva 2009-12-06 01:33:48 UTC
Created attachment 212198 [details]
The ebuild
Comment 4 Paulo da Silva 2009-12-06 01:36:27 UTC
Created attachment 212200 [details]
File to put into files/0.6.0 (init script)

Both attachments are 0.5.0 modifications.
I am not very fluent writing ebuilds.
Any comments are welcome.
Comment 5 Stefan G. Weichinger 2009-12-07 11:58:33 UTC
(In reply to comment #4)
> Both attachments are 0.5.0 modifications.
> I am not very fluent writing ebuilds.
> Any comments are welcome.

Re-edited your ebuild to build 0.6.0 (instead of the beta).

I still get problems with starting up and mounting (sorry for the german parts, but you get the picture):

 # /etc/init.d/zfs-fuse start
* Starting ZFS-FUSE...                                                                                                                          [ ok ]
* Mounting ZFS filesystems...
connect: Datei oder Verzeichnis nicht gefunden
Please make sure that the zfs-fuse daemon is running.
internal error: failed to initialize ZFS library                                                                                                [ !! ]
* ERROR: zfs-fuse failed to start

This is ~amd64 here, sys-fs/fuse-2.8.1, kernel 2.6.31-tuxonice.
Comment 6 Paulo da Silva 2009-12-07 18:03:35 UTC
(In reply to comment #5)
> (In reply to comment #4)
...
> 
> Re-edited your ebuild to build 0.6.0 (instead of the beta).
Why? Actually it is a beta! Look at its site.
> 
> I still get problems with starting up and mounting (sorry for the german parts,

It's running pretty fine here, but I have a special init script for crypto mounts and I changed *my* init script to depend on it and it runs in the "default" run level instead of "boot".

So, try rc-update del zfs-fuse followed by rc-update add zfs-fuse default.
If it works and you need it in the "boot" run level you may need to check what is missing, for ex. if fuse module is already running. Just insert the modprobe into the script.

HTH
Comment 7 Paulo da Silva 2009-12-08 03:00:24 UTC
Created attachment 212431 [details]
ebuild for 0.6.0
Comment 8 Paulo da Silva 2009-12-08 03:06:37 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> ...
> > 
> > Re-edited your ebuild to build 0.6.0 (instead of the beta).
> Why? Actually it is a beta! Look at its site.
I hadn't seen that, in the meanwhile, betas went away.
I am very sorry for misunderstanding your message.
I am attaching the same ebuild but for 0.6.0.
Comment 9 Stefan G. Weichinger 2009-12-08 11:16:16 UTC
> I hadn't seen that, in the meanwhile, betas went away.
> I am very sorry for misunderstanding your message.

No problem.

> I am attaching the same ebuild but for 0.6.0.

Built your ebuild and restarted things in different runlevels, same error as posted above. fuse-module is loaded correctly.
 

Comment 10 Paulo da Silva 2009-12-08 16:14:29 UTC
(In reply to comment #9)
...
> 
> Built your ebuild and restarted things in different runlevels, same error as
> posted above. fuse-module is loaded correctly.
> 
> 

If I understand, you are able to run manually using zfs-fuse but not using /etc/init.d/zfs.fuse.

See if you have group disk and user daemon /etc/{group,passwd}.
Remove the mount part of the init script and then try zfs mount -a.
If this works, try to put a sync and a sleep 5 between the zfs-fuse launch and zfs mount.

Pls. do each experiment after a fresh (re)boot. I ran into troubles after zfs crashes only fixed by rebooting.

Beyond these I don't see any other reason.
Comment 11 Stefan G. Weichinger 2009-12-08 21:59:20 UTC
(In reply to comment #10)

> See if you have group disk and user daemon /etc/{group,passwd}.

Yep, I have user and group.

> Remove the mount part of the init script and then try zfs mount -a.

I could successfully do:
zfs-fuse
zfs mount -a
zpool create test /dev/sda3
zfs list
ls /test
zpool status

-->
# zpool status
  pool: test
 state: ONLINE
 scrub: none requested
config:

	NAME        STATE     READ WRITE CKSUM
	test        ONLINE       0     0     0
	  sda3      ONLINE       0     0     0

So it seems the init-script is the problem ... correct?

> If this works, try to put a sync and a sleep 5 between the zfs-fuse launch and
> zfs mount.

OK.

# /etc/init.d/zfs-fuse start
* Caching service dependencies...                                                                                                        [ ok ]
* Starting ZFS-FUSE...                                                                                                                   [ ok ]
* Mounting ZFS filesystems...
cannot mount 'test': Input/output error.
Make sure the FUSE module is loaded.                                                                                                     [ !! ]
* ERROR: zfs-fuse failed to start
 
> Pls. do each experiment after a fresh (re)boot. I ran into troubles after zfs
> crashes only fixed by rebooting.

Will do another test after SENDing this and a reboot.
Thanks, greets, Stefan
Comment 12 Paulo da Silva 2009-12-09 16:51:47 UTC
(In reply to comment #11)
> (In reply to comment #10)
> 
> > See if you have group disk and user daemon /etc/{group,passwd}.
> 
> Yep, I have user and group.
> 
> > Remove the mount part of the init script and then try zfs mount -a.
> 
> I could successfully do:
> zfs-fuse
> zfs mount -a
> zpool create test /dev/sda3
> zfs list
> ls /test
> zpool status
> 
> -->
> # zpool status
>   pool: test
>  state: ONLINE
>  scrub: none requested
> config:
> 
>         NAME        STATE     READ WRITE CKSUM
>         test        ONLINE       0     0     0
>           sda3      ONLINE       0     0     0
> 
> So it seems the init-script is the problem ... correct?

The scrip executes a zfs mount -a.

I am not sure but may be you need to create a filesystem first.
After zpool create test /dev/...
do
zfs create test/tmp

Then you should have /test/tmp fs.
zfs list

Then reboot your computer with the unmodified init script and see what happens
Comment 13 Stefan G. Weichinger 2009-12-09 20:49:49 UTC
(In reply to comment #12)
> I am not sure but may be you need to create a filesystem first.
> After zpool create test /dev/...
> do
> zfs create test/tmp
> 
> Then you should have /test/tmp fs.
> zfs list
> 
> Then reboot your computer with the unmodified init script and see what happens

Tried that. No difference.
I noticed that my system seems to try to mount zfs-filesystems twice ... I am on ~amd64 here, with baselayout-2/openrc, could that be a problem?

I checked that service zfs-fuse is only in runlevel boot and not in boot AND default, yes.

At first it lists something like "mounting zfs file systems"  and later "staring zfs-fuse" ... (sorry, I didn't write down the exact wording, I could reproduce if needed).

Thanks, Stefan.
Comment 14 Paulo da Silva 2009-12-10 01:50:07 UTC
(In reply to comment #13)
> (In reply to comment #12)
...
> I noticed that my system seems to try to mount zfs-filesystems twice ...
Then remove the "zfs mount -a" code from the init script and see if the filesystem gets mounted.
> I am
> on ~amd64 here, with baselayout-2/openrc, could that be a problem?

I am also on amd64 but with baselayout-1.
So, I can't provide any additional help.
Comment 15 Stefan G. Weichinger 2009-12-10 08:39:42 UTC
(In reply to comment #14)
> > I am
> > on ~amd64 here, with baselayout-2/openrc, could that be a problem?
> I am also on amd64 but with baselayout-1.
> So, I can't provide any additional help.

Thanks anyway, no big problem ... just playing around with zfs-fuse on that machine, no urgent need ... will try to solve that myself.

Comment 16 Christian Parpart (RETIRED) gentoo-dev 2009-12-24 13:31:34 UTC
Hey you both, this looks very interesting, I'm going into your work during this or the next free days.
Many thanks for your notice and work :)
Comment 17 Navid Zamani 2009-12-27 20:31:16 UTC
(In reply to comment #0)
> Ricardo is no longer maintaining and developing zfs-fuse. the new developer
> team is here:
> http://rudd-o.com/new-projects/zfs

This redirects to http://zfs-fuse.net/
I think the ebuild should reflect that, by linking straight to that URL. The tar file is there too.
Comment 18 Navid Zamani 2009-12-27 20:38:00 UTC
Uum, sorry, I did not look at the ebuild first. It already does that.

On the other hand: What is the reason, the ebuild only has
  KEYWORDS="~amd64"
when the INSTALL doc states, that it can be
  KEYWORDS="~x86 ~amd64 ~sparc64"
?

I would also recommend changing
  einfo "Don't forget this is an beta-quality release. Testing has been"
  einfo "very limited so please make sure you backup any important data."
to
 ewarn "Don't forget this is an beta-quality release. Testing has been"
 ewarn "very limited so please make sure you backup any important data."
.
Comment 19 Roel Brook 2010-01-02 11:34:16 UTC
The ebuild itself seems to emerge fine, but I get an error message when trying to create a pool:

Medusa zfs # zpool create herring /root/zfs/disk1 
cannot create 'herring': permission denied
Medusa zfs # 

Not sure if this is a problem with my local setup though, I could never get zfs-fuse to work the way I want it to.
Comment 20 Paulo da Silva 2010-04-26 00:45:49 UTC
(In reply to comment #16)
> Hey you both, this looks very interesting, I'm going into your work during this
> or the next free days.
> Many thanks for your notice and work :)
> 

Are you still maintaining this package?

Thanks
Comment 21 Wolfgang Goetz 2010-05-03 23:08:31 UTC
Created attachment 230213 [details]
portage/sys.fs: tar.gz of zfs-fuse version 0.6.0 only

files/0.6.0/zfs-fuse.rc: wait for socket, run as root, zfs mount
zfs-fuse-0.6.0.ebuild: download, website
files/0.6.0/fix_zdb_path.patch
Comment 22 Wolfgang Goetz 2010-05-03 23:18:11 UTC
(In reply to comment #21)
sample session:

tux64 ~ # eselect rc start zfs-fuse
Starting init script
 * Starting ZFS-FUSE ...                                                                                                                                                                       [ ok ]
 * Mounting ZFS filesystems ...
zhallo                          /zhallo
zhallo/hihi                     /zhallo/hihi 

tux64 ~ # zfs list
NAME          USED  AVAIL  REFER  MOUNTPOINT
zhallo        805M   171M    23K  /zhallo
zhallo/hihi   805M   171M   805M  /zhallo/hihi

tux64 ~ # zpool status
  pool: zhallo
 state: ONLINE
 scrub: none requested
config:

	NAME              STATE     READ WRITE CKSUM
	zhallo            ONLINE       0     0     0
	  /var/dddev/zp1  ONLINE       0     0     0
	  /var/dddev/zp2  ONLINE       0     0     0

errors: No known data errors

tux64 ~ # zpool list
NAME     SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
zhallo  1008M   805M   203M    79%  ONLINE  -

tux64 ~ # mount
...
zhallo on /zhallo type fuse (rw,allow_other)
zhallo/hihi on /zhallo/hihi type fuse (rw,allow_other)


tux64 ~ # eselect rc stop zfs-fuse
Stopping init script
 * Unmounting ZFS filesystems ...                                                                                                                                                              [ ok ]
 * Stopping ZFS-FUSE ... 


Comment 23 Stefan G. Weichinger 2010-05-04 19:35:42 UTC
Thanks, Wolfgang, your ebuild works OK here so far, also the init-script does the right thing when I reboot here with openrc. Your patch is better than mine ;-)

Anything specific you would like to have tested?
~amd64 here.

Stefan
Comment 24 Stefan G. Weichinger 2010-05-04 19:42:53 UTC
Just to be sure: http://zfs-fuse.net/releases/0.6.0 is the version we have right here?
Comment 25 Matthew Robbetts 2010-05-25 22:02:23 UTC
(In reply to comment #24)
> Just to be sure: http://zfs-fuse.net/releases/0.6.0 is the version we have
> right here?
 
That's right.

Are there plans to update this to the emerging 0.6.9 release? The current beta also looks good...
I tried hacking the existing ebuild but I don't really know how they work.
Comment 26 Stefan G. Weichinger 2010-05-26 06:31:41 UTC
Created attachment 232949 [details]
ebuild for zfs-fuse-0.6.9_beta3

compiles here, not yet emerged. Use with caution, as every beta ...
Comment 27 Stefan G. Weichinger 2010-05-26 09:15:37 UTC
Created attachment 232963 [details]
ebuild for zfs-fuse-0.6.9_beta3, corrected

corrected and working version. Just learned about SRC_URI arrows ;-)
Comment 28 Stefan G. Weichinger 2010-05-26 09:23:27 UTC
I am sorry to need 3 postings for one ebuild ... I should wait for the full emerge to run through before posting :-(
You need to create files/0.6.9_beta3 and put zfs-fuse.rc into it as well.
Comment 29 Matthew Robbetts 2010-05-27 02:20:56 UTC
(In reply to comment #28)
> I am sorry to need 3 postings for one ebuild ... I should wait for the full
> emerge to run through before posting :-(
> You need to create files/0.6.9_beta3 and put zfs-fuse.rc into it as well.
> 

Much obliged! Appears to work perfectly.
Comment 30 Stefan G. Weichinger 2010-05-27 09:05:06 UTC
(In reply to comment #29)
> Much obliged! Appears to work perfectly.

Yep, the ebuild seems OK.

I get errors here:
# zfs create test9/urks
cannot mount 'test9/urks': Input/output error.
Make sure the FUSE module is loaded.
filesystem successfully created, but not mounted

hiro sgw # lsmod | grep fuse
fuse                   58457  2 

# tail /var/log/messages
May 27 10:59:19 hiro zfs-fuse: kstat: fuse_mount error - trying to umount
May 27 10:59:19 hiro zfs-fuse: kstat: fuse_mount error - trying to umount
May 27 10:59:19 hiro zfs-fuse: !created version 23 pool test9 using 23
May 27 10:59:19 hiro zfs-fuse: kstat: fuse_mount error - trying to umount
May 27 10:59:19 hiro zfs-fuse: kstat: fuse_mount error - trying to umount

# cat /proc/version 
Linux version 2.6.33-tuxonice-r2
Comment 31 Stefan G. Weichinger 2010-05-27 10:50:14 UTC
(In reply to comment #30)
> I get errors here:

forget it, my mistake ...
Comment 32 Stefan G. Weichinger 2010-05-27 10:57:37 UTC
Created attachment 233105 [details]
updated ebuild w/ patches added

optional ebuild: re-added 2 of Wolfgang's patches, and the patch mentioned in http://zfs-fuse.net/issues/36
Comment 33 Stefan G. Weichinger 2010-05-27 10:58:48 UTC
Created attachment 233107 [details, diff]
files/0.6.9_beta3/fix_zfs-fuse-socket.patch

patch applied with zfs-fuse-0.6.9_beta3-r1.ebuild
Comment 34 Stefan G. Weichinger 2010-05-27 20:01:29 UTC
How to participate in the zfs-fuse-ml? I only find 
http://groups.google.com/group/zfs-fuse/
which needs a gmail-account.
I think we should give some feedback upstream ...
Comment 35 Stefan G. Weichinger 2010-05-27 21:12:44 UTC
Created attachment 233173 [details]
ebuild pulling in git-sources of zfs-fuse

This ebuild pulls in sources as in

git clone http://git.zfs-fuse.net/official

Emerged ok here, but you know ...
Comment 36 Stefan G. Weichinger 2010-05-27 21:30:14 UTC
(In reply to comment #35)
> Created an attachment (id=233173) [details]

This gives you 0.6.0 or so, and not the latest as intented.
I currently fiddle with checking out the "testing"-branch.
Comment 37 Stefan G. Weichinger 2010-05-30 15:48:16 UTC
Created attachment 233525 [details]
ebuild pulling in testing-branch of git-repo at zfs-fuse.net

git-checkout now OK afai see.
Doesn't build here, though :-(
Could anyone else test this?
Comment 38 Stefan G. Weichinger 2010-05-30 18:30:09 UTC
Created attachment 233553 [details]
latest beta4 from zfs-fuse.net

A new beta is out, visible in the git-repo, but not yet on the website at http://zfs-fuse.net/

My current ebuild pulls in the relevant git-tag from the git-repo at git.zfs-fuse.net.
Merges OK here. Pls create the content of files/0.6.9_beta4 yourself, as in the latest ebuilds. Thanks.
Comment 39 Stefan G. Weichinger 2010-05-30 18:35:38 UTC
(In reply to comment #37)
> Doesn't build here, though :-(
> Could anyone else test this?

Solved this with autoreconf, thanks ...

Comment 40 Stefan G. Weichinger 2010-06-01 19:09:58 UTC
Christian, could you put some of the ebuilds into portage?

As 0.6.9_beta4 is out on zfs-fuse.net it would help gentoo-users having a look and test things if those ebuilds were in the tree already, even if beta ...

Any concerns? Thanks, Stefan
Comment 41 Stefan G. Weichinger 2010-06-03 19:38:25 UTC
Created attachment 234029 [details]
new release upstream: 0.6.9

New stable release 0.6.9: http://zfs-fuse.net/releases/0.6.9
Comment 42 Paulo da Silva 2010-06-04 02:56:48 UTC
(In reply to comment #41)
> Created an attachment (id=234029) [details]
> new release upstream: 0.6.9
> 
> New stable release 0.6.9: http://zfs-fuse.net/releases/0.6.9
> 

I tried it ...
It emerged fine but after that, my pool was not recognized!!! My home dir was lost.
I emerged the old 0.6.0 and everything started working fine again.
Anything else I can try without loosing my Pool or, at least, getting it back again with 0.6.9?
Comment 43 Stefan G. Weichinger 2010-06-04 08:42:04 UTC
(In reply to comment #42)
>> New stable release 0.6.9: http://zfs-fuse.net/releases/0.6.9
> 
> I tried it ...
> It emerged fine but after that, my pool was not recognized!!! My home dir was
> lost.
> I emerged the old 0.6.0 and everything started working fine again.
> Anything else I can try without loosing my Pool or, at least, getting it back
> again with 0.6.9?

I had that in my tests also. Stop the 0.6.0 before emerging 0.6.9.
And maybe try to export the pool before and import after.
Trying to restart zfs-fuse after the merge is somewhat tricky, I assume.
Comment 44 Stefan G. Weichinger 2010-06-04 09:22:47 UTC
(In reply to comment #43)
> (In reply to comment #42)
> >> New stable release 0.6.9: http://zfs-fuse.net/releases/0.6.9
> > 
> > I tried it ...
> > It emerged fine but after that, my pool was not recognized!!! My home dir was
> > lost.
> > I emerged the old 0.6.0 and everything started working fine again.
> > Anything else I can try without loosing my Pool or, at least, getting it back
> > again with 0.6.9?
> 
> I had that in my tests also. Stop the 0.6.0 before emerging 0.6.9.
> And maybe try to export the pool before and import after.
> Trying to restart zfs-fuse after the merge is somewhat tricky, I assume.

And, as always, do backups :-)

Comment 45 Stefan G. Weichinger 2010-06-04 15:07:11 UTC
(In reply to comment #44)
> > I had that in my tests also. Stop the 0.6.0 before emerging 0.6.9.
> > And maybe try to export the pool before and import after.
> > Trying to restart zfs-fuse after the merge is somewhat tricky, I assume.
> 
> And, as always, do backups :-)
> 

Have a look at 

http://groups.google.com/group/zfs-fuse/browse_thread/thread/c95ed85d3be36bbd

as well. Export/import etc ...
Comment 46 Paulo da Silva 2010-06-04 17:52:11 UTC
The export/import fixed things up!!!
Thank you.

When does this go in the tree?
Comment 47 msalerno 2010-06-04 20:53:42 UTC
(In reply to comment #41)
> Created an attachment (id=234029) [details]
> new release upstream: 0.6.9
> 
> New stable release 0.6.9: http://zfs-fuse.net/releases/0.6.9
> 

Having issues building the ebuild due to missing patches.

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/sys-fs/zfs-fuse/files/0.6.9/fix_zfs-fuse_path.patch
 *   ( fix_zfs-fuse_path.patch )

Where are these patches located?
Comment 48 Stefan G. Weichinger 2010-06-05 11:19:48 UTC
(In reply to comment #47)
> Having issues building the ebuild due to missing patches.
> 
>  * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
>  * 
>  *   /usr/portage/sys-fs/zfs-fuse/files/0.6.9/fix_zfs-fuse_path.patch
>  *   ( fix_zfs-fuse_path.patch )
> 
> Where are these patches located?

Find them in the zfs-fuse.tgz tarball listed on top of the page and put them into 

/usr/portage/sys-fs/zfs-fuse/files/0.6.9

Small annoyance, will be gone when stuff gets into tree.
Comment 49 Samuli Suominen (RETIRED) gentoo-dev 2010-06-05 22:11:04 UTC
*** Bug 307993 has been marked as a duplicate of this bug. ***
Comment 50 devsk 2010-06-05 22:47:42 UTC
Created attachment 234245 [details]
Improved 0.6.9 ebuild

The patches and init script are not version specific.
Install additional tools and man pages.
Install zfsrc and zfs_pool_alert
Comment 51 devsk 2010-06-05 22:49:27 UTC
Created attachment 234247 [details, diff]
Goes into files/fix_zdb_path.patch
Comment 52 devsk 2010-06-05 22:49:51 UTC
Created attachment 234249 [details, diff]
Goes into files/fix_ztest_path.patch
Comment 53 devsk 2010-06-05 22:50:14 UTC
Created attachment 234251 [details, diff]
Goes into files/fix_zfs-fuse_path.patch
Comment 54 devsk 2010-06-05 22:55:27 UTC
Created attachment 234253 [details]
Goes into files/zfs-fuse.rc
Comment 55 devsk 2010-06-05 23:02:08 UTC
Actually, I was reviewing the three patches we have. And it looks like we don't need them. But someone more knowledgeable about why they were there in the first place may comment on that.
Comment 56 devsk 2010-06-05 23:07:23 UTC
The init script in the tgz file does a 'zfs mount' during 'start' and 'stop'. My script doesn't do that. Not sure if that's needed. Typically, a large number of FSs will just destroy the nice startup messages from openrc on the console.
Comment 57 Samuli Suominen (RETIRED) gentoo-dev 2010-06-05 23:49:04 UTC
I've committed 0.6.9 to Portage. 

If I missed something, please open a new bug and describe the problem there, this bug is getting a bit too long and old.