Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183201 - Turning sysfs use flag on by default in profiles for 2.6 kernels
Summary: Turning sysfs use flag on by default in profiles for 2.6 kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-25 23:02 UTC by Petteri Räty (RETIRED)
Modified: 2008-07-29 14:47 UTC (History)
0 users

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 Petteri Räty (RETIRED) gentoo-dev 2007-06-25 23:02:02 UTC
betelgeuse@pena /usr/portage/dev-libs/DirectFB $ euse -i sysfs
global use flags (searching: sysfs)
************************************************************
no matching entries found

local use flags (searching: sysfs)
************************************************************
[-    ] sysfs (dev-libs/DirectFB):
Add support for the sysfs filesystem (requires Linux-2.6+)

[-    ] sysfs (net-misc/bridge-utils):
Enable use of the sysfs filesystem (Linux-2.6+) via libsysfs

This should be on by default in profiles for 2.6 kernels I think. CCing all people who I think maintain profiles as I think there is no common parent to do this in but please correct me if I am wrong or missed someone.
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2007-06-26 13:13:05 UTC
We don't care at the moment, none of the packages you mention is keyworded for sparc (actually they're quite broken!)
Comment 2 Joshua Kinard gentoo-dev 2007-06-28 01:16:04 UTC
The two packages listed here don't really have a use on mips for the time being.  Our frame buffer devices are about as unique as things can get, and I have never tested wireless.  We'll bypass for now.
Comment 3 Fabian Groffen gentoo-dev 2007-06-28 08:23:02 UTC
ppc-macos doesn't have a linux kernel, so this doesn't make sense to me.
Comment 4 solar (RETIRED) gentoo-dev 2007-06-28 16:32:54 UTC
On the hardened profiles we would rather let the users pick his/her own 
USE=flags vs forcing a bunch of what "we think". Unless omitting this
flag causes breage in 'system' we would like to abstain from adding it 
globally.
Comment 5 Brian Evans 2007-07-20 18:06:36 UTC
Alpha is not interested as discussed in irc
Comment 6 Brian Evans 2007-07-20 18:10:54 UTC
(In reply to comment #5)
> Alpha is not interested as discussed in irc
> 

EDIT: We don't have a keyword for bridge-utils. Having only one package for a default flag is not what we want unless DirectFB would break.
Comment 7 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2007-07-20 18:15:03 UTC
I'm with Brian.
Thanks.(In reply to comment #6)
> (In reply to comment #5)
> > Alpha is not interested as discussed in irc
> > 
> 
> EDIT: We don't have a keyword for bridge-utils. Having only one package for a
> default flag is not what we want unless DirectFB would break.
> 

I'm with Brian. alpha is out.
Thanks.
Comment 8 Chris PeBenito (RETIRED) gentoo-dev 2007-08-20 04:29:10 UTC
selinux profile now inherits from default-linux/$arch, so we automatically pick it up when the parent arches add it.
Comment 9 SpanKY gentoo-dev 2007-08-25 22:33:52 UTC
just drop it into default-linux/ and be done
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-24 18:18:33 UTC
For default-linux/x86 (no hardened) I think this sounds like a good idea, but mabye releng or others who really work on the profiles would like to comment here.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2007-09-25 22:08:32 UTC
It might help to add us if you want us to answer... ;]

Anyway, do not add something like this to default/x86.  In fact, don't ever add *anything* regarding USE to default/$arch unless you want the wrath of the flying Release Engineering goats coming after you.  :P

If we were to introduce this, I would like to introduce it using the methods I've been using for new flags, which is to add it to the next release's profile, *even if it belongs lower* and moving it down the chain as the older profiles get deprecated/removed.  This keeps new USE flags from popping on for the users while still allowing us to add new features with new releases.

If nobody disagrees, I'd say remove arches from CC, and we'll add it into the next release and everybody will end up getting it over time.  The sysfs USE flag should be masked on all of the 2.4 profiles already, anyway.  If it isn't, that can be done now.

Of course, this is also a local USE flag, which we normally don't enable.  As others stated, is there something broken by this being off that would require us to enable it?  I'd much rather simply not bother, especially as 2.4 support is ever-quickly disappearing from the tree.
Comment 12 Tom Gall (RETIRED) gentoo-dev 2007-10-14 06:23:48 UTC
Chris,

Wise words. I like your proposal.
Comment 13 Dawid Węgliński (RETIRED) gentoo-dev 2007-11-06 22:54:32 UTC
(In reply to comment #11)
> If nobody disagrees, I'd say remove arches from CC, and we'll add it into the
> next release and everybody will end up getting it over time.  The sysfs USE
> flag should be masked on all of the 2.4 profiles already, anyway.  If it isn't,
> that can be done now.
It sounds good to me. Arches?
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2007-11-06 23:01:43 UTC
You're quite a bit too late.  I've already started working on this in the 2007.1 snapshot.  ;]
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2007-11-06 23:02:10 UTC
(Removing arches, since I'll take care of it all...)
Comment 16 Dawid Węgliński (RETIRED) gentoo-dev 2007-11-06 23:05:41 UTC
Yeah, i was asking about unccing ;)
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2008-07-29 14:47:23 UTC
I apologize for letting this one slip by for 2008.0, but I've added it to the tree's /release/make.defaults, so it'll get pulled in automatically next release, too.