Remove PrivateMounts (#9619)
Since commit #9234 the following has been showing up in my journal logs: > /lib/systemd/system/netdata.service:63: Unknown lvalue 'PrivateMounts' in section 'Service' Running `systemd-analyze verify netdata.service` > /lib/systemd/system/netdata.service:63: Unknown lvalue 'PrivateMounts' in section 'Service' > Attempted to remove disk file system, and we can't allow that. It would appear that the `Attempted to remove disk file system, and we can't allow that.` message is due to a [bug](https://github.com/systemd/systemd/issues/8592) in version 237 of systemd, which is what my Ubuntu 18.04 is currently running. But that doesn't explain the "PrivateMounts" issue. Looking at the [systemd man page](https://www.freedesktop.org/software/systemd/man/systemd.exec.html) for PrivateMounts it would seem that we do not need the `PrivateMounts=true` setting because the service file has `ProtectSystem=full` set: > Other file system namespace unit settings — PrivateMounts=, PrivateTmp=, PrivateDevices=, ProtectSystem=, ProtectHome=, ReadOnlyPaths=, InaccessiblePaths=, ReadWritePaths=, … — also enable file system namespacing in a fashion equivalent to this option. Hence it is primarily useful to explicitly request this behaviour if none of the other settings are used. I have tested this on Ubuntu 18.04 and everything seems to be working fine.