[Pkg-shadow-devel] Bug#817971: shadow: binaries depend on the SHELL variable of the builder

Niels Thykier niels at thykier.net
Sat Mar 12 08:31:09 UTC 2016


Source: shadow
Version: 1:4.2-3.1
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment

Hi,

While trying to debug why shadow was *not* reproducible, we discovered
that it captures the "SHELL" variable of the builder and uses that
as the "last resort" shell.

This might be fine for personal builds, but I think that a
distrobution build should pick a well-defined default, which is always
available.  In the attached patch, I picked "/bin/bash" (but I believe
"/bin/sh" would be quite acceptable too).

Thanks,
~Niels
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d-rules-Explicitly-set-SHELL-to-bin-bash.patch
Type: text/x-diff
Size: 1355 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20160312/ab6bf156/attachment.patch>


More information about the Pkg-shadow-devel mailing list