Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239369 - net-fs/openafs should not depend on net-fs/openafs-kernel
Summary: net-fs/openafs should not depend on net-fs/openafs-kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-02 20:01 UTC by Bryan Jacobs
Modified: 2015-03-22 21:16 UTC (History)
4 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 Bryan Jacobs 2008-10-02 20:01:23 UTC
An OpenAFS server may be run on a system that does not support an AFS client.  For instance, a VPS with a monolithic kernel.  openafs-kernel may not build or kernel sources may not even be available.

Please do not depend on openafs-kernel unconditionally - perhaps a USE flag is in order?

Reproducible: Always

Steps to Reproduce:
1.  Try to install openafs on a machine with no kernel sources installed
2.  See the kernel sources pulled in as deps
3.  Fail
Comment 1 SpanKY gentoo-dev 2010-06-21 23:14:38 UTC
how about a blocker ?

-RDEPEND="~net-fs/openafs-kernel-${PV}
+RDEPEND="!<net-fs/openafs-kernel-${PV}
+       !>net-fs/openafs-kernel-${PV}-r999
Comment 2 Oskar Stangenberg 2010-11-23 14:41:09 UTC
a better solution would be completely seperated server and client ebuilds
Comment 3 Malte E. 2013-11-19 08:51:32 UTC
If I understand correctly, you can either use openafs-kernel or you can use built-in kernel AFS support. So the client wouldn't have to depend on openafs-kernel either. A warning that either the kernel option or the ebuild are needed for the client to work should suffice.
Comment 4 Andrew Savchenko gentoo-dev 2014-01-04 12:10:40 UTC
Hi,
any news here?
Mandatory openafs-kernel is indeed superfluous.
Comment 5 Andrew Savchenko gentoo-dev 2014-01-04 12:42:09 UTC
Though openafs-kernel is mandatory for openafs client and may be omitted only for server.

Standard kernel module is a completely different solution which allows to mount AFS volumes without net-fs/openafs client at all, though with somewhat limited functionality (see Documentation/filesystems/afs.txt in kernel docs).
Comment 6 Andrew Savchenko gentoo-dev 2015-03-22 21:16:39 UTC
There is little point in separate client and server ebuilds, because servers depends on client and other distributions doesn't do such separation to my knowledge.

In 1.6.11 I added USE="modules" to control where kernel module should be build, enabled by default.