kpcyrd / rebuilderd

Independent verification of binary packages - reproducible builds
GNU General Public License v3.0
352 stars 23 forks source link

rebuilderd-worker@.service: all builds fail #28

Closed stefan0xC closed 3 years ago

stefan0xC commented 4 years ago

Due to the introduction of setsid -c in repro (cf. archlinux/archlinux-repro#82 ) and that by default systemd-services don't run in a terminal, by running rebuilderd-worker@build.service all builds will eventually fail with the following message:

setsid: failed to set the controlling terminal: Inappropriate ioctl for device

I am not sure if this issue can be resolved by simply telling the service to use a tty somehow. As far as I've tested it this results in the referenced bug (ie. first build succeeding, subsequent failing until service is restarted).

kpcyrd commented 4 years ago

hey! I've opened a PR in archlinux-repro to apply a patch that has been floating around for a while. I'm not sure if there's a better way to work around this unfortunately, but I'd be very interested if there is one!

kpcyrd commented 3 years ago

The patch was merged, keeping this issue open until a new repro version was released.