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 699328 Details for
Bug 817347
No root device in the grub2.cfg after kernel upgrade with an empty /etc/fstab
[?]
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]
Suppress error message if /etc/fstab doesn't exists.
0002-Suppress-error-message-in-case-of-an-empty-etc-fstab.patch (text/plain), 853 bytes, created by
Peter Lemenkov
on 2013-02-19 05:29:25 UTC
(
hide
)
Description:
Suppress error message if /etc/fstab doesn't exists.
Filename:
MIME Type:
Creator:
Peter Lemenkov
Created:
2013-02-19 05:29:25 UTC
Size:
853 bytes
patch
obsolete
>From 139bcdbf01db2caa57fc8330215a44693e091c07 Mon Sep 17 00:00:00 2001 >From: Peter Lemenkov <lemenkov@gmail.com> >Date: Tue, 19 Feb 2013 09:17:47 +0400 >Subject: [PATCH 2/2] Suppress error message in case of an empty /etc/fstab > >Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> >--- > new-kernel-pkg | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/new-kernel-pkg b/new-kernel-pkg >index f0efc59..86fd035 100755 >--- a/new-kernel-pkg >+++ b/new-kernel-pkg >@@ -164,7 +164,7 @@ install() { > fi > > # get the root filesystem to use >- rootdevice=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $1; }}' /etc/fstab) >+ rootdevice=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $1; }}' /etc/fstab 2>/dev/null) > if [ "$rootdevice" = "" ]; > then > rootdevice=`grep -o -P "(?<=root=)\S+" /proc/cmdline` >-- >1.8.1.2 >
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 817347
:
697317
|
699327
| 699328