3 ms·
There's a pretty big difference between "ghosting" /opt, /srv, /usr/local/ - and munging all/any of /usr?
by e12e 6y ago
There's a pretty big difference between "ghosting" /opt, /srv, /usr/local/ - and munging all/any of /usr?
- viraptor 6y agoNot sure what you mean either by ghosting or by munging to be honest...
- e12e 6y agoMunging - messing with. Per the (somewhat abandoned)standard for filesystem layout /usr (except /usr/local) is the domainof the system/distribution. It's not very nice for a package to stomp on that. Although systemd already claim some authority over logs via journalctl of course. Ghosting: by bind-mounting over the system fs -you might introduce a bug/condition that doesn't show up in a recovery boot scenario, or forensic analyzis of the filesystem/disk - you could introduce "ghost" files/artefacts.
- viraptor 6y ago> It's not very nice for a package to stomp on that. Yes, sure. That doesn't stop hundreds of vendors with custom install scripts who will use /usr and /opt which is the current state of things. Systemd actually provides a workaround here which stops that package from changing those hierarchies globally, which... seems like something you'd want? > you might introduce a bug/condition that doesn't show up in a recovery boot scenario Why would you try to run anything but recovery tools in a recovery boot scenario? > or forensic analyzis of the filesystem/disk You can reproduce the same environment using the same overlay configuration - that setup is not hidden from you. It's not any more confusing in forensic than a docker service and we deal with them (including bind-mounts) just fine.
- spijdar 6y agoJust so we’re clear, unless I’m mistaken this overlay only affects the target software. It’s not allowing said extensions to trample the “root” file system. The altered fs only applies to a limited namespace.