FreeIPA nightly tests fail to add add ipa user. See for instance this test report with the following test_integration/test_sssd.py::TestSSSDWithAdTrust::test_auth_cache_disabled_by_default[ipa]::setup report.
ERROR ipatests.pytest_ipa.integration.host.Host.master.cmd106:host.py:201 stderr: ipa: ERROR: Insufficient access: Could not read UPG Definition originfilter. Check your permissions.
ipa user-add should succeed.
389-ds-base-2.1.3-1.fc36.x86_64 The full package list is available here.
Failure observed in testing_master_testing_selinux report
Metadata Update from @amore: - Issue tagged with: test-failure, tests
The wrong principal was used: cifs/master.ipa.test@IPA.TEST
From the httpd error log:
[Thu Jul 07 11:07:18.975926 2022] [wsgi:error] [pid 20695:tid 21125] [remote 192.168.122.24:36742] ipa: INFO: [jsonserver_kerb] cifs/master.ipa.test@IPA.TEST: user_add/1('user2', givenname='test', sn='user', version='2.249'): ACIError
This test hasn't changed significantly for over a year so I'm not sure why it blew up like this. It can be fixed by putting an explicit kinit admin prior to the user-add though to remove any assumptions about who is doing the add.
Metadata Update from @rcritten: - Issue assigned to rcritten
https://github.com/freeipa/freeipa/pull/6355
The same issue occurs in test_winsyncmigrate.py::TestWinsyncMigrate::test_migration, where the test is doing - kinit admin - ipa trust-add - ipa-winsync-migrate and the last call is using cifs/master.ipa.test@IPA.TEST principal instead of admin.
test_winsyncmigrate.py::TestWinsyncMigrate::test_migration
The same issue occurs in test_integration/test_idviews.py::TestCertsInIDOverrides::test_certs_in_idoverrides_ad_users.
test_integration/test_idviews.py::TestCertsInIDOverrides::test_certs_in_idoverrides_ad_users
There are a ton of NetworkManager AVCs but I suspect it is related to these samba errors:
type=AVC msg=audit(1657297049.998:3704): avc: denied { sendto } for pid=13209 comm="smbcontrol" path="/var/lib/samba/private/msg.sock/13133" scontext=unconfined_u:unconfined_r:smbcontrol_t:s0-s0:c0.c1023 tcontext=system_u:system_r:winbind_rpcd_t:s0 tclass=unix_dgram_socket permissive=0 type=AVC msg=audit(1657297049.998:3705): avc: denied { sendto } for pid=13209 comm="smbcontrol" path="/var/lib/samba/private/msg.sock/13133" scontext=unconfined_u:unconfined_r:smbcontrol_t:s0-s0:c0.c1023 tcontext=system_u:system_r:winbind_rpcd_t:s0 tclass=unix_dgram_socket permissive=0 type=AVC msg=audit(1657297049.998:3706): avc: denied { sendto } for pid=13209 comm="smbcontrol" path="/var/lib/samba/private/msg.sock/13146" scontext=unconfined_u:unconfined_r:smbcontrol_t:s0-s0:c0.c1023 tcontext=system_u:system_r:winbind_rpcd_t:s0 tclass=unix_dgram_socket permissive=0 type=AVC msg=audit(1657297049.998:3707): avc: denied { sendto } for pid=13209 comm="smbcontrol" path="/var/lib/samba/private/msg.sock/13146" scontext=unconfined_u:unconfined_r:smbcontrol_t:s0-s0:c0.c1023 tcontext=system_u:system_r:winbind_rpcd_t:s0 tclass=unix_dgram_socket permissive=0 type=AVC msg=audit(1657297049.999:3708): avc: denied { sendto } for pid=13209 comm="smbcontrol" path="/var/lib/samba/private/msg.sock/13151" scontext=unconfined_u:unconfined_r:smbcontrol_t:s0-s0:c0.c1023 tcontext=system_u:system_r:winbind_rpcd_t:s0 tclass=unix_dgram_socket permissive=0 type=AVC msg=audit(1657297049.999:3709): avc: denied { sendto } for pid=13209 comm="smbcontrol" path="/var/lib/samba/private/msg.sock/13151" scontext=unconfined_u:unconfined_r:smbcontrol_t:s0-s0:c0.c1023 tcontext=system_u:system_r:winbind_rpcd_t:s0 tclass=unix_dgram_socket permissive=0
I added negative karma to https://bodhi.fedoraproject.org/updates/FEDORA-2022-fd22b79a84
Opened BZ https://bugzilla.redhat.com/show_bug.cgi?id=2106006 against fedora 36 / selinux-policy
Reproduced in : testing_master_testing_selinux report-test_idviews report-test_sssd
Reproduced in test_master_testing_selinux test_idviews test_sssd test_winsyncmigrate
Failure is reproduced and new AVC are collected in audit.log using version selinux-policy-36.13-3.fc36.noarch see installed packages
Opened BZ https://bugzilla.redhat.com/show_bug.cgi?id=2115691 against fedora 36 / selinux-policy with selinux-policy-36.13-3.fc36.noarch
Occurred in [testing_ipa-4.9_latest_selinux] Nightly PR #1926 , report
Metadata Update from @frenaud: - Issue tagged with: tracker
The issue was seen in the nightlies [testing_ipa-4.9_latest_selinux]. Last run: PR #2118: not seen, with selinux-policy-36.16-1.fc36.noarch Prev run: PR #2099: seen, with selinux-policy-36.15-1.fc36.noarch.
selinux-policy-36.16-1.fc36.noarch
selinux-policy-36.15-1.fc36.noarch
Summary: - Fedora 35 is not impacted - Fedora 36 needs the newest selinux-policy (ipa-4-9 branch and above) - Fedora 37 not impacted. We need to bump the selinux-policy version required by freeipa-server on ipa-4-9 branch and above.
Update: - on RHEL8, the fix is available with selinux-policy 3.14.3-107 (https://bugzilla.redhat.com/show_bug.cgi?id=2117199) - RHEL9: not available yet (https://bugzilla.redhat.com/show_bug.cgi?id=2114902)
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6518 - Issue assigned to frenaud (was: rcritten)
master:
ipa-4-10:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)