Version 1.02.64 -
===================================
+ Lower severity of selabel_lookup and matchpathcon failure to log_debug.
Accept multiple mapped device names on many dmsetup command lines.
Fix dm_udev_wait calls in dmsetup to occur before readahead display not after.
Include an implicit dm_task_update_nodes() within dm_udev_wait().
if (!foreground_mode)
be_daemon(start_timeout);
- dm_prepare_selinux_context(DEFAULT_RUN_DIR, S_IFDIR);
+ (void) dm_prepare_selinux_context(DEFAULT_RUN_DIR, S_IFDIR);
old_mask = umask(0077);
if (dm_create_dir(DEFAULT_RUN_DIR) == 0) {
DEBUGLOG("clvmd: unable to create %s directory\n",
}
if (selabel_lookup(_selabel_handle, scontext, path, mode)) {
- log_error("selabel_lookup failed: %s", strerror(errno));
+ log_debug("selabel_lookup failed for %s: %s",
+ path, strerror(errno));
return 0;
}
#else
if (matchpathcon(path, mode, scontext)) {
- log_error("matchpathcon failed: %s", strerror(errno));
+ log_debug("matchpathcon failed for %s: %s",
+ path, strerror(errno));
return 0;
}
#endif