Comments (5)
This is a bit fuzzy because there is also a Failed to start systemd-modules-load.service - Load Kernel Modules.
error which points to a different problem (see #32508 (comment) ). It's not clear whether either the read-only filesystem problem or the missing libkmod problem alone breaks the boot, since we encounter both at once. At a guess, though, I would expect both of them to break boot, so we need to fix both.
I'm going to try doing a scratch build of systemd patched so ProtectSystem default to off in initramfs environments, and see what happens with that.
edit - to be clear, @poettering pointed out that the cause of these errors is likely the new ProtectSystem feature, which makes /usr
read-only in initramfs environments by default. On Fedora, /lib
is a symlink to /usr/lib
, so dracut's hook dir - which is /lib/dracut/hooks
- is on a read-only file system.
from systemd.
Some testing suggests this bug doesn't prevent boot, at least of a simple default Fedora install in a VM; patching ProtectSystem to default to off for initramfses doesn't get the system booting again, but patching dracut to pull in the kmod library does get it booting again.
Surely the inability to write hooks must have some fairly significant consequences in some cases, though.
from systemd.
Fix dracut to not write around in /usr/ or turn off the feature in systemd if you need a quick workaround. This is not a bug in systemd but intended behaviour, really. What dracut is doing there is just wrong and should be fixed.
from systemd.
We probably should add a bigger note about this to NEWS however.
(And about the libkmod pitfall too I guess)
from systemd.
This is fixed in dracut: dracut-ng/dracut-ng@a45048b
from systemd.
Related Issues (20)
- configurable nologin minimum time on shutdown
- systemd-resolved "DNSSEC=allow-downgrade" fails HOT 3
- systemd single handedly disabled rp_filter on all interfaces HOT 4
- TEST-70-TPM2 fails in environment with signed PCRs (mkosi)
- userdb API: Support notifications about changes HOT 1
- SLAAC addrs perceived as foreign and removed during systemd-network start HOT 2
- systemd-resolved: "DNSSEC=allow-downgrade" still fails HOT 11
- mountfsd fails compilation if zlib or xz are not available (hidden dependency on lib_import_common) HOT 4
- Missing credentials in `ExecStartPost=/ExecStop*=` when `ReadWritePaths=` is used HOT 3
- LUKS unlock failure with a FIDO2 token when using gpt-auto-generator HOT 1
- Not able to add device/event to watch list of systemd-logind HOT 4
- systemd-homed fscrypt-backed files are still visible after logout HOT 1
- `systemctl disable [--now] someunit@*` gives wrong error message HOT 2
- TPM2 support: Compatibility with older Intel PTT HOT 3
- Log output can be lost from services using log namespaces that only produce output immediately before exiting HOT 2
- `systemctl disable [--now] someunit@*` gives an error message HOT 2
- Try unlock with FIDO2 key before asking for password(/PIN). HOT 2
- systemd.network Kind=/Type= ambiguity
- systemd.network Name=enp* matches eno* HOT 4
- Strange results when using sd_device_monitor to monitor USB device events HOT 15
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 systemd.