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 289946 Details for
Bug 368941
mkdumprd gives error to stderr with nfs root
[?]
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]
correct patch
mkdumprd.patch (text/plain), 1.45 KB, created by
Neil Horman
on 2007-12-18 22:12:25 UTC
(
hide
)
Description:
correct patch
Filename:
MIME Type:
Creator:
Neil Horman
Created:
2007-12-18 22:12:25 UTC
Size:
1.45 KB
patch
obsolete
>? .mkdumprd.swp >Index: mkdumprd >=================================================================== >RCS file: /cvs/dist/rpms/kexec-tools/RHEL-5/mkdumprd,v >retrieving revision 1.67 >diff -u -r1.67 mkdumprd >--- mkdumprd 26 Nov 2007 21:18:27 -0000 1.67 >+++ mkdumprd 18 Dec 2007 22:11:37 -0000 >@@ -66,7 +66,6 @@ > fstab="/etc/fstab" > > vg_list="" >-net_list="" > USING_METHOD="" > SAVE_PATH=/var/crash > bin="" >@@ -716,14 +715,7 @@ > > rootdev=$(awk '/^[ \t]*[^#]/ { if ($2 == "/") { print $1; }}' $fstab) > # check if it's nfsroot >- if [ "$rootfs" == "nfs" ]; then >- remote=$(echo $rootdev | cut -d : -f 1) >- # FIXME: this doesn't handle ips properly >- remoteip=$(getent hosts $remote | cut -d ' ' -f 1) >- netdev=`/sbin/ip route get to $remoteip |sed 's|.*dev \(.*\).*|\1|g' |awk {'print $1;'} |head -n 1` >- net_list="$net_list $netdev" >- # check if it's root by label >- elif echo $rootdev | cut -c1-6 | grep -q "LABEL=" ; then >+ if echo $rootdev | cut -c1-6 | grep -q "LABEL=" ; then > rootopts=$(echo $rootopts | sed -e 's/^r[ow],//' -e 's/,r[ow],$//' -e 's/,r[ow],/,/' \ > -e 's/^r[ow]$/defaults/' -e 's/$/,ro/') > majmin=$(get_numeric_dev dec /dev/root) >@@ -1491,14 +1483,6 @@ > emit "mknod /dev/mapper/control b \$DM_MAJ \$DM_MIN" > fi > >-if [ -n "$net_list" ]; then >- for netdev in $net_list; do >- emit "echo Bringing up $netdev" >- handle_netdev $netdev >- #emit $network >- done >-fi >- > emitdms > > if [ -n "$raiddevices" ]; then
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 368941
:
289925
|
289946
|
306796
|
308244
|
308358
|
313279
|
313280
|
313281
|
313282
|
313283