[Rpm-maint] [rpm-software-management/rpm] RemovePathPostfixes produces wrong .build-id symlink for the binary with removed postfix (Issue #3859)

Vitalio notifications at github.com
Sun Jul 6 21:14:01 UTC 2025


vt-alt created an issue (rpm-software-management/rpm#3859)

For example in [systemd-standalone-shutdown-257.7-1.fc43.x86_64.rpm](https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/s/systemd-standalone-shutdown-257.7-1.fc43.x86_64.rpm)
```
$ less systemd-standalone-shutdown-257.7-1.fc43.x86_64.rpm
...
drwxr-xr-x    2 root    root                        0 Jun 26 00:00 /usr/lib/.build-id
lrwxrwxrwx    1 root    root                       55 Jun 26 00:00 /usr/lib/.build-id/e5/e4e26e3fc9afaef4715afe0cd3701f871c5824 -> ../../../../usr/lib/systemd/systemd-shutdown.standalone
-rwxr-xr-x    1 root    root                   424488 Jun 26 00:00 /usr/lib/systemd/systemd-shutdown
```
Clearly, symlink should be to `systemd-shutdown` not to `systemd-shutdown.standalone`.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3859
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3859 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250706/e0078e0e/attachment.htm>


More information about the Rpm-maint mailing list