Bug 2332433
| Summary: | IPA Client Fails to Install/Initialize on Fedora Atomic Because of Missing Directories | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alex Botelho <botelho2305> | ||||
| Component: | freeipa | Assignee: | IPA Maintainers <ipa-maint> | ||||
| Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | abokovoy, akarypid, ftrivino, ipa-maint, mhjacks, pvoborni, rcritten, ssorce, twoerner, yacoob | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 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: | |||||||
| Attachments: | 
 | ||||||
| 
        
          Description
        
        
          Alex Botelho
        
        
        
        
        
          2024-12-14 23:39:30 UTC
        
       Created attachment 2062510 [details]
tmpfiles config that seems to fix the missing directories error
Thanks for the report. We are planning to work on bootc integration early 2025. This is not the only problem to solve, unfortunately. I mentioned some of these issues in my Flock to Fedora talk this year https://cfp.fedoraproject.org/flock-2024/talk/Q8MNVM/. We have been blocked so far by a number of issues in rpm-ostree and bootc around SELinux policy and handling of xattrs in the derived images. The latter issue was recently resolved (and, for example, SSSD started to work properly in a fully setup environment), so there is some progress. Using tmpfiles needs to be limited to specific packages. FreeIPA should not own tmpfiles for certmonger, for example, so that part cannot be merged to FreeIPA. We also need to properly handle client upgrades to be run in a systemd unit at deployment side rather than during the package upgrade. I have opened https://pagure.io/freeipa/issue/9684 for that and will intend to handle tmpfiles there as well but this will come in 2025. Moving the state to assigned to indicate it is in plans to work on this bug. Thanks for your time Alex! I've opened a merge request with Bluefin to remove freeipa-client and sssd-ipa from their image for now. I will try and keep an eye on progress for all of this and have Bluefin add it back in once it works. YouTube seems uninterested in buffering that video at the moment for some reason. I will definitely have a look at a later time. Cheers! FWIW, it's not limited to the client alone - freeipa-server-common package contains a number of directories under /var/lib and they are all missing on a silverblue install. Which in turn breaks ipa-server-install. (In reply to yacoob from comment #4) > FWIW, it's not limited to the client alone - freeipa-server-common package > contains a number of directories under /var/lib and they are all missing on > a silverblue install. Which in turn breaks ipa-server-install. Yes, it is a known problem. We aren't started working on the fix yet, but we intend to. Before it is fixed, we do not support running IPA server in the bootc environments. I'm moving this bug to Rawhide. If we'd fix it, there will be no intent to backport to F41, for sure. |