Skip to content

Add FreeBSD as a platform #1286

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

dfr
Copy link

@dfr dfr commented May 5, 2025

This uses FreeBSD jails to implement container isolation.

@AkihiroSuda
Copy link
Member

Cc @samuelkarp

@dfr dfr force-pushed the freebsd-spec branch from 8c7900f to e5803c8 Compare May 5, 2025 16:35
Copy link
Member

@tianon tianon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few initial (high level) thoughts 👍❤️

@AkihiroSuda AkihiroSuda added this to the v1.3.0 milestone May 6, 2025
@dfr dfr force-pushed the freebsd-spec branch 2 times, most recently from 99dd807 to ee03193 Compare May 23, 2025 15:09
@dfr
Copy link
Author

dfr commented May 23, 2025

Fixed the type of FreeBSDDevice.Mode and fixed a typo in the json mapping for FreeBSDJail.SysVShm.

@dfr
Copy link
Author

dfr commented Jun 18, 2025

I took another pass over this today and made a couple of minor changes. I think the only current open question is whether the Mapping from jail(8) config file section is useful or whether it should be removed.

Does anyone else have comments or suggestions for the FreeBSD runtime extension? What should our next steps be to make this acceptable for the runtime spec?

@alice-sowerby
Copy link

@dfr we attended the developer meeting but it was Juneteenth and the attendance was relatively low. They suggested that you ping Tianon and Sam to ask for them to review it. If that doesn't work, we can try to attend the dev call again.

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've no specific comments on the FreeBSD part, but I can help to move this forward.

I've left an inline comment

@dfr
Copy link
Author

dfr commented Jun 20, 2025

I've no specific comments on the FreeBSD part, but I can help to move this forward.

I've left an inline comment

Thanks! I will check out your comment on the PR but my internet connection is flaky at the moment which is slowing me down a bit (hopefully that will be fixed over the weekend).

Copy link
Member

@tianon tianon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty decent to me, although admittedly I'm not super familiar with FreeBSD / jails internals.

If we're not in a hurry to merge, I'd love to wait until @samuelkarp has a chance to review too, but if we've got something urgent that needs this, I think it's probably in a reasonable state (and hopefully he doesn't disagree).

@dfr dfr force-pushed the freebsd-spec branch 2 times, most recently from 051877a to bb9e6b2 Compare June 27, 2025 12:32
@dfr
Copy link
Author

dfr commented Jul 16, 2025

This looks pretty decent to me, although admittedly I'm not super familiar with FreeBSD / jails internals.

If we're not in a hurry to merge, I'd love to wait until @samuelkarp has a chance to review too, but if we've got something urgent that needs this, I think it's probably in a reasonable state (and hopefully he doesn't disagree).

It looks like Sam is going to be away for a while focusing on family matters and he is unlikely to be able to give feedback in the near future. He was involved in the working group which led to this pull request and was a key reviewer during that process if that helps. As far as I know, he has not read through the exact text from this pull request.

Timing wise, I am not in a great hurry. It would be great if it makes it into the 1.3.0 release if at all possible.

Copy link
Member

@samuelkarp samuelkarp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple minor comments, but generally this LGTM. I may not be available to review again after my suggestions are addressed, so please consider this to be my approval either way.

@dfr dfr force-pushed the freebsd-spec branch 2 times, most recently from 0caed8a to ac99f06 Compare July 29, 2025 13:09
This uses FreeBSD jails to implement container isolation.

Signed-off-by: Doug Rabson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants