Bug 266015 - sysutils/iocell: Allow for creating/keeping bridge interfaces
Summary: sysutils/iocell: Allow for creating/keeping bridge interfaces
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bartek Rutkowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-24 09:21 UTC by Juraj Lutter
Modified: 2022-09-17 09:38 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (robak)
otis: maintainer-feedback?


Attachments
sysutils/iocell: Allow for creating/keeping bridge interfaces (1.47 KB, patch)
2022-08-24 09:21 UTC, Juraj Lutter
otis: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juraj Lutter freebsd_committer freebsd_triage 2022-08-24 09:21:24 UTC
Created attachment 236089 [details]
sysutils/iocell: Allow for creating/keeping bridge interfaces

Add pull request #40 that allows for new jail parameters:

      - createbridge (default on)
      - keepbridge (default off)

createbridge controls whether the default bridge interfaces (bridge0
and bridge1) are created on jail startup if they do not exist.

keepbridge controls whether the bridge0 and bridge1 interfaces will
be destroyed on jail shutdown if they are not longer used.

Both these options prevents bridge interfaces manipulation in case
when they are being managed outside iocell.

Differential Revision: https://reviews.freebsd.org/D36325
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-09-17 09:35:14 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e054fbd8def0d2fd3ec58f5a12a5ccab34f40fb4

commit e054fbd8def0d2fd3ec58f5a12a5ccab34f40fb4
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2022-08-24 08:49:31 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2022-09-17 09:31:27 +0000

    sysutils/iocell: Allow for creating/keeping bridge interfaces

    Add pull request #40 that allows for new jail parameters:

      - createbridge (default on)
      - keepbridge (default off)

    createbridge controls whether the default bridge interfaces (bridge0
    and bridge1) are created on jail startup if they do not exist.

    keepbridge controls whether the bridge0 and bridge1 interfaces will
    be destroyed on jail shutdown if they are not longer used.

    Both these options prevents bridge interfaces manipulation in case
    when they are being managed outside iocell.

    PR:                     266015
    Approved by:            robak (maintainer timeout)
    Differential Revision:  https://reviews.freebsd.org/D36325

 sysutils/iocell/Makefile | 11 ++++++-----
 sysutils/iocell/distinfo |  4 +++-
 2 files changed, 9 insertions(+), 6 deletions(-)