I cleared the build products and ran rake build again, the result was
the same. diffoscope output attached.
--- /home/nock/tails-amd64-3.1.iso
+++ tails-amd64-3.1.iso
├── live/filesystem.squashfs
│ ├── unsquashfs -d '' -lls {}
│ │ @@ -1169,15 +1169,15 @@
│ │ -rw-r--r-- root/root 177 2016-12-04 20:37 /etc/gss/mech.d/README
│ │ drwxr-xr-x root/root 41 2017-08-05 13:25 /etc/gtk-2.0
│ │ -rw-r--r-- root/root 890 2017-01-26 16:59 /etc/gtk-2.0/im-multipress.conf
│ │ drwxr-xr-x root/root 41 2017-08-05 13:25 /etc/gtk-3.0
│ │ -rw-r--r-- root/root 890 2017-03-24 01:27 /etc/gtk-3.0/im-multipress.conf
│ │ -rw-r--r-- root/root 4781 2017-01-24 11:20 /etc/hdparm.conf
│ │ -rw-r--r-- root/root 9 2006-08-07 17:14 /etc/host.conf
│ │ --rw-r--r-- root/root 22 2017-08-05 13:25 /etc/hostname
│ │ +-rwxr-xr-x root/root 22 2017-08-05 13:25 /etc/hostname
│ │ -rw-r--r-- root/root 0 2017-08-05 13:25 /etc/hosts
│ │ -rw-r--r-- root/root 411 2017-08-05 13:25 /etc/hosts.allow
│ │ -rw-r--r-- root/root 711 2017-08-05 13:25 /etc/hosts.deny
│ │ drwxr-xr-x root/root 33 2017-08-05 13:25 /etc/hp
│ │ -rw-r--r-- root/root 961 2017-08-05 13:25 /etc/hp/hplip.conf
│ │ drwxr-xr-x root/root 31 2017-08-05 13:25 /etc/ifplugd
│ │ drwxr-xr-x root/root 33 2017-08-05 13:25 /etc/ifplugd/action.d
anonym writes:
> Thanks for participating!
>
> So the problem in your ISO image is that /etc/hostname gets all executable bits set, which shouldn't happen. I've filed this as: https://labs.riseup.net/code/issues/13623
>
> nock, it'd be interesting to see if you can reproduce this issue again. So, can you please retry building Tails 3.1 in the exact same environment?
>
> Cheers!