Files
Brent Baude 5283f956a5 Disallow mounting to certain destination /dir paths
When certain directories, like /tmp, get mounted over, FCOS/Linux can
act in unexpected ways.  Added a sanity check for a list of directories
think might be impacted by this.  Also, moved the volume parsing earlier
in the init process so we can catch problems before the expensive
decompression of machine images.

The following destinations are forbidden for volumes:

`/bin`, `/boot`, `/dev`, `/etc`, `/home`, `/proc`, `/root`, `/run`, `/sbin`, `/sys`, `/tmp`, `/usr`, and `/var`. Subdirectories

Fixes: #18230

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-03-07 09:54:01 -06:00
..
2022-02-09 18:17:52 +01:00
2025-01-21 12:47:30 -06:00
2024-08-30 11:57:58 +02:00
2023-11-17 07:18:59 -05:00
2025-02-11 14:05:00 +01:00
2020-05-21 17:16:10 -04:00
2024-05-23 16:15:40 +01:00