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

rdcore/rootmap: also inject rootflags karg #358

Merged
merged 2 commits into from
Aug 25, 2020
Merged

rdcore/rootmap: also inject rootflags karg #358

merged 2 commits into from
Aug 25, 2020

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Aug 20, 2020

Because we now always inject a root karg, it means that it's systemd
which does the mount. But then, systemd doesn't know to use the
prjquota flag we want by default for xfs.

Call out to a coreos-rootflags helper where the source of truth for
default root mount flags lives and embed its output if any is provided.

We want to be able to do e.g. `runcmd!("foo")`. But the pattern we use
doesn't match because it doesn't have a comma after the first macro
argument. Add a pattern for this.
src/bin/rdcore/rootmap.rs Outdated Show resolved Hide resolved
src/bin/rdcore/rootmap.rs Show resolved Hide resolved
@bgilbert bgilbert mentioned this pull request Aug 25, 2020
31 tasks
Because we now always inject a `root` karg, it means that it's systemd
which does the mount. But then, systemd doesn't know to use the
`prjquota` flag we want by default for xfs.

Call out to a `coreos-rootflags` helper where the source of truth for
default root mount flags lives and embed its output if any is provided.
@jlebon jlebon merged commit d352615 into coreos:master Aug 25, 2020
@jlebon jlebon deleted the pr/rootflags branch August 25, 2020 15:08
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.

2 participants