@cascardo brought to us that there is on-going discussion about this in:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948257#95
which I missed...
Debian has this patch:
+ debian/patches/verbose_missing_bin
Description: Report an error when some .bin files do not exist Author: Marco d'Itri <email address hidden> Bug-Debian: http://bugs.debian.org/684901 ---
--- a/libkmod/libkmod.c +++ b/libkmod/libkmod.c @@ -503,7 +503,7 @@ static char *lookup_builtin_file(struct
idx = index_file_open(fn); if (idx == NULL) { - DBG(ctx, "could not open builtin file '%s'\n", fn); + ERR(ctx, "could not open builtin file '%s'\n", fn); return NULL; }
@@ -575,7 +575,7 @@ char *kmod_search_moddep(struct kmod_ctx
idx = index_file_open(fn); if (idx == NULL) { - DBG(ctx, "could not open moddep file '%s'\n", fn); + ERR(ctx, "could not open moddep file '%s'\n", fn); return NULL; }
Changing DBG to ERR... that changes the involved print logic.
I'm still playing with this as I want to check what is changing verbosity when execution path comes from depmod.
@cascardo brought to us that there is on-going discussion about this in:
https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 948257# 95
which I missed...
Debian has this patch:
+ debian/ patches/ verbose_ missing_ bin
Description: Report an error when some .bin files do not exist bugs.debian. org/684901
Author: Marco d'Itri <email address hidden>
Bug-Debian: http://
---
--- a/libkmod/libkmod.c builtin_ file(struct
+++ b/libkmod/libkmod.c
@@ -503,7 +503,7 @@ static char *lookup_
idx = index_file_ open(fn) ;
return NULL;
if (idx == NULL) {
- DBG(ctx, "could not open builtin file '%s'\n", fn);
+ ERR(ctx, "could not open builtin file '%s'\n", fn);
}
@@ -575,7 +575,7 @@ char *kmod_search_ moddep( struct kmod_ctx
idx = index_file_ open(fn) ;
return NULL;
if (idx == NULL) {
- DBG(ctx, "could not open moddep file '%s'\n", fn);
+ ERR(ctx, "could not open moddep file '%s'\n", fn);
}
Changing DBG to ERR... that changes the involved print logic.
I'm still playing with this as I want to check what is changing verbosity when execution path comes from depmod.