Since version 3.5 modprobe changed in a way that it breaks my setup. I organize /etc/ with svn and modprobe parses all files in /etc/modprobe.d/.svn which leads to lots and lots of warnings like "WARNING: /etc/modprobe.d/.svn/all-wcprops line 1: ignoring bad line starting with 'K'". I did not find a way to prevent it from looking in that directory. I also thought, /etc/modprobe.d is not used at all if /etc/modprobe.conf exists. Any help in gettign rid of those warnings is appreciated.
i dont think it's 3.5 that has changed. i think it's just fall out of the transition from modules.d to modprobe.d. ive added a fix to modprobe in module-init-tools-3.6 though ...
*** Bug 258375 has been marked as a duplicate of this bug. ***
*** Bug 261217 has been marked as a duplicate of this bug. ***
Created attachment 186495 [details, diff] Ignore hidden dirs fix
**odd, went to add the patch file and on submit these comments were not added** The proposed patch does not work as the full path is passed via filename: e.g. /etc/modprobe.d/.svn -or- /etc/modules.d/.svn I have attached an updated patch file that fixes the issue.
havent noticed any problems myself with .svn or .git dirs in /etc/modprobe.d/ at any rate, 3.7+ will only parse files ending in .conf, so this problem slowly "goes away" anyways