[CentOS] WARNING: Deprecated config file /etc/modprobe.conf

Alexander Farber

alexander.farber at gmail.com
Sun Oct 9 12:53:36 UTC 2011


Hello,

I've changed the web hoster recently
and also upgraded from CentOS 5 to6.

Now I get this warning:

# service iptables restart
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Unloading modules:                               [  OK  ]
iptables: Applying firewall rules: WARNING: Deprecated config file
/etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

# cat /etc/modprobe.conf

### Hetzner Online AG - installimage
# load all modules

# networking
alias eth0      r8169

# hdds
alias scsi_hostadapter sata_via
alias scsi_hostadapter1 sata_sil
alias scsi_hostadapter2 sata_nv
alias scsi_hostadapter3 sd_mod
alias scsi_hostadapter4 ahci
alias scsi_hostadapter5 raid0
alias scsi_hostadapter6 raid1
alias scsi_hostadapter7 raid5
alias scsi_hostadapter8 raid6
alias scsi_hostadapter9 raid10
alias scsi_hostadapter10 3w-xxxx
alias scsi_hostadapter11 3w-9xxx
alias scsi_hostadapter12 aacraid

I wonder if it is safe to

# mv /etc/modprobe.conf /etc/modprobe.d/

Where there are already some files:

#  ll /etc/modprobe.d/
-rw-r--r--.  1 root root   52 Jul 11 10:53 anaconda.conf
-rw-r--r--.  1 root root  884 Jul 20 12:46 blacklist.conf
-rw-r--r--.  1 root root  382 Nov 12  2010 dist-alsa.conf
-rw-r--r--.  1 root root 5596 Nov 12  2010 dist.conf
-rw-r--r--.  1 root root  473 Nov 12  2010 dist-oss.conf

I'd hate to lock out myself, as I don't have
a remote console attached to my server.

(I'd have to book it and to wait)

Any opinions please?
Alex



More information about the CentOS mailing list