rpmbuild should not store UIDs #3547
bmwiedemann
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
This might actually be fixed already by a0553eb Also in any case, rpm v6 format does not use cpio payload so the issue doesn't exist there at all. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for that pointer. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While working on reproducible builds for openSUSE, I found that getting bit-wise reproduction fails for packages, if these use something like
%attr(0755,wwwrun,www)%{_localstatedir}/lib/%{name}/
because users are created by
useradd
and that selects the next available UID and rpmbuild stores it as part of cpio headers in the payload.Here is an example extract from our
ganglia-web-3.7.5-3.1.noarch.rpm
Here
1f3
and18e
are the embedded UIDs.I think, rpm only uses the user-names for installing, so we could probably just store a 0 there during rpmbuild. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions