Skip to content

runtime: TestSUID hangs with "Password" prompt on FreeBSD #70702

Open
@prattmic

Description

@prattmic

@siebenmann reports that all.bash hangs with a "Password:" prompt on their FreeBSD machine due to runtime.TestSUID's su call.

Our FreeBSD builders allow su with no password (I think because our user is in the wheel group?). Presumably real FreeBSD systems don't put the main user in wheel. Or maybe su is asking for the password of the primary user? I'm not sure how this configuration works.

On my Linux workstation, the test skips as su seems to automatically exit with error (detects a non-interactive stdin perhaps?). Perhaps FreeBSD's su doesn't do this?

cc @golang/freebsd @rolandshoemaker

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.OS-FreeBSDcompiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions