Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79316 - [libutempter] /usr/lib/utempter/utempter permissions and GID mismatch

Attached to Project: Arch Linux
Opened by drws (drws) - Sunday, 06 August 2023, 19:27 GMT
Last edited by Toolybird (Toolybird) - Monday, 07 August 2023, 04:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: In the package, `/usr/lib/utempter/utempter` has permissions `2711` and group `root`. However, during first runtime, permissions get changed to `711` and group to `utmp`. This produces false positives during certain package integrity checks.

Additional info:
* package version: 1.2.1-3

Steps to reproduce:
1. make sure `libutempter` is installed
2. make sure `libutempter` has been loaded at least once
3. run an integrity check (paccheck for example) or manually compare permissions of `/usr/lib/utempter/utempter` with the package
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 07 August 2023, 04:41 GMT
Reason for closing:  Won't fix
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Monday, 07 August 2023, 04:40 GMT
Please see  FS#58306  for the background on why it was done this way (and the comment from @loqs about pacman -Qkk). So yes, this is already well known, but unfortunately AFAICT there is no easy way to fix it. Even more so now because the pkg is orphaned (i.e. no Arch maintainer).

(Sidenote: this is a concern when libutempter is pulled in by a pkg in "Core" e.g util-linux and to a lesser extent tmux. I have notified some PM's who might be interested to adopt).

Even on a brand new system you will usually always see issues with integrity checks. It can never be perfect so IMHO there are some things we just have to live with.

Loading...