Comments (4)
Maybe using some consistency/integrity checks with MAC/HMAC would be good together with a loop that does a couple of retries.
from stiefelsystem.
for a proper solution it would be good to know what error is shown at boot.
i doubt it's an integrity problem.
from stiefelsystem.
If I remember correctly, I've so far encountered the following two types of error messages related to this:
Note that these messages are printed on top of the systemd output (the systemd output is probably from the stiefelclient before kexec'ing).
The unpacking fails and some files are missing in the filesystem.
As you can see, the mkinitcpio hooks are run, but usually fail at some point due to missing files.
I guess the question is at which point the initramfs gets corrupted.
Just double checked, and we actually do use an encrypt-then-mac scheme, so nevermind my previous reply....
However, this makes it even more confusing where the actual error might happen.
from stiefelsystem.
Yes, this is the type of error I meant.
The part I find most interesting, is the fact, that the error never occurred for me, when I disabled the compression of the initramfs. I have seen this error with all other compression options.
In theory this should have no influence as the compression is done at initramfs creation time. However, when booting the initramfs "normaly" (without stiefel), the error does not occur.
The error does not mean, that the boot fails. For me every time the boot continued without any problems. If I had to guess, I would suspect some kind of padding issue.
from stiefelsystem.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stiefelsystem.