Skip to content

Drop writing /etc/sysconfig/bootloader - #2783

Merged
schaefi merged 1 commit into
mainfrom
drop_sysconfig_bootloader_setup
Sep 9, 2026
Merged

schaefi merged 1 commit into
mainfrom
drop_sysconfig_bootloader_setup

Conversation

@schaefi

@schaefi schaefi commented Apr 24, 2025

Copy link
Copy Markdown
Collaborator

There are several mainline grub configurations which kiwi cares for but /etc/sysconfig/bootloader is for perl-bootloader only and pretty distribution specific which makes it hard to maintain the correct content. We don't have anything for other distro specific grub tools like grubby in kiwi either.

@schaefi
schaefi requested a review from Conan-Kudo April 24, 2025 10:44
@schaefi schaefi self-assigned this Apr 24, 2025
@schaefi
schaefi marked this pull request as draft April 24, 2025 10:52
@github-actions

github-actions Bot commented Oct 3, 2025

Copy link
Copy Markdown

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed as part of the community meeting.

@github-actions github-actions Bot added the stale label Oct 3, 2025
@Conan-Kudo

Copy link
Copy Markdown
Member

This will need rebasing.

@schaefi
schaefi force-pushed the drop_sysconfig_bootloader_setup branch from a3663c1 to 85c772a Compare November 17, 2025 15:12
@schaefi

schaefi commented Nov 17, 2025

Copy link
Copy Markdown
Collaborator Author

This will need rebasing.

done

@schaefi schaefi removed the stale label Nov 17, 2025
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed as part of the community meeting.

@github-actions github-actions Bot added the stale label Jan 19, 2026
@schaefi schaefi removed the stale label Jan 19, 2026
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed as part of the community meeting.

@github-actions github-actions Bot added the stale label Mar 24, 2026
@schaefi schaefi removed the stale label Mar 24, 2026
@schaefi
schaefi force-pushed the drop_sysconfig_bootloader_setup branch from 85c772a to 2b788f4 Compare April 14, 2026 13:12
@schaefi
schaefi force-pushed the drop_sysconfig_bootloader_setup branch from 2b788f4 to b66130b Compare May 5, 2026 14:59
There are several mainline grub configurations which kiwi cares
for but /etc/sysconfig/bootloader is for perl-bootloader only
and pretty distribution specific which makes it hard to maintain
the correct content. We don't have anything for other distro
specific grub tools like grubby in kiwi either.
@schaefi
schaefi force-pushed the drop_sysconfig_bootloader_setup branch from b66130b to d2aefc9 Compare July 3, 2026 09:21
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed as part of the community meeting.

@github-actions github-actions Bot added the stale label Sep 4, 2026
@schaefi schaefi removed the stale label Sep 4, 2026
@schaefi
schaefi marked this pull request as ready for review September 8, 2026 12:35
@schaefi
schaefi merged commit 5e47ab5 into main Sep 9, 2026
12 checks passed
@schaefi
schaefi deleted the drop_sysconfig_bootloader_setup branch September 9, 2026 12:28
@Vogtinator

Copy link
Copy Markdown
Collaborator

This will break all openSUSE and SLES images, possibly even silently (only breaks after installing updates). This really needs an announcement or should be opt-in for migration.

@schaefi

schaefi commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator Author

This will break all openSUSE and SLES images,

kiwi11 will not be part of SLES or Leap, kiwi for SLES and Leap in SUSE has its own repo
I plan a submission to TW and also only if no breakage occur. I will collect the issues for openSUSE TW
and send a topic list on the kiwi slack channel for maybe needed adaptions on image builds
for TW.

/etc/sysconfig/bootloader is consumed by perl-bootloader and not a mainline grub config file. The changes still in flux with regards to bls on suse would cause further trouble and we have announced the drop in code

    Please note this file is consumed by perl-bootloader
    only and marked for deletion with the next major release of  
    kiwi because not a mainline grub config file.

on the approved PR and labeled as kiwi-11

and in the community meeting

As I said I will collect issues from the integration test builds from Virt:App:Builder first and no submission into TW takes place prior clarification on open issue topics.

@Vogtinator

Copy link
Copy Markdown
Collaborator

I plan a submission to TW and also only if no breakage occur.

The issue is, it may be completely silent: The image boots and appears to work properly, but updates of the bootloader are never actually installed because perl-Bootloader thinks that none is selected.

@Conan-Kudo

Copy link
Copy Markdown
Member

Then someone should go and add the /etc/sysconfig/bootloader stuff to the config.sh or the overlay tarball. It's been slated for removal for over a year. There's no real excuse to not prepare for it.

@Vogtinator

Copy link
Copy Markdown
Collaborator

Sure, but this needs to be announced and coordinated properly, not just as a breaking change but a silently breaking one that likely requires action.

@Conan-Kudo

Copy link
Copy Markdown
Member

It was, though. @schaefi told everyone over a year ago, because I asked to defer it for kiwi-11.

@Vogtinator

Copy link
Copy Markdown
Collaborator

It was, though.

In that case that's fine. I don't remember seeing that announcement though, but possibly it was just too long ago.

@Conan-Kudo

Copy link
Copy Markdown
Member

Yeah, I asked him to tell folks when we discussed this during the community meeting after this PR was made. Unfortunately, it's not so easy to know whether everyone knows because openSUSE kiwi descriptions are not centralized like Fedora ones are.

@Vogtinator

Copy link
Copy Markdown
Collaborator

Unfortunately, it's not so easy to know whether everyone knows

I'm pretty sure the answer to that is unfortunately "no": There are an unknown number of users of kiwi that build custom openSUSE images that may or may not be subscribed to mailing lists or GitHub releases.

The only way to really make everyone aware of it is to cause intentional build fails (like forced schemaversion upgrades), which are annoying on their own...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants