On Mon, 1 Aug 2016 20:14:36 +0200 Reiner Herrmann <rei...@reiner-h.de> wrote: > Source: trafficserver > Version: 6.1.1-1 > Severity: wishlist > Tags: patch upstream > User: reproducible-bui...@lists.alioth.debian.org > Usertags: umask username hostname > X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org > > Hi! > > While working on the "reproducible builds" effort [1], we have noticed > that trafficserver could not be built reproducibly. > It embeds the build username/groupname/hostname into the binary and has > files in /etc varying with different umasks. > > The attached patch uses deterministic values for user/group/hostname and > let's dh_fixperms normalize the permissions in /etc/trafficserver. > I didn't find a reason why it was excluded from dh_fixperms, but please > check if removing it from the exclude list is really okay. >
Not sure I’m reading the patch correctly, but I don’t think we’d take a hardcoded default to root/root/localhost like this. James Peach suggested we could add support for environment variable overrides for this. Or, we could add more —with- options to configure (but this is likely less useful, so the environment path is probably best). — Leif