I reinstall sssd-common and it has the /etc/sssd/sssd.conf file in the package but when I reinstall it the file isn't in the directory. I don't know anything about rpm's. I see the file listed when I do rpm -qil sssd-common. Is there an action somewhere that removes that file? Reproducible: Always Steps to Reproduce: 1. sudo dnf reinstall sssd-common 2. sudo ls /etc/sssd/sssd.conf 3. Actual Results: ls: cannot access '/etc/sssd/sssd.conf': No such file or directory
Hi, > I reinstall sssd-common and it has the /etc/sssd/sssd.conf file in the package No, it doesn't (shouldn't). SSSD doesn't install any actual config file by default (only ships an example in %{_libdir}/%{name}/conf/sssd.conf - /usr/lib64/sssd/conf/sssd.conf) Probably 'rpm -qil' lists it due to https://src.fedoraproject.org/rpms/sssd/blob/rawhide/f/sssd.spec#_760: ``` %ghost %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sssd/sssd.conf ``` -- "... the %ghost directive. By adding this directive to the line containing a file, RPM will know about the ghosted file, but will not add it to the package."
Do you have any additional questions or the previous answer satisfies your question?
No, I don't. I didn't know how that worked. Thanks for this info.