https://bugzilla.redhat.com/show_bug.cgi?id=2024417
Bug ID: 2024417
Summary: weak-modules:When the kernel is uninstalled, a message
is displayed indicating that the folder cannot be
found.
Product: Fedora
Version: rawhide
Status: NEW
Component: kmod
Assignee: kmod-maint(a)lists.fedoraproject.org
Reporter: yangyanchao6(a)huawei.com
QA Contact: extras-qa(a)fedoraproject.org
CC: jonathan(a)jonmasters.org,
kmod-maint(a)lists.fedoraproject.org,
skozina(a)redhat.com, ykaliuta(a)redhat.com
Target Milestone: ---
Classification: Fedora
Created attachment 1842466
--> https://bugzilla.redhat.com/attachment.cgi?id=1842466&action=edit
Possible patch
Description of problem:
Check the directory before entering the directory. This prevents alarms from
being generated when the kernel is uninstalled.
Version-Release number of selected component (if applicable):
29-6.fc36
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2024417
https://bugzilla.redhat.com/show_bug.cgi?id=2024409
Bug ID: 2024409
Summary: weak-modules:Changing the sorting mode of rpmsort
Product: Fedora
Version: rawhide
Status: NEW
Component: kmod
Assignee: kmod-maint(a)lists.fedoraproject.org
Reporter: yangyanchao6(a)huawei.com
QA Contact: extras-qa(a)fedoraproject.org
CC: jonathan(a)jonmasters.org,
kmod-maint(a)lists.fedoraproject.org,
skozina(a)redhat.com, ykaliuta(a)redhat.com
Target Milestone: ---
Classification: Fedora
Created attachment 1842464
--> https://bugzilla.redhat.com/attachment.cgi?id=1842464&action=edit
Possible patch
Description of problem:
When the kernel version number contains a mixture of letters and numbers, the
original sorting method has a problem. For example:
[root@localhost kmod]# cat test
4.19.90-vhulk2108.6.0.h803
4.19.90-2109.1.0.0108
4.19.90-vhulk2109.1.0.h813
[root@localhost kmod]# ./test.sh
+ cat test
+ sed -e s/-/../g
+ sort -n -t. -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 -k6,6 -k7,7 -k8,8 -k9,9 -k10,10
+ sed -e's/\.\./-/g'
4.19.90-vhulk2109.1.0.h813
4.19.90-vhulk2108.6.0.h803
4.19.90-2109.1.0.0108
Even if this sort isn't helpful, maybe sort with "sort -V", instead of using
"-" replace with ".." would make the code more readable?
29-6.fc36
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2024409