Skip to content
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

possible linuxkit getty regression #3025

Closed
cyphar opened this issue Jun 12, 2021 · 1 comment
Closed

possible linuxkit getty regression #3025

cyphar opened this issue Jun 12, 2021 · 1 comment
Assignees
Milestone

Comments

@cyphar
Copy link
Member

cyphar commented Jun 12, 2021

See linuxkit/linuxkit#3684. It seems that getty is failing in LinuxKit with EPERM (they thought it was a DAC permissions issue, but usually you don't get EPERM from those -- EACCES is more standard).

Quick blurb before I forget; in LinuxKit, they found a change in behaviour w.r.t. permissions (I think in rc94/rc95). It's possible this was intentional (I haven't found time to bisect); in case someone knows if this was an intentional change, or a regression; linuxkit/linuxkit#3684 (comment) /cc @rn @djs55

Originally posted by @thaJeztah in #2971 (comment)

@cyphar cyphar added this to the 1.0.0 milestone Jun 12, 2021
@cyphar cyphar self-assigned this Jun 12, 2021
@cyphar
Copy link
Member Author

cyphar commented Jun 13, 2021

This was intentional -- they're being tripped up on the removal of /dev/console from the default allow list in #2391. This can (and should) be worked around on their end by using --device /dev/console or equivalent so that they have an explicit allow rule for the host /dev/console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant