/[packages]/cauldron/initscripts/current/SOURCES/0100-Don-t-hide-modprobe-errors-when-handling-modprobe.pr.patch
ViewVC logotype

Contents of /cauldron/initscripts/current/SOURCES/0100-Don-t-hide-modprobe-errors-when-handling-modprobe.pr.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 2 months ago) by pterjan
File size: 913 byte(s)
oops
1 From 552cc00247c88d0c7dfde444da53ef1e5960ef5e Mon Sep 17 00:00:00 2001
2 From: Colin Guthrie <colin@mageia.org>
3 Date: Sun, 6 Jan 2013 17:38:39 +0000
4 Subject: [PATCH] Don't hide modprobe errors when handling modprobe.preload
5
6 Also no need to shell out to logger as this is typically started by
7 systemd and thus any stderr output will end up in the journal (and
8 by extension syslog if it's installed).
9
10 Might help avoid numerous reports of the service 'failing' as
11 indicated in mga#8472.
12 ---
13 mandriva/rc.modules | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/mandriva/rc.modules b/mandriva/rc.modules
17 index da5619d..fadc980 100644
18 --- a/mandriva/rc.modules
19 +++ b/mandriva/rc.modules
20 @@ -40,5 +40,5 @@ done
21
22 [ -z "$TOLOAD" ] && exit 0
23
24 -logger -t $0 "Loading modules:"$TOLOAD
25 -/sbin/modprobe -a $TOLOAD 2>/dev/null
26 +echo "Loading modules:"$TOLOAD >&2
27 +/sbin/modprobe -a $TOLOAD
28 --
29 1.8.1
30

  ViewVC Help
Powered by ViewVC 1.1.30