From 0a354ad0b2c9eaaa204c31db478da109dc6d2a8b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 19:20:02 +0200 Subject: Adding debian version 2:4.20.0+dfsg-1~exp1. Signed-off-by: Daniel Baumann --- ...e-Run-update-apparmor-samba-profile-befor.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 debian/patches/smbd.service-Run-update-apparmor-samba-profile-befor.patch (limited to 'debian/patches/smbd.service-Run-update-apparmor-samba-profile-befor.patch') diff --git a/debian/patches/smbd.service-Run-update-apparmor-samba-profile-befor.patch b/debian/patches/smbd.service-Run-update-apparmor-samba-profile-befor.patch new file mode 100644 index 0000000..c5a64dc --- /dev/null +++ b/debian/patches/smbd.service-Run-update-apparmor-samba-profile-befor.patch @@ -0,0 +1,25 @@ +From 0ecd28ff3fd7f3d5c20705a2b8233fc8648cbf9c Mon Sep 17 00:00:00 2001 +From: Mathieu Parent +Date: Thu, 21 Feb 2019 21:04:30 +0100 +Subject: [PATCH] smbd.service: Run update-apparmor-samba-profile before start + +Bug-Debian: https://bugs.debian.org/896080 +--- + packaging/systemd/smb.service.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/packaging/systemd/smb.service.in b/packaging/systemd/smb.service.in +index 18912ef0e98..6bb24861682 100644 +--- a/packaging/systemd/smb.service.in ++++ b/packaging/systemd/smb.service.in +@@ -10,6 +10,7 @@ NotifyAccess=all + PIDFile=@PIDDIR@/smbd.pid + LimitNOFILE=16384 + EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba ++ExecStartPre=/usr/share/samba/update-apparmor-samba-profile + ExecStart=@SBINDIR@/smbd --foreground --no-process-group $SMBDOPTIONS + ExecReload=/bin/kill -HUP $MAINPID + LimitCORE=infinity +-- +2.20.1 + -- cgit v1.2.3