Bug 2224195 - mdadm -V and mdadm --version ouput should into stdout
Summary: mdadm -V and mdadm --version ouput should into stdout
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: mdadm
Version: 8.9
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.10
Assignee: XiaoNi
QA Contact: Fine Fan
URL:
Whiteboard:
Depends On:
Blocks: 2224202
TreeView+ depends on / blocked
 
Reported: 2023-07-20 07:19 UTC by Fine Fan
Modified: 2023-07-20 07:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2224202 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-162821 0 None None None 2023-07-20 07:21:47 UTC

Description Fine Fan 2023-07-20 07:19:24 UTC
Description of problem:

Checking the ouput of "mdadm -V" and "mdadm --version"

Version-Release number of selected component (if applicable):
mdadm-4.2-8.el8.x86_64

How reproducible:


Steps to Reproduce:
1. mdadm -V > mdadm_V.txt
2. mdadm --version > mdadm_version.txt
3. cat mdadm_V.txt   
4. cat mdadm_version.txt

Actual results:
Version number print to screen.
Nothing in the mdadm_V.txt and the mdadm_version.txt files.

Expected results:
mdadm version in these txt files.


Additional info:
If I use :
mdadm -V 2> mdadm_V.txt
mdadm --version 2> mdadm_version.txt
I could got the version in these txt files.


Note You need to log in before you can comment on or make changes to this bug.