diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 13:54:57 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 13:54:57 +0000 |
commit | e8a734c50e7d7d23cf963bc821e1654b20ec926f (patch) | |
tree | 4793fb189f935a2e4c459e9d1d8694b0b37e6fbb /dovecot-2.2.22-systemd_w_protectsystem.patch | |
parent | b23811736ac31099159eada15d87d6b96993b1a5 (diff) |
automatic import of dovecotopeneuler24.03_LTS
Diffstat (limited to 'dovecot-2.2.22-systemd_w_protectsystem.patch')
-rw-r--r-- | dovecot-2.2.22-systemd_w_protectsystem.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dovecot-2.2.22-systemd_w_protectsystem.patch b/dovecot-2.2.22-systemd_w_protectsystem.patch new file mode 100644 index 0000000..d00a9b9 --- /dev/null +++ b/dovecot-2.2.22-systemd_w_protectsystem.patch @@ -0,0 +1,11 @@ +diff -up dovecot-2.3.2/dovecot.service.in.systemd_w_protectsystem dovecot-2.3.2/dovecot.service.in +--- dovecot-2.3.2/dovecot.service.in.systemd_w_protectsystem 2018-07-09 12:00:13.359193526 +0200 ++++ dovecot-2.3.2/dovecot.service.in 2018-07-09 12:00:46.387716884 +0200 +@@ -23,6 +23,7 @@ ExecReload=@bindir@/doveadm reload + ExecStop=@bindir@/doveadm stop + PrivateTmp=true + NonBlocking=yes ++# this will make /usr /boot /etc read only for dovecot + ProtectSystem=full + ProtectHome=no + PrivateDevices=true |