Re: [gentoo-user] Canonical place to list modules to load

2009-06-19 Thread Alan McKinnon
On Friday 19 June 2009 00:08:04 Neil Bothwick wrote:
 On Thu, 18 Jun 2009 22:45:50 +0100, Mick wrote:
  Why did they *have* to move it to /etc/modules.autoload.d/kernel-2.6.

 They didn't, they moved it from there to /etc/conf.d where all the other
 rc config files live.

  I am still confused with the difference between /etc/rc.conf
  and /etc/conf.d/rc ...

 Then moved that one out of /etc/conf.d :(

Lets not confuse the fellow with our awesome wit :-)

Mick, it's a cleanup operation with openrc to get things a bit more sane.

Unix let's you put config files any damn place you want them. So it's up to 
you to put them someplace sane. The recent trend is to use a structure like

/etc/thing.conf
/etc/thing.d/*

The first one is used for global settings that affect the entire package (or 
system in this case as it's openrc).
The second has individual files, one for each logical sub-section. Package 
managers can then update individual bits independently - trying to do updates 
to one massive file with sed is a distinctly non-trivial operation.

With baselayout-1, the layout was a bit haphazard. baselayout-2 and openrc 
took the opportunity to tidy all this up.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Canonical place to list modules to load

2009-06-19 Thread Mick
On Friday 19 June 2009, Alan McKinnon wrote:
 On Friday 19 June 2009 00:08:04 Neil Bothwick wrote:
  On Thu, 18 Jun 2009 22:45:50 +0100, Mick wrote:
   Why did they *have* to move it to /etc/modules.autoload.d/kernel-2.6.
 
  They didn't, they moved it from there to /etc/conf.d where all the other
  rc config files live.
 
   I am still confused with the difference between /etc/rc.conf
   and /etc/conf.d/rc ...
 
  Then moved that one out of /etc/conf.d :(

 Lets not confuse the fellow with our awesome wit :-)

 Mick, it's a cleanup operation with openrc to get things a bit more sane.

 Unix let's you put config files any damn place you want them. So it's up to
 you to put them someplace sane. The recent trend is to use a structure like

 /etc/thing.conf
 /etc/thing.d/*

 The first one is used for global settings that affect the entire package
 (or system in this case as it's openrc).
 The second has individual files, one for each logical sub-section. Package
 managers can then update individual bits independently - trying to do
 updates to one massive file with sed is a distinctly non-trivial operation.

 With baselayout-1, the layout was a bit haphazard. baselayout-2 and openrc
 took the opportunity to tidy all this up.

Thank you for the explanation.

I am running stable x86 on all my boxen at the moment.  I guess I'll have to 
become accustomed to the new set up soon.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Canonical place to list modules to load

2009-06-18 Thread Mick
On Wednesday 17 June 2009, Mark Shields wrote:
 On Wed, Jun 17, 2009 at 10:47 AM, Neil Bothwick n...@digimed.co.uk wrote:
  On Wed, 17 Jun 2009 10:31:23 -0400, Mark Shields wrote:
So if I want to load `fuse' at boot... where do it put it?
  
   It's been the same as long as I've been using Gentoo the past 5
   years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
   handbook as long as I've been using Gentoo, too.
 
  That's for baselayout1. For baselayout2/openrc it has moved
  to /etc/conf.d/modules.
 
 
  --
  Neil Bothwick
 
  There's no place like http://www.home.com

 Baselayout 2 isn't used in the hardened gentoo base; it's ~x86 keyword (on
 x86).  That's what I was going by.  The handbook still references
 /etc/modules.autoload.d/kernel-2.6:
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_ch
ap7

Why did they *have* to move it to /etc/modules.autoload.d/kernel-2.6.

I am still confused with the difference between /etc/rc.conf 
and /etc/conf.d/rc ...
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Canonical place to list modules to load

2009-06-18 Thread Neil Bothwick
On Thu, 18 Jun 2009 22:45:50 +0100, Mick wrote:

 Why did they *have* to move it to /etc/modules.autoload.d/kernel-2.6.

They didn't, they moved it from there to /etc/conf.d where all the other
rc config files live.

 I am still confused with the difference between /etc/rc.conf 
 and /etc/conf.d/rc ...

Then moved that one out of /etc/conf.d :(


-- 
Neil Bothwick

Distrust any enterprise that requires new clothes. - Henry David Thoreau
(1817-1862)


signature.asc
Description: PGP signature


[gentoo-user] Canonical place to list modules to load

2009-06-17 Thread Harry Putnam
Where do we list modules we want loaded at boot?

When I run  modprobe fuse
WARNING: Deprecated config file /etc/modprobe.conf, all config files
 belong  into /etc/modprobe.d/.

/etc/modprobe.conf doesn't actually appear to have any modules listed
but does list a herd of aliases for modules.

Looking under /etc/modprobe.d
aliases.conf  blacklist.conf  i386.conf  pnp-aliases.conf

All of which appear to hold the same or more lists of aliases.

So if I want to load `fuse' at boot... where do it put it?




Re: [gentoo-user] Canonical place to list modules to load

2009-06-17 Thread Mark Shields
On Wed, Jun 17, 2009 at 10:21 AM, Harry Putnam rea...@newsguy.com wrote:

 Where do we list modules we want loaded at boot?

 When I run  modprobe fuse
 WARNING: Deprecated config file /etc/modprobe.conf, all config files
 belong  into /etc/modprobe.d/.

 /etc/modprobe.conf doesn't actually appear to have any modules listed
 but does list a herd of aliases for modules.

 Looking under /etc/modprobe.d
 aliases.conf  blacklist.conf  i386.conf  pnp-aliases.conf

 All of which appear to hold the same or more lists of aliases.

 So if I want to load `fuse' at boot... where do it put it?



It's been the same as long as I've been using Gentoo the past 5
years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
handbook as long as I've been using Gentoo, too.

7.e. Kernel Modules

Configuring the Modules

You should list the modules you want automatically loaded in
/etc/modules.autoload.d/kernel-2.6. You can add extra options to the modules
too if you want.


-- 

I recommend reading the entire handbook from start to finish; it has plenty
of valuable information and will avoid unnecessary questions.
-- 
- Mark Shields


Re: [gentoo-user] Canonical place to list modules to load

2009-06-17 Thread Neil Bothwick
On Wed, 17 Jun 2009 10:31:23 -0400, Mark Shields wrote:

  So if I want to load `fuse' at boot... where do it put it?

 It's been the same as long as I've been using Gentoo the past 5
 years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
 handbook as long as I've been using Gentoo, too.

That's for baselayout1. For baselayout2/openrc it has moved
to /etc/conf.d/modules.


-- 
Neil Bothwick

There's no place like http://www.home.com


signature.asc
Description: PGP signature


Re: [gentoo-user] Canonical place to list modules to load

2009-06-17 Thread Dale
Neil Bothwick wrote:
 On Wed, 17 Jun 2009 10:31:23 -0400, Mark Shields wrote:

   
 So if I want to load `fuse' at boot... where do it put it?
   

   
 It's been the same as long as I've been using Gentoo the past 5
 years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
 handbook as long as I've been using Gentoo, too.
 

 That's for baselayout1. For baselayout2/openrc it has moved
 to /etc/conf.d/modules.


   

So I guess when people are asking questions like this, they need to
start stating what baselayout they are using.  Of course, emerge --info
would do this but most don't include that, including me most of the time.

After the corg-server update, I'm dreading that upgrade.  I'm still on
the old xorg.  The baselayout if not done carefully could leave a person
with a broke OS.

Dale

:-)  :-) 



Re: [gentoo-user] Canonical place to list modules to load

2009-06-17 Thread Neil Bothwick
On Wed, 17 Jun 2009 13:29:41 -0500, Dale wrote:

 After the corg-server update, I'm dreading that upgrade.  I'm still on
 the old xorg.  The baselayout if not done carefully could leave a person
 with a broke OS.

Unlikely, as long as you run etc-update or equivalent. The ebuild takes
care of migrating several config files, you only need to follow the steps
in the migration guide referred to in the elog messages.


-- 
Neil Bothwick

I do not like this dumb machine
I really ought to sell it.
It never does just what I want
But only what I tell it.


signature.asc
Description: PGP signature


Re: [gentoo-user] Canonical place to list modules to load

2009-06-17 Thread Dale
Neil Bothwick wrote:
 On Wed, 17 Jun 2009 13:29:41 -0500, Dale wrote:

   
 After the corg-server update, I'm dreading that upgrade.  I'm still on
 the old xorg.  The baselayout if not done carefully could leave a person
 with a broke OS.
 

 Unlikely, as long as you run etc-update or equivalent. The ebuild takes
 care of migrating several config files, you only need to follow the steps
 in the migration guide referred to in the elog messages.


   

I did that with the xorg upgrade, followed the guide.  I still can't get
it to work.  I'm on the old xorg now.  That's why I dread some of these
upgrades.  Broke OS or broke X bothers me.

Dale

:-)  :-) 



Re: [gentoo-user] Canonical place to list modules to load

2009-06-17 Thread Mark Shields
On Wed, Jun 17, 2009 at 10:47 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Wed, 17 Jun 2009 10:31:23 -0400, Mark Shields wrote:

   So if I want to load `fuse' at boot... where do it put it?

  It's been the same as long as I've been using Gentoo the past 5
  years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
  handbook as long as I've been using Gentoo, too.

 That's for baselayout1. For baselayout2/openrc it has moved
 to /etc/conf.d/modules.


 --
 Neil Bothwick

 There's no place like http://www.home.com


Baselayout 2 isn't used in the hardened gentoo base; it's ~x86 keyword (on
x86).  That's what I was going by.  The handbook still references
/etc/modules.autoload.d/kernel-2.6:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap7

-- 
- Mark Shields


Re: [gentoo-user] Canonical place to list modules to load

2009-06-17 Thread Neil Bothwick
On Wed, 17 Jun 2009 14:38:09 -0500, Dale wrote:

  Unlikely, as long as you run etc-update or equivalent. The ebuild
  takes care of migrating several config files, you only need to follow
  the steps in the migration guide referred to in the elog messages.

 I did that with the xorg upgrade, followed the guide.  I still can't get
 it to work.  I'm on the old xorg now.  That's why I dread some of these
 upgrades.  Broke OS or broke X bothers me.

The difference is that this one is under the direct control of Gentoo
devs, so it really ought to work, and does.


-- 
Neil Bothwick

Why is the word abbreviation so long?


signature.asc
Description: PGP signature


Re: [gentoo-user] Canonical place to list modules to load

2009-06-17 Thread Dale
Neil Bothwick wrote:
 On Wed, 17 Jun 2009 14:38:09 -0500, Dale wrote:

   
 Unlikely, as long as you run etc-update or equivalent. The ebuild
 takes care of migrating several config files, you only need to follow
 the steps in the migration guide referred to in the elog messages.
   

   
 I did that with the xorg upgrade, followed the guide.  I still can't get
 it to work.  I'm on the old xorg now.  That's why I dread some of these
 upgrades.  Broke OS or broke X bothers me.
 

 The difference is that this one is under the direct control of Gentoo
 devs, so it really ought to work, and does.


   

That is what I have heard and am hoping for.  I think the things the
devs do is better than upstream most of the time.

Dale

:-)  :-)