Skip to content

Conversation

@cgwalters
Copy link
Member

This is prep for reprovisioning the rootfs:
coreos/fedora-coreos-tracker#94

Requires: coreos/fedora-coreos-config#187
(Do not merge until RHCOS has also rebased to FCOS with that change)

Closes: #781

Copy link
Contributor

@darkmuggle darkmuggle left a comment

Choose a reason for hiding this comment

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

cgwalters added a commit to cgwalters/fedora-coreos-config that referenced this pull request Oct 27, 2019
This helps complete the move in
coreos/coreos-assembler#786
to have our rootflags be fully dynamic.

It's also necessary for ext4+fsverity by default.
cgwalters added a commit to cgwalters/fedora-coreos-config that referenced this pull request Oct 28, 2019
This helps complete the move in
coreos/coreos-assembler#786
to have our rootflags be fully dynamic.

It's also necessary for ext4+fsverity.
cgwalters added a commit to coreos/fedora-coreos-config that referenced this pull request Oct 28, 2019
This helps complete the move in
coreos/coreos-assembler#786
to have our rootflags be fully dynamic.

It's also necessary for ext4+fsverity.
@cgwalters
Copy link
Member Author

I think you'll see a problem with Ignition.
https://github.com/coreos/ignition-dracut/blob/master/dracut/30ignition/ignition-generator#L52-L53

That's about /boot and not the rootfs, right?

@cgwalters cgwalters marked this pull request as ready for review October 29, 2019 14:55
@cgwalters
Copy link
Member Author

OK, RHCOS merged coreos/fedora-coreos-config#187 - this should be good to go!

@cgwalters
Copy link
Member Author

Side note: Probably our CI here should just run fcos.basic and not all of the kola tests.

@cgwalters
Copy link
Member Author

Found emergency shell on machine 23251d24-c84a-4b4d-ac38-109b77fa5ca0 console

Hmm.

This is prep for reprovisioning the rootfs:
coreos/fedora-coreos-tracker#94

Requires: coreos/fedora-coreos-config#187
(Do not merge until RHCOS has also rebased to FCOS with that change)

Closes: coreos#781
@cgwalters
Copy link
Member Author

Found emergency shell on machine 23251d24-c84a-4b4d-ac38-109b77fa5ca0 console

Going to call that one a flake. I had a full cosa kola run -- --parallel 4 looking OK here.

fi
ostree pull-local "$ostree" "$ref" --repo rootfs/ostree/repo $remote_arg
ostree admin os-init "$os_name" --sysroot rootfs
allkargs='root=/dev/disk/by-label/root rootflags=defaults,prjquota rw $ignition_firstboot'
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, looks like we're losing rw here, was that on purpose?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, I don't think anything parses it without root= causing the systemd generator to run. In any case it's cleaner to have our systemd unit do it.

Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

LGTM!

@jlebon jlebon merged commit 99f2ed5 into coreos:master Oct 30, 2019
@cgwalters
Copy link
Member Author

Gah, this breaks rebooting 😢
Working on a quick fix, if I don't land it soon let's revert.

@cgwalters
Copy link
Member Author

Unfortunately I'm seeing new flakes in qemu userspace networking which seemed to mask errors from this one.

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.

Don't hardcode rootflags=defaults,prjquota

3 participants