Bug 2149988
| Summary: | mkhomedir does not set the permissions of the home directory according to HOME_MODE | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Alexander Bokovoy <abokovoy> |
| Component: | oddjob | Assignee: | Alexander Bokovoy <abokovoy> |
| Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.1 | CC: | myusuf, rcritten |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | oddjob-0.34.7-7.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-09 07:46:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alexander Bokovoy
2022-12-01 14:20:10 UTC
Fix was provided upstream in https://pagure.io/oddjob/pull-request/18 and merged. version:
oddjob-0.34.7-7.el9.x86_64
test_integration/test_installation_client.py:
============================= test session starts ==============================
platform linux -- Python 3.9.16, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.9.16', 'Platform': 'Linux-5.14.0-212.el9.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '6.2.2', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.7.0', 'multihost': '3.0', 'html': '3.1.1', 'sourceorder': '0.6.0'}}
rootdir: /usr/lib/python3.9/site-packages/ipatests
plugins: metadata-1.7.0, multihost-3.0, html-3.1.1, sourceorder-0.6.0
collecting ... collected 4 items
test_integration/test_installation_client.py::TestInstallClient::test_dns_lookup_kdc_is_true_with_default_enrollment_options PASSED [ 25%]
test_integration/test_installation_client.py::TestInstallClient::test_dns_lookup_kdc_is_true_with_ipa_server_on_cli PASSED [ 50%]
test_integration/test_installation_client.py::TestInstallClient::test_client_install_with_ssh_trust_dns PASSED [ 75%]
test_integration/test_installation_client.py::TestClientInstallBind::test_client_nsupdate PASSED [100%]
=============================== warnings summary ===============================
../pytest_sourceorder.py:31
/usr/lib/python3.9/site-packages/pytest_sourceorder.py:31: PytestUnknownMarkWarning: Unknown pytest.mark.source_order - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
cls = pytest.mark.source_order(cls)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
================== 4 passed, 1 warning in 1193.87s (0:19:53) ===================
============================= test session starts ==============================
platform linux -- Python 3.9.16, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.9.16', 'Platform': 'Linux-5.14.0-212.el9.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '6.2.2', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.7.0', 'multihost': '3.0', 'html': '3.1.1', 'sourceorder': '0.6.0'}}
rootdir: /usr/lib/python3.9/site-packages/ipatests
plugins: metadata-1.7.0, multihost-3.0, html-3.1.1, sourceorder-0.6.0
collecting ... collected 11 items
test_integration/test_authselect.py:
test_integration/test_authselect.py::TestClientInstallation::test_install_client_no_preconfigured_profile PASSED [ 9%]
test_integration/test_authselect.py::TestClientInstallation::test_uninstall_client_no_preconfigured_profile PASSED [ 18%]
test_integration/test_authselect.py::TestClientInstallation::test_install_client_preconfigured_profile PASSED [ 27%]
test_integration/test_authselect.py::TestClientInstallation::test_uninstall_client_preconfigured_profile PASSED [ 36%]
test_integration/test_authselect.py::TestClientInstallation::test_install_client_no_sudo PASSED [ 45%]
test_integration/test_authselect.py::TestClientInstallation::test_uninstall_wrong_sysrestore PASSED [ 54%]
test_integration/test_authselect.py::TestClientInstallation::test_install_client_subid PASSED [ 63%]
test_integration/test_authselect.py::TestServerInstallation::test_install PASSED [ 72%]
test_integration/test_authselect.py::TestServerInstallation::test_uninstall PASSED [ 81%]
test_integration/test_authselect.py::TestServerInstallation::test_install_with_subid PASSED [ 90%]
test_integration/test_authselect.py::TestServerInstallation::test_uninstall_with_subid PASSED [100%]
=============================== warnings summary ===============================
../pytest_sourceorder.py:31
/usr/lib/python3.9/site-packages/pytest_sourceorder.py:31: PytestUnknownMarkWarning: Unknown pytest.mark.source_order - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
cls = pytest.mark.source_order(cls)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
================== 11 passed, 1 warning in 4575.16s (1:16:15) ==================
Automation passed, hence marking the bug as verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (oddjob bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2327 |