Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188875 - net-p2p/vuze - wrong path to xfs_io
Summary: net-p2p/vuze - wrong path to xfs_io
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-14 18:27 UTC by Joël
Modified: 2013-11-25 07:36 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joël 2007-08-14 18:27:09 UTC
When enabling the xfs-specific allocation method in Azureus, it will call /usr/sbin/xfs_io to create zero-filled files. However, xfsprogs 2.8.21 installs this tool as /usr/bin/xfs_io.

Manually creating a symlink named "/usr/sbin/xfs_io" that points to "../bin/xfs_io" makes everything work.

Now, what is the proper approach ?
a) xfsprogs creates the symlink
b) xfsprogs installs xfs_io in /usr/sbin instead of /usr/bin -- may it break other apps ?
c) apply patch to azureus source code to change the path

Opinions welcome :-)
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-11-22 00:23:02 UTC
This option is gone in azureus-3*

betelgeuse@pena /mnt/checkouts/azureus3 $ grep xfs_io -r .
betelgeuse@pena /mnt/checkouts/azureus3 $ 
Comment 2 Joël 2007-11-22 19:04:05 UTC
Well, at least it's there in Azureus_3.0.3.4_source.zip (md5sum 1dd3f6cbf77ce90c1eb2f80d01c7e912)
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-11-22 21:04:17 UTC
Yeah it's still there. This is an upstream issue and we should file a bug upstream. Probably a good solution would be to provide a property to overwrite the location. searching $PATH is probably not useful as sbin is not usually in $PATH of normal users.

http://www.azureuswiki.com/index.php/Bug_reporting
Comment 4 Sebastian Krämer 2009-02-03 18:42:52 UTC
Sorry, I am so lazy and didn't check.
But with Vuze the problem is still there :( It would be great to have an option to specify a path (so that no changes are needed in how distributions file the programs), but of course this is an upstream issue.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-02-03 23:08:20 UTC
Fixed by a patch in CVS in vuze-4.3.1.2. The patch just changes /usr/sbin/ to /usr/bin
Comment 6 Azpegath 2010-08-22 15:21:50 UTC
Seems like xfsprogs-3.1.2 installs it into /usr/sbin/xfs_io now.

azp@skare$ whereis xfs_io
xfs_io: /usr/sbin/xfs_io /usr/share/man/man8/xfs_io.8.bz2

In Vuze 4.4.0.6 I get an error message complains about not finding it. The tooltip for it says "Make sure that /usr/sbin/xfs_io is properly installed on your system. In most Linux packages the files are in xfsprogs.", but it still doesn't seem to find it when running.
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-08-25 21:07:23 UTC
OK, reopening.
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-08-26 10:22:51 UTC
Patch removed in vuze 4.5.0.2 so it will expect /usr/sbin again. We'll have to get it stable at the same time or do some conditional patching if not possible.
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2013-11-25 07:36:53 UTC
This is in stable now.