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 305915 Details for
Bug 447273
mkinitrd has some bash and system compatibility issues
[?]
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]
Patch to fix these issues
mkinitrd.patch (text/plain), 1.06 KB, created by
Jiang Jiang
on 2008-05-19 08:37:12 UTC
(
hide
)
Description:
Patch to fix these issues
Filename:
MIME Type:
Creator:
Jiang Jiang
Created:
2008-05-19 08:37:12 UTC
Size:
1.06 KB
patch
obsolete
>From 3e1713687b34bb10ebfb9724e782cf5d0832e323 Mon Sep 17 00:00:00 2001 >From: Jiang Jiang <gzjjgod@gmail.com> >Date: Tue, 20 May 2008 00:02:39 +0800 >Subject: [PATCH] Fix 2 bash & system compatibility issue (on a CentOS 5.1 box). > >--- > mkinitrd | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/mkinitrd b/mkinitrd >index f3512aa..e7e8759 100755 >--- a/mkinitrd >+++ b/mkinitrd >@@ -77,7 +77,7 @@ NET_LIST="" > LD_SO_CONF=/etc/ld.so.conf > LD_SO_CONF_D=/etc/ld.so.conf.d/ > >-[ -e /etc/sysconfig/mkinitrd ] && . /etc/sysconfig/mkinitrd >+[ -f /etc/sysconfig/mkinitrd ] && . /etc/sysconfig/mkinitrd > > CONFMODS="$MODULES" > MODULES="" >@@ -555,7 +555,7 @@ findstoragedriver () { > continue > fi > vecho "Looking for driver for device $device" >- if [[ "$device" =~ ^(dm-|mapper/) ]]; then >+ if [[ "$device" =~ "^(dm-|mapper/)" ]]; then > majmin=$(get_numeric_dev dec "/dev/$device") > sysfs=$(finddevnoinsys $majmin) > handledm $(echo "$majmin" |cut -d : -f 1) $(echo "$majmin" |cut -d : -f 2) >-- >1.5.3.6 >
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 447273
:
305915
|
305917
|
308991