libdevmapper logging not properly initialized
Bug #1616902 reported by
Liang Chen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
multipath-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
dm_init();
if (getuid() != 0) {
}
/* make sure we don't lock any path */
chdir("/");
conf = alloc_config();
dm_init is called before allocating conf. But dm_init depends on conf->verbosity to initialize libdevmapper logging. In the current situation, the verbosity is always set to 0 because conf is 0.
extern void
dm_init(void) {
}
To post a comment you must log in.
OK. This has been fixed in multipat-tools upstream repo.