#13645 closed bug (fixed)
buildbot slaves configuration
Reported by: | korli | Owned by: | kallisti5 |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Sys-Admin | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Please fix the buildbot configuration for these slaves.
http://buildbot.haiku-os.org/buildslaves/kallisti5-fedora01 http://buildbot.haiku-os.org/buildslaves/kallisti5-fedora02
"Your umask is too restrictive (should be: <= 0022; is actually: 0077)"
https://www.freelists.org/post/haiku-commits/haiku-hrev51324,1
Change History (9)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Looks like I was starting the buildslave via a cron entry:
@reboot buildslave start /var/lib/buildbot/slaves/haiku
Going to convert to a systemd service:
[Unit] Description=BuildBot slave service After=network.target [Service] User=bbot Group=bbot WorkingDirectory=/home/bbot ExecStart=/bin/buildslave start /var/lib/buildbot/slaves/haiku
systemd defaults to 022
comment:3 by , 7 years ago
It looks like geist's builder on Ubuntu is encountering the same issue: http://buildbot.haiku-os.org/builders/haiku-repository-x86_64/builds/3499
I wonder if he is spawning it via a one-liner cron entry as well?
comment:5 by , 7 years ago
[18:24:27] <PulkoMandy> geist: we need to set umask to 022 in buildbot.tac on the slaves
comment:6 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Done. Was set to "None" on my slaves.
comment:8 by , 7 years ago
A little background: the default in unix is indeed 0022, but twistd (the thing used to daemonize buildbot) forces it to 0077 by default. So it needs to be restored from inside the buildbot environment, which can be done using the setting in buildbot.tac.
We initially didn't notice the problem, and when we did, we updated the template buildbot.tac used to create new slaves, but old ones stayed as is.
comment:9 by , 7 years ago
FYI it seems the last buildbot slave is now fixed (configured and restarted).
Sure.
Weird... the default is 022: