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 159638 Details for
Bug 249003
/forcequotacheck and quotacheck after fsck errors corrected do not work
[?]
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]
Move quotacheck after mounting local filesystems, disable skipping of root filesystem
rc.sysinit-quotacheck.patch (text/plain), 2.02 KB, created by
Tomasz Ostrowski
on 2007-07-20 09:37:43 UTC
(
hide
)
Description:
Move quotacheck after mounting local filesystems, disable skipping of root filesystem
Filename:
MIME Type:
Creator:
Tomasz Ostrowski
Created:
2007-07-20 09:37:43 UTC
Size:
2.02 KB
patch
obsolete
>--- /etc/rc.d/rc.sysinit.orig 2007-05-08 14:21:47.000000000 +0200 >+++ /etc/rc.d/rc.sysinit 2007-07-20 10:58:38.000000000 +0200 >@@ -690,27 +690,6 @@ > fi > fi > >-# Update quotas if necessary >-if [ X"$_RUN_QUOTACHECK" = X1 -a -x /sbin/quotacheck ]; then >- if [ -x /sbin/convertquota ]; then >- # try to convert old quotas >- for mountpt in `LC_ALL=C awk '$4 ~ /quota/{print $2}' /etc/mtab` ; do >- mountpt="$(fstab_decode_str "$mountpt")" >- if [ -f "$mountpt/quota.user" ]; then >- action $"Converting old user quota files: " \ >- /sbin/convertquota -u "$mountpt" && \ >- rm -f "$mountpt/quota.user" >- fi >- if [ -f "$mountpt/quota.group" ]; then >- action $"Converting old group quota files: " \ >- /sbin/convertquota -g "$mountpt" && \ >- rm -f "$mountpt/quota.group" >- fi >- done >- fi >- action $"Checking local filesystem quotas: " /sbin/quotacheck -aRnug >-fi >- > # Remount the root filesystem read-write. > update_boot_stage RCmountfs > state=`LC_ALL=C awk '/ \/ / && ($3 !~ /rootfs/) { print $4 }' /proc/mounts` >@@ -747,6 +726,27 @@ > # filesystems are NOT unmounted in single user mode. > action $"Mounting local filesystems: " mount -a -t nonfs,nfs4,smbfs,ncpfs,cifs,gfs -O no_netdev > >+# Update quotas if necessary >+if [ X"$_RUN_QUOTACHECK" = X1 -a -x /sbin/quotacheck ]; then >+ if [ -x /sbin/convertquota ]; then >+ # try to convert old quotas >+ for mountpt in `LC_ALL=C awk '$4 ~ /quota/{print $2}' /etc/mtab` ; do >+ mountpt="$(fstab_decode_str "$mountpt")" >+ if [ -f "$mountpt/quota.user" ]; then >+ action $"Converting old user quota files: " \ >+ /sbin/convertquota -u "$mountpt" && \ >+ rm -f "$mountpt/quota.user" >+ fi >+ if [ -f "$mountpt/quota.group" ]; then >+ action $"Converting old group quota files: " \ >+ /sbin/convertquota -g "$mountpt" && \ >+ rm -f "$mountpt/quota.group" >+ fi >+ done >+ fi >+ action $"Checking local filesystem quotas: " /sbin/quotacheck -anug >+fi >+ > if [ -x /sbin/quotaon ]; then > action $"Enabling local filesystem quotas: " /sbin/quotaon -aug > 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 249003
:
159638
|
159696