Skip to content

Mender delta update issues with demo distro #198

Answered by vinotion
vinotion asked this question in Q&A
Discussion options

You must be logged in to vote

We've managed to fix the issue.

As I already alluded to in my previous message, the difference was in /etc/machine-id. It turns out the kernel didn't mount / as read-only by default, so we had to add that. This will make sure the machine ID writer will not change the root filesystem.

However, that's not the whole story. There's more to /etc/machine-id than meets the eye. Especially when it is used in conjunction with read-only file systems and overlay mounts for /etc. The order in which things happen is very important, see this PR for more info. The short summary: it's kinda broken in systemd but not going to be fixed.

Thanks everyone for helping out! 😃

We can post a PR for adding the ro

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
7 replies
@vinotion
Comment options

@dwalkes
Comment options

@vinotion
Comment options

@vinotion
Comment options

@dwalkes
Comment options

Comment options

You must be logged in to vote
3 replies
@dwalkes
Comment options

@vinotion
Comment options

@vinotion
Comment options

Comment options

You must be logged in to vote
3 replies
@madisongh
Comment options

@dwalkes
Comment options

@vinotion
Comment options

Answer selected by vinotion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants