https://bugzilla.redhat.com/show_bug.cgi?id=2203538
Bug ID: 2203538 Summary: Missing files in sssd-common Product: Fedora Version: 38 Hardware: x86_64 OS: Linux Status: NEW Component: sssd Severity: low Assignee: sssd-maintainers@lists.fedoraproject.org Reporter: oppiet35@yahoo.com QA Contact: extras-qa@fedoraproject.org CC: abokovoy@redhat.com, atikhono@redhat.com, jhrozek@redhat.com, lslebodn@redhat.com, luk.claes@gmail.com, mzidek@redhat.com, pbrezina@redhat.com, sbose@redhat.com, ssorce@redhat.com, sssd-maintainers@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
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
https://bugzilla.redhat.com/show_bug.cgi?id=2203538
Alexey Tikhonov atikhono@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #1 from Alexey Tikhonov atikhono@redhat.com --- 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."
https://bugzilla.redhat.com/show_bug.cgi?id=2203538
Andre Boscatto aboscatt@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(oppiet35@yahoo.co | |m) CC| |aboscatt@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2203538
--- Comment #2 from Andre Boscatto aboscatt@redhat.com --- Do you have any additional questions or the previous answer satisfies your question?
https://bugzilla.redhat.com/show_bug.cgi?id=2203538
Robert Hinson oppiet35@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(oppiet35@yahoo.co | |m) |
--- Comment #3 from Robert Hinson oppiet35@yahoo.com --- No, I don't. I didn't know how that worked. Thanks for this info.
https://bugzilla.redhat.com/show_bug.cgi?id=2203538
Alexey Tikhonov atikhono@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG Last Closed| |2023-05-29 07:02:23
sssd-maintainers@lists.fedoraproject.org