Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 98326 Details for
Bug 117575
rhgb breaks root-on-LVM fsck (was: [device-mapper] block device numbers are unstable)
Home
New
Search
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.rh92 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]
lvm-on-root rc.sysint fix
rc.sysinit.patch (text/plain), 1.72 KB, created by
Stephen Tweedie
on 2004-03-05 18:41:01 UTC
(
hide
)
Description:
lvm-on-root rc.sysint fix
Filename:
MIME Type:
Creator:
Stephen Tweedie
Created:
2004-03-05 18:41:01 UTC
Size:
1.72 KB
patch
obsolete
>--- etc/rc.d/rc.sysinit 2004-03-05 18:01:49.000000000 +0000 >+++ /home/sct/tmp/rc.sysinit 2004-03-05 18:32:12.000000000 +0000 >@@ -83,15 +83,6 @@ > RHGB_STARTED=0 > mount -n /dev/pts > >-# Unmount the initrd, if necessary >-if LC_ALL=C fgrep -q /initrd /proc/mounts && ! LC_ALL=C fgrep -q /initrd/loopfs /proc/mounts ; then >- if [ -e /initrd/dev/.devfsd ]; then >- umount /initrd/dev >- fi >- umount /initrd >- /sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1 >-fi >- > if fgrep rhgb /proc/cmdline > /dev/null 2>&1 && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then > /usr/bin/rhgb > RHGB_STARTED=1 >@@ -265,14 +256,19 @@ > fsckoptions="-V $fsckoptions" > fi > >- > _RUN_QUOTACHECK=0 > ROOTFSTYPE=`awk '/ \/ / && ($3 !~ /rootfs/) { print $3 }' /proc/mounts` > if [ -z "$fastboot" -a "X$ROOTFSTYPE" != "Xnfs" -a "X$ROOTFSTYPE" != "Xnfs4" ]; then > > STRING=$"Checking root filesystem" > echo $STRING >- initlog -c "fsck -T -a / $fsckoptions" >+ rootdev=`awk '/ \/ / && ($3 !~ /rootfs/) {print $1}' /proc/mounts` >+ if [ -b /initrd/"$rootdev" ] ; then >+ rootdev=/initrd/"$rootdev" >+ else >+ rootdev=/ >+ fi >+ initlog -c "fsck -T -a $rootdev $fsckoptions" > rc=$? > > if [ "$rc" = "0" ]; then >@@ -310,6 +306,15 @@ > fi > fi > >+# Unmount the initrd, if necessary >+if LC_ALL=C fgrep -q /initrd /proc/mounts && ! LC_ALL=C fgrep -q /initrd/loopfs /proc/mounts ; then >+ if [ -e /initrd/dev/.devfsd ]; then >+ umount /initrd/dev >+ fi >+ umount /initrd >+ /sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1 >+fi >+ > # Possibly update quotas if fsck was run on /. > LC_ALL=C grep -E '[[:space:]]+/[[:space:]]+' /etc/fstab | \ > awk '{ print $4 }' | \
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 117575
: 98326 |
98529
|
102011