Bug 1223578 - Ensure that all %ghost entries have %attr() matching the final permissions (e.g. from systemd-tmpfiles)
Summary: Ensure that all %ghost entries have %attr() matching the final permissions (e...
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Dirk Mueller
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-30 10:49 UTC by Marcus Rückert
Modified: 2024-05-28 13:25 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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