Public bug reported:
dm_init();
if (getuid() != 0) {
fprintf(stderr, "need to be root\n");
exit(1);
}
/* make sure we don't lock any path */
chdir("/");
umask(umask(077) | 022);
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) {
dm_log_init(&dm_write_log);
dm_log_init_verbose(conf ? conf->verbosity + 3 : 0);
}
** Affects: multipath-tools (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1616902
Title:
libdevmapper logging not properly initialized
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1616902/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs