View Issue Details

IDProjectCategoryView StatusLast Update
0000803channel: kernel/el7kernel-mlpublic2017-12-10 11:51
Reporterbleve Assigned Toburakkucat  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000803: Removal of kernel-ml gives warning messages.
DescriptionRemoval of kernel-ml (and quite propably kernel-lt) gives two warning messages. One bugfix which was done to rhel7 kernel package was missed for elrepo kernel and causes this warning:

warning: file /lib/modules/4.14.1-1.el7.elrepo.x86_64/modules.softdep: remove failed: No such file or directory
warning: file /lib/modules/4.14.1-1.el7.elrepo.x86_64/modules.devname: remove failed: No such file or directory
Additional InformationThis bug was fixed some time ago on rhel with two bugs ids without external access. rhbz#1259720 is public bug about original issues, part of which was fixed in kmod package.

Attached patch fixes the issue.
TagsNo tags attached.
Attached Files
kernel-ml-4.14.spec.patch (707 bytes)   
fix for warning on package removal rhbz#1259720

--- kernel-ml-4.14.spec.orig	2017-12-07 13:36:10.527466399 +0200
+++ kernel-ml-4.14.spec	2017-12-07 14:54:11.424024686 +0200
@@ -477,7 +477,7 @@
     %{__rm} -f modinfo modnames
 
     # Remove all the files that will be auto generated by depmod at the kernel install time.
-    for i in alias alias.bin builtin.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap
+    for i in alias alias.bin builtin.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap softdep devname
     do
         %{__rm} -f $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/modules.$i
     done
kernel-ml-4.14.spec.patch (707 bytes)   

Activities

toracat

2017-12-07 06:46

administrator   ~0005629

Thanks for the patch submission.

burakkucat

2017-12-07 09:31

administrator   ~0005630

Thank you for your patch submission. It has been merged into the specification file for the kernel-ml-4.15.0-0.rc2.el7.elrepo package and is currently being tested.

Assuming a positive result, the fix will also be incorporated into the kernel-{lt|ml} package sets when they are next built.

burakkucat

2017-12-07 11:49

administrator   ~0005631

A positive result was obtained from the testing.

With the -rc1 package --

[~]# rpm -iv kernel-ml-4.15.0-0.rc1.el7.elrepo.x86_64.rpm
Preparing packages...
kernel-ml-4.15.0-0.rc1.el7.elrepo.x86_64
[~]#

[~]# rpm -ev kernel-ml
Preparing packages...
kernel-ml-4.15.0-0.rc1.el7.elrepo.x86_64
warning: file /lib/modules/4.15.0-0.rc1.el7.elrepo.x86_64/modules.softdep: remove failed: No such file or directory
warning: file /lib/modules/4.15.0-0.rc1.el7.elrepo.x86_64/modules.devname: remove failed: No such file or directory
[~]#

With the -rc2 package --

[~]# rpm -iv kernel-ml-4.15.0-0.rc2.el7.elrepo.x86_64.rpm
Preparing packages...
kernel-ml-4.15.0-0.rc2.el7.elrepo.x86_64
[~]#

[~]# rpm -ev kernel-ml
Preparing packages...
kernel-ml-4.15.0-0.rc2.el7.elrepo.x86_64
[~]#

The fix will be applied during the next builds of the kernel-{lt|ml} package sets.

burakkucat

2017-12-10 11:51

administrator   ~0005632

With the recent update and release of the kernel-lt-4.4.105-1.el7.elrepo and kernel-ml-4.14.5-1.el7.elrepo packages sets this report has now been resolved.

Closing as "resolved/fixed".

Issue History

Date Modified Username Field Change
2017-12-07 06:09 bleve New Issue
2017-12-07 06:09 bleve Status new => assigned
2017-12-07 06:09 bleve Assigned To => burakkucat
2017-12-07 06:09 bleve File Added: kernel-ml-4.14.spec.patch
2017-12-07 06:46 toracat Note Added: 0005629
2017-12-07 09:31 burakkucat Note Added: 0005630
2017-12-07 09:31 burakkucat Reproducibility have not tried => always
2017-12-07 09:31 burakkucat Summary REmoval of kernel-ml gives warning. => Removal of kernel-ml gives warning messages.
2017-12-07 09:31 burakkucat Description Updated
2017-12-07 11:49 burakkucat Note Added: 0005631
2017-12-10 11:51 burakkucat Note Added: 0005632
2017-12-10 11:51 burakkucat Status assigned => resolved
2017-12-10 11:51 burakkucat Resolution open => fixed