-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 27 Feb 2017 19:52:28 +0100
"Carlos E. R."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2017-02-27 16:35, Ruediger Meier wrote:
On Monday 27 February 2017, Jan Engelhardt wrote:
Is this really better and easier than just placing a one liner "fstrim -a" into a crontab or into /etc/cron.weekly?
(making things like factory resets unnecessarily hard, but hey, if you want that).
Ah, you mean rm -rf /etc would do a nice factory reset? I doubt it ...
All systems where I ever made "Factory resets" had some kind of /rom partitions or overlay file systems. For openSUSE there is a DVD-ROM to do a Factory reset....
Perhaps it is the systemd mechanism by which services in /usrsomething can be superseded by placing the same service file under /etcsomething. Erasing those files on /etc would revert to factory settings, no?
And it also allows the admin to replicate the changes easily on another machine, and to do updates without local modifications being erased.
That also means updates without service updates being applied. Because you copy the *WHOLE* service, make changes, and any updates to the service are lost on update. Sane services are configurable so you put a file in /etc/ that configures the service and do not change the service itself unless you need to fix some error in the service definition. But nobody writes systemd services that accept configuration so you have to fix the service definition to be configurable and only then you can configure it /o\ Michal -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJYvVQxAAoJEFCz6i1PzvpbTwsH/296LincXZCxPNf8BnSgTMQV NVAAG+H2XAwhs6gksGfQJynBx1BQnxE3+oJQfttiy6n+ystuL233dCu+3X5Eod+S LSeQVBpR93MK8MnI7Xrx41lpAbCcXN1Y/mYXWhLLOmqSgRd5bmECaGhzZ0eXPsZh eohzI37qj4at/m6cMflIJftyRncC+5RZAigp9F365V60BTP53rGjcEE7hQP6tI0Q nKK9k7oDAjZ3G9pU21IkMSEXnqasG8ceYII1cgZ5lN71NPXECZmcXT6jnjpDL5YR tv/cO8lcYeOlQ8aJ1EKzv+aZ6lp8ZmTbbZep9YfxTZofzZxLm8M6FTfJpe6htvg= =lL3r -----END PGP SIGNATURE-----