Bug 1223578

Summary: Ensure that all %ghost entries have %attr() matching the final permissions (e.g. from systemd-tmpfiles)
Product: [openSUSE] openSUSE Tumbleweed Reporter: Marcus Rückert <mrueckert>
Component: BasesystemAssignee: Dirk Mueller <dmueller>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Marcus Rückert 2024-04-30 10:49:12 UTC
just an example


```
rpm -qlv pipewire | grep /var/lib/pip
d---------    2 root     root                        0 Apr 17 08:56 /var/lib/pipewire
----------    1 root     root                        0 Apr 17 08:56 /var/lib/pipewire/pipewire_post_workaround
```

this then causes unneeded noise e.g. in `rpm -V pipewire`

```
rpm -V pipewire
.M.......  g /var/lib/pipewire
```

1. all %ghost entries should come with %attr()

```
%ghost %attr(0644,root,root) %config(noreplace) /etc/apparmor.d/local/%{name}
```

2. rpmlint check that errors out if the permissions bits for an entry are set to 000
Comment 2 OBSbugzilla Bot 2024-05-28 13:25:02 UTC
This is an autogenerated message for OBS integration:
This bug (1223578) was mentioned in
https://build.opensuse.org/request/show/1177352 Factory / apparmor