Skip to content

try lacks user caps #131

Open
Open

Description

@ezrizhu
eric@ide0:~/try$ ./try ping -c1 1.1
ping: socktype: SOCK_RAW
ping: socket: Operation not permitted

Activity

  1. self-assigned this
    on Oct 26, 2023
  2. ezrizhu commented on Nov 2, 2023

    @ezrizhu
    MemberAuthor

    adding --keep-caps to the first unshare invocation fixes it in ubuntu but not debian.

  3. ezrizhu commented on Nov 2, 2023

    @ezrizhu
    MemberAuthor

    this issue is also just not reproducible on ubuntu, will have to do more tests on other distros…

    Ubuntu
    ❯ unshare -V
    unshare from util-linux 2.37.2

    Debian
    λ unshare -V
    unshare from util-linux 2.39.2

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions