Comment 37 for bug 1864992

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

@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.