Skip to content
This repository was archived by the owner on Jun 12, 2022. It is now read-only.

Conversation

@ashcrow
Copy link
Member

@ashcrow ashcrow commented May 29, 2019

Since MCO handles kernel args now, default to setting up fips for everything BUT the kernel arguments. A new switch of --bootcfg has been added to allow a manual run where the kernel arguments are added by the script itself.

Since MCO handles kernel args now, default to setting up fips
for everything BUT the kernel arguments. A new switch of
--bootcfg has been added to allow a manual run where the kernel
arguments are added by the script itself.

Signed-off-by: Steve Milner <[email protected]>
@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 29, 2019
@ashcrow
Copy link
Member Author

ashcrow commented May 29, 2019

/assign @darkmuggle @runcom

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ashcrow

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 29, 2019
@ashcrow
Copy link
Member Author

ashcrow commented May 29, 2019

/cc @darkmuggle @runcom

@cgwalters
Copy link
Member

Hmm...I'm not sure this really helps anything if we're going down the path of having a FIPS flag in MachineConfig. It doesn't ultimately matter too much if the MCD directly invokes rpm-ostree or indirectly from another script I'd say.

@cgwalters
Copy link
Member

@cgwalters
Copy link
Member

To elaborate/rephrase...in openshift/machine-config-operator#388 I was arguing the MCO should be the sole thing owning kernel arguments as anything else would get into race conditions and reboot handling etc.

But conceptually this script is a part of the MCO. If we soon start shipping the MCD as part of the base OS, then the script could literally live in the MCO git repo too.

@ashcrow
Copy link
Member Author

ashcrow commented May 29, 2019

To elaborate/rephrase...in openshift/machine-config-operator#388 I was arguing the MCO should be the sole thing owning kernel arguments as anything else would get into race conditions and reboot handling etc.

👍 💯

But conceptually this script is a part of the MCO. If we soon start shipping the MCD as part of the base OS, then the script could literally live in the MCO git repo too.

I could see that.

@ashcrow
Copy link
Member Author

ashcrow commented May 29, 2019

@cgwalters I'm fine with NOT merging this PR if we want to keep this script as the owner of the kernel arguments. My understanding from @runcom was that we didn't want the script to own that part though.

@runcom
Copy link
Member

runcom commented May 29, 2019

My understanding from @runcom was that we didn't want the script to own that part though.

yeah that was my understanding as well but since #2 (comment) I believe that's better

@ashcrow
Copy link
Member Author

ashcrow commented May 29, 2019

OK. I'll close this PR then and we can allow this script to own the kernel arg change as it does today.

@ashcrow ashcrow closed this May 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants