diff --git a/backport-Fix-logging-information-about-ignoring-hidden-device.patch b/backport-Fix-logging-information-about-ignoring-hidden-device.patch new file mode 100644 index 0000000000000000000000000000000000000000..3163b13d42b7f301652eb7ab6115706b5fe77ea7 --- /dev/null +++ b/backport-Fix-logging-information-about-ignoring-hidden-device.patch @@ -0,0 +1,25 @@ +From d4d8224637d6967418c62de61f8673d520e16243 Mon Sep 17 00:00:00 2001 +From: Vojtech Trefny +Date: Mon, 7 Dec 2020 18:48:36 +0100 +Subject: [PATCH] Fix logging information about ignoring hidden devices + +--- + blivet/populator/populator.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/blivet/populator/populator.py b/blivet/populator/populator.py +index 40623714..75bb1741 100644 +--- a/blivet/populator/populator.py ++++ b/blivet/populator/populator.py +@@ -250,7 +250,7 @@ class PopulatorMixin(object): + + log.info("scanning %s (%s)...", name, sysfs_path) + if udev.device_is_hidden(info): +- log.info("device %s is marked as hidden in sysfs, ignoring") ++ log.info("device %s is marked as hidden in sysfs, ignoring", name) + return + + # make sure we note the name of every device we see +-- +2.27.0 + diff --git a/python-blivet.spec b/python-blivet.spec index 759ac40fb7cde462433b451cbd4a7874626fab2a..2b50ae4710822e2f2f6f32867c70ff4c471d778e 100644 --- a/python-blivet.spec +++ b/python-blivet.spec @@ -3,7 +3,7 @@ Name: python-blivet Version: 3.2.2 -Release: 9 +Release: 10 Epoch: 1 Summary: A python module for system storage configuration License: LGPLv2+ @@ -30,6 +30,7 @@ Patch6004: backport-Remove-action-device-from-LVM-reject-list.patch Patch6005: backport-Ignore-devices-marked-as-hidden-in-sysfs-1856974.patch Patch6006: backport-Fix-reading-hidden-sysfs-attribute.patch +Patch6007: backport-Fix-logging-information-about-ignoring-hidden-device.patch %description The python-blivet package is a python module for examining and modifying @@ -130,6 +131,12 @@ make PYTHON=%{__python2} DESTDIR=%{buildroot} install %doc README %changelog +* Thu Sep 1 2022 yueyuankun - 3.2.2-10 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix logging information about ignoring hidden devices + * Thu Aug 4 2022 wanglu - 1:3.2.2-9 - Type:bugfix - ID:NA