overlay.d/05core: disable bootloader-update.service on live ISO#4121
overlay.d/05core: disable bootloader-update.service on live ISO#4121nikita-dubrovskii wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a systemd generator to disable the bootloader-update.service on CoreOS live ISOs, preventing failures caused by the lack of statx.stx_btime support on ISO9660. Review feedback highlights that the current kernel argument check may fail for standalone flags and suggests masking the service directly for better efficiency and idempotency.
e633d46 to
c230a9d
Compare
|
Thanks for working on this @nikita-dubrovskii! I would say rather than making this a generator I'd prefer either
|
|
ahh - could potentially use but I have no experience with that. Could use though maybe there's a better way to just do this in the bootupd code. @PeaceRebel or @travier - any thoughts here? |
|
Not 100% sure, may be something like |
That is also something specific to CoreOS, so wouldn't want to do |
Actually yesterday i opened 2 PRs, 2nd is coreos/bootupd#1088
Could it be more specific than https://github.com/coreos/bootupd/blob/main/src/coreos.rs#L30 ? ))
First I tried to make smth similar to , but than decided that |
When running from live-iso `bootupctl` fails with:
error: Querying adoptable state: creation time is not available for the filesystem
That happens because filesystem (erofs|squashfs) doesn't support statx.stc_btime field:
$ stat /sysroot/.coreos-aleph-version.json
Access: 2022-08-01 23:42:11.000000000 +0000
Modify: 2022-08-01 23:42:11.000000000 +0000
Change: 2022-08-01 23:42:11.000000000 +0000
Birth: -
c230a9d to
f23d7a2
Compare
|
Dropped generator and added
Same added to upstream. |
ahh. didn't see that one
You make a good point. In that case it probably wouldn't have been that inappropriate. |
|
I think we should only fix this in one place so we don't accumulate config here that becomes dead over time. Can we close this in favor of coreos/bootupd#1088 ? |
Yep, I opened this since it’s the fastest way to fix the issue. Not sure how often bootupd releases. |
When running from live-iso
bootupctlfails with:That happens because filesystem (erofs|suqashfs) doesn't support
statx.stc_btimefield:coreos/fedora-coreos-tracker#2136