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 235211 Details for
Bug 348981
sysreport issues sysrq-t by default - this is dangerous
[?]
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]
patch to make sysrq optional - not default
sysrq-optional-sysreport.patch (text/plain), 1.18 KB, created by
Sam Knuth
on 2007-10-23 16:18:20 UTC
(
hide
)
Description:
patch to make sysrq optional - not default
Filename:
MIME Type:
Creator:
Sam Knuth
Created:
2007-10-23 16:18:20 UTC
Size:
1.18 KB
patch
obsolete
>--- sysreport-1.3.7.2-18/sysreport.vanhoof 2007-10-23 10:46:10.000000000 -0400 >+++ sysreport-1.3.7.2-18/sysreport 2007-10-23 10:49:42.000000000 -0400 >@@ -27,11 +27,12 @@ function usage { > echo " -norpm : omit collecting information about currently installed packages" > echo " -dmidecode: enable dmidecode, getting information about the hardware" > echo " -firewall : collecting the system firewall rules" >+ echo " -sysrq : gather sysrq information from the machine" > echo > exit 0 > } > >-[ $# -lt 4 ] || usage >+[ $# -lt 5 ] || usage > for i > do > case "$i" in >@@ -39,6 +40,7 @@ do > -norpm) NORPM=yes;; > -dmidecode) DMIDECODE=yes;; > -firewall) FIREWALL=yes;; >+ -sysrq) SYSRQ=yes;; > *) usage;; > esac > done >@@ -90,8 +92,8 @@ echo > echo "Getting system configuration information." > echo > >-STATUS="Getting information from /proc/sysrq-trigger" >-if [ -f /proc/sysrq-trigger -a -f /proc/sys/kernel/sysrq ] ; then >+if [ "$SYSRQ" == "yes" -a -f /proc/sysrq-trigger -a -f /proc/sys/kernel/sysrq ] ; then >+ STATUS="Getting information from /proc/sysrq-trigger" > sysr_state="$(/bin/cat /proc/sys/kernel/sysrq)" > echo 1 > /proc/sys/kernel/sysrq > for key in m p t ; do
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 348981
: 235211