Bug 2224202 - 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 9
Classification: Red Hat
Component: mdadm
Version: 9.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: XiaoNi
QA Contact: Fine Fan
URL:
Whiteboard:
Depends On: 2224195
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-20 07:49 UTC by Fine Fan
Modified: 2023-07-20 07:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2224195
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-162826 0 None None None 2023-07-20 07:49:50 UTC

Description Fine Fan 2023-07-20 07:49:00 UTC
+++ This bug was initially created as a clone of Bug #2224195 +++

Description of problem:

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

Version-Release number of selected component (if applicable):
mdadm-4.2-9.el9.

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.