Bug 22172 - /etc/rc.modules with modprobedbug fails to display modules being loaded
Summary: /etc/rc.modules with modprobedbug fails to display modules being loaded
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard: MGA6TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-11 19:52 CET by Dave Hodgins
Modified: 2017-12-11 20:00 CET (History)
1 user (show)

See Also:
Source RPM: initscripts-9.55-27.mga7.src.rpm
CVE:
Status comment:


Attachments
Patch to correct the print command in /etc/rc.modules (329 bytes, text/plain)
2017-12-11 19:57 CET, Dave Hodgins
Details

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


Note You need to log in before you can comment on or make changes to this bug.