1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-08 05:57:26 +03:00
Zbigniew Jędrzejewski-Szmek b1fd5cd4ed Revert "initrd: extend SYSTEMD_IN_INITRD to accept non-ramfs rootfs"
This reverts commit 1f22621ba33f8089d2ae5fbcaf8b3970dd68aaf0.

As described in the reverted commit, we don't want to get rid of the check
completely. But the check requires opting-in by setting SYSTEMD_IN_INITRD=lenient,
which is cumbersome and doesn't seem to actually happen.
https://bugzilla.redhat.com/show_bug.cgi?id=2137631 is caused by systemd refusing
to treat the system as an initrd because overlayfs is used. Let's revert this
approach and do something that doesn't require opt-in instead.

I don't think it makes sense to keep support for "SYSTEMD_IN_INITRD=lenient" or
"SYSTEMD_IN_INITRD=auto". To get "auto" behaviour, just unset the option. And
"lenient" will be reimplemented as a better check. Thus the changes to the
option interface are completely reverted.
2022-11-09 09:20:33 +01:00
..
2022-05-17 23:00:18 +02:00
2022-05-17 23:00:18 +02:00
2019-12-11 17:04:20 +01:00
2022-01-12 16:05:59 +01:00
2022-06-28 16:05:31 +02:00
2022-05-18 20:34:10 +02:00
2022-09-08 16:13:07 +02:00
2022-06-28 16:05:31 +02:00
2019-12-11 17:04:20 +01:00
2022-05-18 20:34:10 +02:00
2022-05-18 20:34:10 +02:00
2022-06-28 16:05:31 +02:00
2022-06-28 16:05:31 +02:00