On 30. 11. 23 16:01, Rob Crittenden wrote:
Michal Konecny via FreeIPA-users wrote:
Hi,

I upgraded Fedora staging environment to RHEL 9 and encountered this
issue https://access.redhat.com/solutions/7015184.
How did you upgrade from Fedora staging to RHEL 9? What does that mean?

I was following this guide https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/migrating_to_identity_management_on_rhel_9/index#migrating_idm_from_rhel_8_to_rhel_9

The fedora infra ticket for that is here https://pagure.io/fedora-infrastructure/issue/10358

To resolve that I tried to run `ipa config-mod --enable-sid --add-sids`,
but it failed on
`The ipa-enable-sid command failed, exception: PermissionError: [Errno
13] Permission denied: '/etc/krb5.conf.ipabkp'`

As expected this was SELinux issue
```
type=AVC msg=audit(1701349641.295:30008): avc:  denied  { write } for
pid=157909 comm="org.freeipa.ser" name="etc" dev="dm-0" ino=33685633
scontext=system_u:system_r:ipa_helper_t:s0
tcontext=system_u:object_r:etc_t:s0 tclass=dir permissive=0
```

I tried to relabel the whole system to fix it, but the denial is still
there. Did I miss something?
Shouldn't IPA server had access to /etc?
This isn't the server. It is executed as an oddjob task which runs in a
different context.

It ensures that krb5.conf is setup correctly and apparently yours is not
and tries to correct it but fails in making a backup.

Can you file a JIRA ticket on this?
I can, where should I file it?

rob

--
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to