-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/build: add doas package on NetBSD systems #70708
Comments
I don't mind doing this but I'd like to get the LUCI builder out the door first and in a stable state before updating the image yet again. |
I rebuilt the image with |
Change https://go.dev/cl/634336 mentions this issue: |
Thanks! |
Ah, perhaps I closed it prematurely. I didn't do anything for NetBSD, but it's also not ported to LUCI. Might be similarly easy to update. Updating the title, reopening, and leaving for the next release rotation person. |
Related Code Changes (Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
The NetBSD LUCI builders (arm and arm64) now have doas installed. But at the moment, there is no config file, so it is disabled. I am hesitant to open full root access to the swarming user. On the other hand, these systems also have sudo installed already, since the LUCI infrastructure uses it to run |
Go version
devel
Output of
go env
in your module/workspace:What did you do?
#70702 reports that su asks for a password on some FreeBSD systems, causing the runtime test
TestSUID
to fail and leaving the terminal in a broken state. Using thedoas
command with the-n
option avoids this problem.doas
is available as a separate package on FreeBSD and perhaps also NetBSD. Let's add it to the builders, and switch the test to use it. It's OK to run the test on systems where there is nodoas
command; the test will be skipped.What did you see happen?
What did you expect to see?
A passing test.
CC @golang/release
The text was updated successfully, but these errors were encountered: