Bug 2203538 - Missing files in sssd-common
Summary: Missing files in sssd-common
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 38
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: sssd-maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-13 19:19 UTC by Robert Hinson
Modified: 2023-05-29 07:02 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-29 07:02:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Hinson 2023-05-13 19:19:22 UTC
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

Comment 1 Alexey Tikhonov 2023-05-15 10:05:39 UTC
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."

Comment 2 Andre Boscatto 2023-05-25 14:17:09 UTC
Do you have any additional questions or the previous answer satisfies your question?

Comment 3 Robert Hinson 2023-05-29 02:29:36 UTC
No, I don't.  I didn't know how that worked.  Thanks for this info.


Note You need to log in before you can comment on or make changes to this bug.