Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
-
Night's Watch
-
3
-
NW - 2020-04-15, NW - 2020-04-29
-
Customer Feedback
-
Bug Fix
-
when `oslevel -s` command is executed on AIX, redirect `stderr` to `/dev/null` as sometimes output is shown on `stderr` and the `kernel` fact gets broken.
-
Needs Assessment
Description
PE version: Reported on 2016.4.10 but present in all versions of PE
Facter version: Reported on 3.6.9 but present in all versions of facter
The AIX kernel resolver fact runs oslevel -s and redirects stderr to stdout. If oslevel produces an error, this behavior breaks kernel facts.
This in turn breaks kernel fact resolution with no workaround.
There's no documented reason why stderr needs to be redirected to stdout here.