Bug 586476

Summary: fstab-decode manpage bug
Product: Red Hat Enterprise Linux 6 Reporter: Kurt Keller <kurt>
Component: initscriptsAssignee: initscripts Maintenance Team <initscripts-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: low    
Version: 6.0CC: azelinka, branto, maurizio.antillon, notting
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: initscripts-9.03.6-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-10 20:40:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kurt Keller 2010-04-27 17:21:31 UTC
Description of problem:
The example at the end of the fstab-decode manpage is incorrect; the awk command given is displayed without the double quotes and will not work.

Version-Release number of selected component (if applicable):
initscripts-9.03.4-1.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. man fstab-decode | col -b | grep awk
2.
3.
  
Actual results:
fstab-decode umount $(awk ’$3 == vfat { print $2 }’ /etc/fstab)

Expected results:
fstab-decode umount $(awk '$3 == "vfat" { print $2 }' /etc/fstab)


Additional info:

patch to fix:

--- fstab-decode.8      2010-02-15 13:45:50.000000000 -0500
+++ fstab-decode-new.8  2010-04-27 13:16:29.082087759 -0400
@@ -42,4 +42,5 @@
 
 .SH EXAMPLES
 
-.B fstab-decode umount $(awk '$3 == "vfat" { print $2 }' /etc/fstab)
+.B
+fstab-decode umount $(awk '$3 == "vfat" { print $2 }' /etc/fstab)

Comment 1 Bill Nottingham 2010-04-27 18:05:41 UTC
Fixed in git, will show up in a later build. Thanks!

Comment 4 RHEL Program Management 2010-04-27 19:03:11 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 5 Fedora Update System 2010-04-28 19:03:01 UTC
initscripts-9.02.2-1 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/initscripts-9.02.2-1

Comment 6 Fedora Update System 2010-04-28 19:06:06 UTC
initscripts-9.10-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/initscripts-9.10-1.fc13

Comment 7 Fedora Update System 2010-05-04 23:53:46 UTC
initscripts-9.11-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-05-22 01:47:33 UTC
initscripts-9.02.2-1 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 releng-rhel@redhat.com 2010-11-10 20:40:13 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.