-
Bug
-
Resolution: Done-Errata
-
Minor
-
None
-
False
-
False
-
-
2
-
2023-R4, 2024-R1
-
Testable
Convert2rhel performs a check to see if the user is root since the analysis and conversion both require root permissions. Additionally, the application lock that is new in 1.4 also requires root permissions.
However, the check for root is happening before we parse the command line. This means that we cannot print the –help message unless the user is root. Other, similar programs will print the help message for an unprivileged user (Example: yum --help) so this should be considered a bug.
Acceptance Criteria
- As an unprivileged user, type{
Unknown macro: {convert2rhel --help}
}
- Convert2rhel prints its help message and exits.
- Implementation note: The code for this should not be placed in initialize.py as initialize.py exists for things which need to happen before we import certain other modules. We need to keep that code simple and only put things that are really necessary there.
- is related to
-
RHELC-1234 Duplicate convert2rhel process disregards logs from already running instance
- Closed
- links to
-
RHEA-2024:128380 convert2rhel bug fix and enhancement update
-
RHEA-2024:128382 convert2rhel bug fix and enhancement update