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

FreeBSD fixes for pkg/mount #1219

Merged
merged 2 commits into from Apr 27, 2022
Merged

FreeBSD fixes for pkg/mount #1219

merged 2 commits into from Apr 27, 2022

Conversation

dfr
Copy link
Contributor

@dfr dfr commented Apr 27, 2022

This uses MNT_FORCE as an approximation of Linux MNT_DETACH and passes through key/value options such as devfs' ruleset=N option to the kernel. Also, I removed the code which truncates the zfs mount point to work around a path name limit in obsolete versions of FreeBSD which was fixed in FreeBSD 12.

@rhatdan
Copy link
Member

rhatdan commented Apr 27, 2022

LGTM

@rhatdan
Copy link
Member

rhatdan commented Apr 27, 2022

@containers/podman-maintainers PTAL

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM, restarted the flaked job

Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

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

LGTM

@flouthoc
Copy link
Collaborator

@dfr Could you rebase please although its not needed but github UI blocks merge button and only option is force merge.

@dfr
Copy link
Contributor Author

dfr commented Apr 27, 2022

Rebased

dfr added 2 commits April 27, 2022 18:23
Also, we don't need to truncate the path name for zfs mount points.
FreeBSD versions prior to 12.0 had a limitation of 88 characters
for mount points but this has been increased to 1024.

Signed-off-by: Doug Rabson <dfr@rabson.org>
Signed-off-by: Doug Rabson <dfr@rabson.org>
@rhatdan
Copy link
Member

rhatdan commented Apr 27, 2022

Ignoring the flakes.

@rhatdan rhatdan merged commit 572ad81 into containers:main Apr 27, 2022
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.

None yet

4 participants