Bug 22172

Summary: /etc/rc.modules with modprobedbug fails to display modules being loaded
Product: Mageia Reporter: Dave Hodgins <davidwhodgins>
Component: RPM PackagesAssignee: Colin Guthrie <mageia>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: pkg-bugs
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA6TOO
Source RPM: initscripts-9.55-27.mga7.src.rpm CVE:
Status comment:
Attachments: Patch to correct the print command in /etc/rc.modules

Description Dave Hodgins 2017-12-11 19:52:44 CET
In /etc/rc.modules, the bash script uses the command gprintf which is not
a valid command or subroutine in this context. Changing it to printf fixes
the problem. As per Michael Altizer from the dev ml, it's in line 20 of
http://gitweb.mageia.org/software/forks/initscripts/tree/mandriva/rc.modules?h=distro/mga
which is included in the srpm as initscripts-mgaconf.patch.xz
Comment 1 Dave Hodgins 2017-12-11 19:57:45 CET
Created attachment 9833 [details]
Patch to correct the print command in /etc/rc.modules

The attached patch will likely have to be modified to alter
initscripts-mgaconf.patch.xz instead of directly modifying /etc/rc.modules
Comment 2 Dave Hodgins 2017-12-11 20:00:06 CET
Assigning to the listed maintainer, cc to the pkg-bugs list as Colin has not
been active for quite a while.

CC: (none) => pkg-bugs
Assignee: bugsquad => mageia
Whiteboard: (none) => MGA6TOO