[Rpm-maint] [rpm-software-management/rpm] fix rpmbuild failure because of wrong symlink length on some filesystems (#1740)

Demi Marie Obenour notifications at github.com
Thu Jul 1 00:17:47 UTC 2021


> But I am hesitant to merge this just to work around what looks to me like a very obvious bug in an file system. Let's keep this open until we see where [google/fscrypt#305](https://github.com/google/fscrypt/issues/305) is going. But I suspect this issue is going to get fixed (hopefully) quickly.

As mentioned in that issue, returning an accurate value would cause a performance penalty, which is why it has not been done yet.  Since rpmbuild (presumably) needs the actual symlink target, it can just call `readlink` and cache the result, which has no performance penalty.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1740#issuecomment-871811110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210630/4bc15de6/attachment-0001.html>


More information about the Rpm-maint mailing list