Re: [Mageia-dev] [changelog] [RPM] cauldron core/release module-init-tools-3.16-7.5.8.mga2

2011-11-21 Thread JA Magallon
On Mon, 21 Nov 2011 19:30:13 +0100 (CET)
Mageia Team  wrote:

> Name: module-init-toolsRelocations: (not relocatable)
> Version : 3.16  Vendor: Mageia.Org
> Release : 7.5.8.mga2Build Date: Mon Nov 21 19:25:57 
> 2011

Just a couple things I noticed:

> + Revision: 170576
> - reduce number of runtime warnings
> - drop kernel 2.4 -> 2.6 module mapping which is uneeded for long time

- 00_modprobe.conf still does:
  include /lib/module-init-tools/modprobe.compat [1]

> -?\194?\160drop patch 3 and move modprobe.default in modprobe.d

- should not 00_modprobe.conf be called something like 00_default.conf, in
  case /etc/modprobe.conf is moved to /etc/modprobe.d, as some errors claim ? 
[1]

> - drop patch 6 and move ldetect-lst in modprobe.d
>   (still read before kernel aliases list)

- should not that end also in .conf ? 

> - document remaining patches
> - patch 9: rename warn() as mod_warn() (mga#3309):
> - patch 10: API for quiet mode in ldetect

[1]

werewolf:~# bootloader-config --action rebuild-initrds
perl: Deprecated config file /etc/modprobe.conf, all config files belong into 
/etc/modprobe.d/.
: No such file or directory
perl: "include /lib/module-init-tools/modprobe.compat" is deprecated, please 
use /etc/modprobe.d
: No such file or directory
...


Re: [Mageia-dev] [changelog] [RPM] cauldron core/release module-init-tools-3.16-7.5.8.mga2

2011-11-21 Thread Thierry Vignaud
On 22 November 2011 00:06, JA Magallon  wrote:
> On Mon, 21 Nov 2011 19:30:13 +0100 (CET)
>> + Revision: 170576
>> - reduce number of runtime warnings
>> - drop kernel 2.4 -> 2.6 module mapping which is uneeded for long time
>
> - 00_modprobe.conf still does:
>  include /lib/module-init-tools/modprobe.compat [1]

I forgot to copy back the altered patch, already fixed

>> -?\194?\160drop patch 3 and move modprobe.default in modprobe.d
>
> - should not 00_modprobe.conf be called something like 00_default.conf, in
>  case /etc/modprobe.conf is moved to /etc/modprobe.d, as some errors claim ? 
> [1]
>
>> - drop patch 6 and move ldetect-lst in modprobe.d
>>   (still read before kernel aliases list)
>
> - should not that end also in .conf ?

.alias is fine

>> - document remaining patches
>> - patch 9: rename warn() as mod_warn() (mga#3309):
>> - patch 10: API for quiet mode in ldetect
>
> [1]
>
> werewolf:~# bootloader-config --action rebuild-initrds
> perl: Deprecated config file /etc/modprobe.conf, all config files belong into 
> /etc/modprobe.d/.
> : No such file or directory
> perl: "include /lib/module-init-tools/modprobe.compat" is deprecated, please 
> use /etc/modprobe.d
> : No such file or directory

we need to alter drakxtools & generate-modprobe.conf first before
moving that one


Re: [Mageia-dev] [changelog] [RPM] cauldron core/release module-init-tools-3.16-7.5.8.mga2

2011-11-22 Thread Colin Guthrie
'Twas brillig, and Thierry Vignaud at 22/11/11 07:55 did gyre and gimble:
>> werewolf:~# bootloader-config --action rebuild-initrds
>> perl: Deprecated config file /etc/modprobe.conf, all config files belong 
>> into /etc/modprobe.d/.

Just as a random thought, is /etc/modprobe.preload.d/ a Mandriva-ism or
is it more widely used? I know that in systemd they are now trying to
"standardise" on using /etc/module-load.d/*.conf (this isn't the same as
/etc/modprobe.d/ but this seemed as related an email as possible to
reply to about it!)

If so should we try and move anything in modprobe.preload.d to
module-load.d and update tools accordingly, especially if some tweaks
are needed to the below tools anyway.

> we need to alter drakxtools & generate-modprobe.conf first before
> moving that one


Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


Re: [Mageia-dev] [changelog] [RPM] cauldron core/release module-init-tools-3.16-7.5.8.mga2

2011-11-22 Thread Olav Vitters
On Tue, Nov 22, 2011 at 11:38:12AM +, Colin Guthrie wrote:
> If so should we try and move anything in modprobe.preload.d to
> module-load.d and update tools accordingly, especially if some tweaks
> are needed to the below tools anyway.

+1 on minimizing differences between distributions (as long as most
distributions follow same path)
-- 
Regards,
Olav


Re: [Mageia-dev] [changelog] [RPM] cauldron core/release module-init-tools-3.16-7.5.8.mga2

2011-11-23 Thread Olivier Blin
Colin Guthrie  writes:

> 'Twas brillig, and Thierry Vignaud at 22/11/11 07:55 did gyre and gimble:
>>> werewolf:~# bootloader-config --action rebuild-initrds
>>> perl: Deprecated config file /etc/modprobe.conf, all config files belong 
>>> into /etc/modprobe.d/.
>
> Just as a random thought, is /etc/modprobe.preload.d/ a Mandriva-ism or
> is it more widely used? I know that in systemd they are now trying to
> "standardise" on using /etc/module-load.d/*.conf (this isn't the same as
> /etc/modprobe.d/ but this seemed as related an email as possible to
> reply to about it!)
>
> If so should we try and move anything in modprobe.preload.d to
> module-load.d and update tools accordingly, especially if some tweaks
> are needed to the below tools anyway.

modprobe.preload.d is something I introduced back at Mandriva, since I
did not find any equivalent in other distributions at the time.

Using /etc/modules-load.d (with a *s*) looks good, and the upgrade path
should be just about moving files from /etc/modprobe.preload.d in a
%trigger

-- 
Olivier Blin - blino


Re: [Mageia-dev] [changelog] [RPM] cauldron core/release module-init-tools-3.16-7.5.8.mga2

2011-11-23 Thread Olivier Blin
Olivier Blin  writes:

> Using /etc/modules-load.d (with a *s*) looks good, and the upgrade path
> should be just about moving files from /etc/modprobe.preload.d in a
> %trigger

As well as modifying drakxtools to cope with the new path, and adding a
require to the newer module-init-tools introducing the path

-- 
Olivier Blin - blino