[root@localhost ~]# LC_ALL=C harddrake2 perl: "include /lib/module-init-tools/modprobe.compat" is deprecated, please use /etc/modprobe.d : No such file or directory perl: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. : Not a directory perl: All config files need .conf: /etc/modprobe.d/live, it will be ignored in a future release. : No such file or directory perl: "include /lib/module-init-tools/modprobe.compat" is deprecated, please use /etc/modprobe.d : No such file or directory perl: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. : Not a directory etc. (full log attached)
Created attachment 1051 [details] console logs
in fact it happens with several drakxtools, drakroam for example.
Summary: harddrake2 prints perl errors in console => drakxtools print perl errors in console
CC: (none) => mageia, thierry.vignaudSummary: drakxtools print perl errors in console => drakxtools print perl errors in console (module-init-tools/ldetect)Source RPM: drakxtools-13.63-2.mga2.src.rpm => (none)
CC: (none) => pterjan
Looks like it is a bug in ldetect or module-init-tools. It seems that the warn() function of logging.c (in module-init-tools) is not called at all. Maybe a warn() function from perl is called instead? Also, in modalias.c from ldetect, the "errfn_t error" function pointer is not initialized, this can lead to chaos.
Blocks: (none) => 3031
duplicate of bug 2784 ?
Created attachment 1091 [details] This renames m-d-i's warn() as mod_warn()
Created attachment 1092 [details] prevents calling random stuff on error (and "logs"both lspcidrake & mod* still works after errors) both lspcidrake & mod* still works after
Now those warnings go the libmodprobe tubes way. They still shows
Keywords: (none) => PATCHStatus: NEW => ASSIGNEDAssignee: bugsquad => thierry.vignaudSummary: drakxtools print perl errors in console (module-init-tools/ldetect) => drakxtools print perl warnings in console (module-init-tools/ldetect)Source RPM: (none) => module-init-tools / ldetect
Fixed
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED