Mailinglist Archive: opensuse-packaging (174 mails)

< Previous Next >
Re: [opensuse-packaging] /etc/modprobe.* changes
  • From: Takashi Iwai <tiwai@xxxxxxx>
  • Date: Tue, 17 Mar 2009 11:57:22 +0100
  • Message-id: <s5hd4cgpgbx.wl%tiwai@xxxxxxx>
At Tue, 17 Mar 2009 11:40:00 +0100,
Michal Marek wrote:

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:

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

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

Through a quick grep modprobe.d /usr/share/YaST, the following files
seem to be created / modified via YaST: tv, ipv6, blacklist, newid,
sound. Corresponding to yast2-tv, yast2-network, yast2-tune,
yast2-sound.


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

< Previous Next >