nixpkgs/nixos/modules/services
Yarny0 c5effcaaea nixos/tsm-backup: enable most systemd sandboxing options
This enables some systemd sandboxing
options for the `tsm-backup.service`.
Those settings have been determined by expermentation.
This commit tries hard to protect the filesystem from
write access, but not to hide anything from read access,
so users can backup all files they choose to backup.
An exception are API filesystems (`/dev`, `/proc`, `/sys`):
As their "files" are not stored on persistent storage,
they are sandboxed away as much as possible.

Note that the service still has to run with root
privileges to reach files with limited access permissions.
The obvious alternative to use a dedicated user account and
the `CAP_DAC_READ_SEARCH` capability to permit system-wide
read access while blocking write access does not work.
Experiments have shown that `dsmc` verifies access permissions
for each file before attempting to open it for reading.
Hence `dsmc` refuses to copy files where the file permission
mode blocks read access -- even if process capabilities
would allow it to proceed irrespective of permissions.
2022-01-17 12:09:27 +01:00
..
admin nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
amqp nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
audio nixos/mpd: use upstream units 2022-01-11 13:09:15 +01:00
backup nixos/tsm-backup: enable most systemd sandboxing options 2022-01-17 12:09:27 +01:00
blockchain/ethereum nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
cluster nixos/kubernetes: actually set containerd to use systemd cgroups 2022-01-08 17:29:32 +10:00
computing Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
continuous-integration Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
databases nixos/couchdb: add missing defaultText 2021-12-29 20:12:02 +01:00
desktops Merge pull request #153398 from jtojnar/tracker-subcommands 2022-01-09 16:09:35 +01:00
development nixos/hoogle: Type the last option 2021-12-07 18:36:01 +01:00
display-managers nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
editors nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
finance nixos/odoo: apply suggestions from review 2021-11-03 12:40:59 +01:00
games ArchiSteamFarm: 5.2.0.10 -> 5.2.1.5; ASF-ui: update 2022-01-09 20:26:03 -06:00
hardware nixos/make-options-doc: turn relatedPackages into links 2022-01-02 19:46:13 +01:00
logging nixos/logrotate: rotate login/logout logs by default 2021-12-29 02:07:02 +01:00
mail nixos/maddy: Better description, user and group handling 2021-12-30 14:17:00 +01:00
matrix nixos/mjolnir: set rawHomeserverUrl in config 2021-11-16 19:21:33 +01:00
misc services.heisenbridge: Don't use lt/gt signs in mkEnableOption 2022-01-13 13:38:24 +12:00
monitoring nixos/netdata: expose /etc/netdata 2022-01-10 23:56:57 +02:00
network-filesystems nixos/glusterfs: remove syslog.target from services 2021-12-11 22:43:02 +01:00
networking Merge pull request #151946 from mweinelt/frr 2022-01-12 20:51:12 +01:00
printing nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
scheduling nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
search nixos/elasticsearch: fix postStart to allow non-localhost listenAddress 2021-12-30 19:03:35 +01:00
security nixos/intel-sgx: add option for Intel SGX DCAP compatibility 2022-01-11 14:02:16 +01:00
system nscd service: fix ordering and start automatically 2022-01-10 22:45:12 +03:00
torrent Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
ttys nixos/getty: remove serialSpeed 2021-11-19 10:17:26 +01:00
video Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
wayland nixos/cage: log to journal 2021-12-16 23:55:15 +00:00
web-apps nixos/wordpress: Ensure no passwordFile if local db deployment (#148613) 2022-01-12 21:50:19 +09:00
web-servers Merge pull request #153942 from winterqt/acme-web-server-ownership-assertions 2022-01-11 15:03:43 +01:00
x11 Merge #151019: amdgpu-pro: 17.40 -> 21.30 2022-01-09 11:27:18 +01:00