Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37041454
en ru br
ALT Linux repos
S:2.03.22-alt1
5.0: 2.02.39-alt1
4.1: 2.02.31-alt1
4.0: 2.02.28-alt1.M40.1
3.0: 2.01.09-alt2
+backports:2.02.01-alt0.M30.1

Group :: System/Base
RPM: lvm2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: device-mapper.1.02.64-alt-verbose.patch
Download


diff --git a/LVM2/libdm/ioctl/libdm-iface.c b/LVM2/libdm/ioctl/libdm-iface.c
index f54cf1d..339f8a7 100644
--- a/LVM2/libdm/ioctl/libdm-iface.c
+++ b/LVM2/libdm/ioctl/libdm-iface.c
@@ -209,7 +209,7 @@ static int _get_proc_number(const char *file, const char *name,
 		log_sys_error("fclose", file);
 
 	if (number) {
-		log_error("%s: No entry for %s found", file, name);
+		log_verbose("%s: No entry for %s found", file, name);
 		return 0;
 	}
 
@@ -421,9 +421,9 @@ static int _open_control(void)
 	return 1;
 
 bad:
-	log_error("Failure to communicate with kernel device-mapper driver.");
+	log_verbose("Failure to communicate with kernel device-mapper driver.");
 	if (!geteuid())
-		log_error("Check that device-mapper is available in the kernel.");
+		log_verbose("Check that device-mapper is available in the kernel.");
 	return 0;
 #else
 	return 1;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin