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

🦔 some bind mounts fail #919

Open
Itxaka opened this issue Feb 15, 2023 · 7 comments
Open

🦔 some bind mounts fail #919

Itxaka opened this issue Feb 15, 2023 · 7 comments
Labels
area/immucore bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call

Comments

@Itxaka
Copy link
Member

Itxaka commented Feb 15, 2023

with reason probably

[   25.302872] immucore[637]: 	* mkdir /sysroot/etc/ssl/certs: file exists
[   25.303350] immucore[637]: 	* mkdir /sysroot/snap: read-only file system
  • /sysroot/snap can only be mounted if the rootfs has a snap dir already, as /sysroot is read only (Its the image mounted!) and that will only happen under ubuntu base images. So either we create the dir everywhere or we detect if we are running under ubuntu and skip that?
  • /sysroot/etc/ssl/certs cant be binded becuase it already exists. Not sure what to do there... if we force bind then we lose whatever certs are there. And not sure why we need that dir binded, probably to add extra certs?
@Itxaka
Copy link
Member Author

Itxaka commented Feb 20, 2023

FYI both this errors occur in kairos master as well, so this is not related to immucore but it would be nice to have them fixed somehow

@jimmykarily jimmykarily transferred this issue from kairos-io/immucore Feb 20, 2023
@Itxaka Itxaka changed the title some bind mounts fail 🦔 some bind mounts fail Feb 20, 2023
@Itxaka
Copy link
Member Author

Itxaka commented Mar 2, 2023

On ubuntu those 2 messages do not show but instead a new one appears yay!

[ 11.166517] immucore[678]: * mkdir /sysroot/usr/share/pki: read-only file system

@Itxaka
Copy link
Member Author

Itxaka commented Mar 2, 2023

ah I see /etc/ssl/certs fails due to not being able to create it. Maybe the createIfNotExists is not working properly in that case...it should not try to create it.

@Itxaka
Copy link
Member Author

Itxaka commented May 8, 2023

This is being tracked in a different card and has already a PR to alleviate it

@Itxaka Itxaka closed this as completed May 8, 2023
@Itxaka Itxaka reopened this Dec 11, 2023
@mauromorales
Copy link
Member

Relates to #1367

@mudler
Copy link
Member

mudler commented Mar 27, 2024

is there still something to do here ? @kairos-io/maintainers

@mudler mudler added the triage Add this label to issues that should be triaged and prioretized in the next planning call label Mar 27, 2024
@Itxaka
Copy link
Member Author

Itxaka commented Mar 27, 2024

Still valid, as it shows as a warning with an error attached that can lead to confusion.

We need to find some way of fixing this so it doesn't error out that loudly without hiding real errors on bind mounts or we fix the underlying issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/immucore bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call
Projects
Status: No status
Development

No branches or pull requests

4 participants