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 295456 Details for
Bug 433702
nfs read-only root errors
[?]
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]
rc.sysinit patch
rc.sysinit.stateless.patch (text/plain), 1.83 KB, created by
Andrew Hecox
on 2008-02-20 22:05:08 UTC
(
hide
)
Description:
rc.sysinit patch
Filename:
MIME Type:
Creator:
Andrew Hecox
Created:
2008-02-20 22:05:08 UTC
Size:
1.83 KB
patch
obsolete
>--- rc.sysinit.orig 2008-02-20 10:44:35.000000000 -0500 >+++ rc.sysinit 2008-02-20 12:56:38.000000000 -0500 >@@ -587,7 +587,7 @@ if [ "$READONLY" = "yes" -o "$TEMPORARY_ > /bin/true > elif [ x$state_mount_dev != x ] && mount $state_mount_dev $mountopts "$STATE_MOUNT" > /dev/null 2>&1; then > /bin/true >- elif [ -n "$CLIENTSTATE" ]; then >+ elif [ ! -z "$CLIENTSTATE" ]; then > # No local storage was found. Make a final attempt to find > # state on an NFS server. > >@@ -706,23 +706,29 @@ if [ -n "$SELINUX_STATE" ]; then > restorecon /etc/mtab /etc/ld.so.cache /etc/blkid/blkid.tab /etc/resolv.conf >/dev/null 2>&1 > fi > >-# Clear mtab >-(> /etc/mtab) &> /dev/null >- >-# Remove stale backups >-rm -f /etc/mtab~ /etc/mtab~~ >- >-# Enter mounted filesystems into /etc/mtab >-mount -f / >-mount -f /proc >/dev/null 2>&1 >-mount -f /sys >/dev/null 2>&1 >-mount -f /dev/pts >/dev/null 2>&1 >-mount -f /proc/bus/usb >/dev/null 2>&1 >+if [ "$READONLY" != "yes" ] ; then >+ # Clear mtab >+ (> /etc/mtab) &> /dev/null >+ >+ # Remove stale backups >+ rm -f /etc/mtab~ /etc/mtab~~ >+ >+ # Enter mounted filesystems into /etc/mtab >+ mount -f / >+ mount -f /proc >/dev/null 2>&1 >+ mount -f /sys >/dev/null 2>&1 >+ mount -f /dev/pts >/dev/null 2>&1 >+ mount -f /proc/bus/usb >/dev/null 2>&1 >+fi > > # Mount all other filesystems (except for NFS and /proc, which is already > # mounted). Contrary to standard usage, > # filesystems are NOT unmounted in single user mode. >-action $"Mounting local filesystems: " mount -a -t nonfs,nfs4,smbfs,ncpfs,cifs,gfs -O no_netdev >+if [ "$READONLY" != "yes" ] ; then >+ action $"Mounting local filesystems: " mount -a -t nonfs,nfs4,smbfs,ncpfs,cifs,gfs -O no_netdev >+else >+ action $"Mounting local filesystems: " mount -a -n -t nfs4,smbfs,ncpfs,cifs,gfs -O no_netdev >+fi > > if [ -x /sbin/quotaon ]; then > action $"Enabling local filesystem quotas: " /sbin/quotaon -aug
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 433702
: 295456 |
295457
|
295458
|
295459