diff options
| author | andre4ik3 <andre4ik3@fastmail.com> | 2025-08-11 05:34:33 +0000 |
|---|---|---|
| committer | andre4ik3 <andre4ik3@fastmail.com> | 2025-08-16 00:28:13 +0000 |
| commit | 216d98ab97fbec49a213e4b5a6df0c6e771aef3d (patch) | |
| tree | d6e86c8fe6fafb99b16f09718650d0da9b99c7c7 /pkgs/development/python-modules/python-openstackclient | |
| parent | fbc97dcd59efee1f713e974eccac8513b117c76f (diff) | |
nixos/systemd-initrd: silence various warnings
Silences 2 warning messages that appear when using the systemd initrd:
1. "System tainted (var-run-bad)": occurs because `/var/run` isn't a
symlink to `/run`. Fixed by making /run and linking /var/run to it.
2. "Failed to make /usr a mountpoint": occurs because ProtectSystem
defaults to true in the initrd, which makes systemd try to remount
`/usr` as read-only, which doesn't exist in the initrd. Fixed by
linking `/usr/bin` and `/usr/sbin` to the initrd bin directories.
Also moves the `/tmp` creation from the initrd module to make-initrd-ng,
to avoid making an unnecessary `/tmp/.keep`, saving a store path and a
few bytes in the initrd image.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
