LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1286|回复: 6

昨天更新了module-init-tools

[复制链接]
发表于 2009-5-28 18:28:46 | 显示全部楼层 |阅读模式
昨天更新了一下module-init-tools,版本为3.8,现在只要一用modprobe就会出现告警:
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
WARNING: All config files need .conf: /etc/modprobe.d/i386, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ppp, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/pnp-aliases, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/alsa, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/aliases, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist.save, it will be ignored in a future release.
好像是个bug,等待解决中....
发表于 2009-5-28 20:08:55 | 显示全部楼层
意思是以后在/etc/modprobe.d/下的配置文件需要以“.conf”结尾,否则会被忽略。
回复 支持 反对

使用道具 举报

发表于 2009-5-29 10:32:18 | 显示全部楼层
删掉这个文件/etc/modprobe.conf
其他/etc/modprobe.d/* 下面的文件mv成.conf结尾就ok了。
回复 支持 反对

使用道具 举报

发表于 2009-5-29 10:43:00 | 显示全部楼层
Post by sipingal;1991897
删掉这个文件/etc/modprobe.conf
其他/etc/modprobe.d/* 下面的文件mv成.conf结尾就ok了。

这样只是暂时解决。

似乎是baselayout,udev等文件相关软件需要升级,等更新吧。
回复 支持 反对

使用道具 举报

发表于 2009-5-31 16:06:52 | 显示全部楼层
/etc/modprobe.conf文件删除后,update-modules还能出来.有什么有什么别的办法?
回复 支持 反对

使用道具 举报

发表于 2009-6-1 08:31:07 | 显示全部楼层
Post by danielliu;1992645
/etc/modprobe.conf文件删除后,update-modules还能出来.有什么有什么别的办法?

系统更新了吗?将baselayout升级,应该已经解决了此问题。(我用的是baselayout-2.0.0-r2)

或者如三楼说的
  1. find /etc/modprobe.d/ -type f ! -name "*.conf" -exec mv "{}" "{}.conf" \;
复制代码
临时应付一下,等更新。
回复 支持 反对

使用道具 举报

发表于 2009-6-1 09:16:54 | 显示全部楼层
Post by danielliu;1992645
/etc/modprobe.conf文件删除后,update-modules还能出来.有什么有什么别的办法?


我 update-modules 没出来。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表