Mailinglist Archive: opensuse-packaging (174 mails)

< Previous Next >
Re: [opensuse-packaging] /etc/modprobe.* changes
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Tue, 17 Mar 2009 11:40:00 +0100
  • Message-id: <49BF7E00.60307@xxxxxxx>
Takashi Iwai napsal(a):
At Mon, 16 Mar 2009 15:08:54 +0100,
Michal Marek wrote:
the new module-init-tools, which will appear in Factory soon, deprecated
/etc/modprobe.conf(.local) and only uses /etc/modprobe.d/*.conf
configuration files (files without the .conf suffix are still read, but
cause a warning). I tried to find and fix packages that install modprobe
config files, but in case I missed some, the fix is simple:
change /etc/modprobe.d/$name to /etc/modprobe.d/50-$name.conf.

These files can be created dynamically by a program or YaST,
e.g. /etc/modprobe.d/sound file.
Which package / program is responsible to rename them in the update
path and how?

Good point. I'd say the package that creates the file should take care
of renaming it during update. It should be pretty simple:

if test -e /etc/modprobe.d/$oldname; then
mv -f /etc/modprobe.d/$oldname /etc/modprobe.d/50-$oldname.conf

I'll file a bug against yast2-sound. Does anybody know about any other
package that creates modprobe.d files at runtime?

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >