Skip to content

VNET Jails #10

Open
Open

Description

@fabianfreyer

Roadmap:

Activity

  1. fabianfreyer commented on Dec 21, 2018

    @fabianfreyer
    ContributorAuthor

    The CI for #33 failed on 12.0-RELEASE fails with the following error message:

    failures:
    
    ---- src/running.rs - running::RunningJail::restart (line 356) stdout ----
    thread 'src/running.rs - running::RunningJail::restart (line 356)' panicked at 'test executable failed:
    
    thread 'main' panicked at 'failed to restart jail: JailSetError("vnet jails cannot have IP address restrictions")', libcore/result.rs:1009:5
    note: Run with `RUST_BACKTRACE=1` for a backtrace.
    
    ', librustdoc/test.rs:367:17
    note: Run with `RUST_BACKTRACE=1` for a backtrace.
    
    
    failures:
        src/running.rs - running::RunningJail::restart (line 356)
    
    test result: FAILED. 44 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
    
    error: test failed, to rerun pass '--doc'
    
    Exit status: 101
    

    Probably this is related to VIMAGE being enabled by default on 12.0-RELEASE.

  2. self-assigned this
    on Dec 23, 2018
  3. modified the milestones: 0.0.6, 0.0.7 on Dec 23, 2018
  4. modified the milestones: 0.0.7, 0.0.8 on May 26, 2019
  5. akhramov commented on Jun 30, 2020

    @akhramov
    Contributor

    The error has been addressed in #79.

    Regarding

    Handle adding epairs / vnets to the jail

    Not only you need a programmatic way to create / manipulate interfaces, but also need to replicate some functionality from route(8).

    The latter can be tricky, because the code in route(8) makes heavy use of functional C macros.

    That said, I recently tackled both problems. Please see akhramov/knast@4b46b13 for reference.

  6. fabianfreyer commented on Jun 30, 2020

    @fabianfreyer
    ContributorAuthor

    @akhramov thanks, this looks great! I'll go take a look at #79!

  7. modified the milestones: 0.2.0, Future on Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions