Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 922237 Details for
Bug 1124497
/etc/rc.d/init.d/netconsole doesn't check for /proc/modules
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
adds a check for /proc/modules before the lsmod invocation in status()
netconsole.patch (text/plain), 558 bytes, created by
felix.krohn
on 2014-07-29 17:16:09 UTC
(
hide
)
Description:
adds a check for /proc/modules before the lsmod invocation in status()
Filename:
MIME Type:
Creator:
felix.krohn
Created:
2014-07-29 17:16:09 UTC
Size:
558 bytes
patch
obsolete
>--- /etc/rc.d/init.d/netconsole 2014-07-29 19:05:33.191048538 +0200 >+++ /etc/rc.d/init.d/netconsole 2014-07-29 19:06:32.919047726 +0200 >@@ -107,12 +107,14 @@ > > status () > { >- if /sbin/lsmod | grep netconsole >/dev/null 2>&1 ; then >- echo $"netconsole module loaded" >- RETVAL=0 >- else >- echo $"netconsole module not loaded" >- RETVAL=3 >+ if [ -e /proc/modules ]; then >+ if /sbin/lsmod | grep netconsole >/dev/null 2>&1 ; then >+ echo $"netconsole module loaded" >+ RETVAL=0 >+ else >+ echo $"netconsole module not loaded" >+ RETVAL=3 >+ fi > fi > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1124497
: 922237