Univention Bugzilla – Attachment 9179 Details for
Bug 44953
/etc/logrotate.d/samba: SIGHUP deactivates change notification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for bug#44953
bug44953.patch (text/plain), 1.18 KB, created by
Jannik Ahlers
on 2017-09-07 10:31:10 CEST
(
hide
)
Description:
Patch for bug#44953
Filename:
MIME Type:
Creator:
Jannik Ahlers
Created:
2017-09-07 10:31:10 CEST
Size:
1.18 KB
patch
obsolete
>From 483d3baeb23b67aa1c95c14f097ee916e3cdd0bf Mon Sep 17 00:00:00 2001 >From: Jannik Ahlers <ahlers@univention.de> >Date: Thu, 7 Sep 2017 09:43:54 +0200 >Subject: [PATCH] Bug#44953: repaired reloading of smb.conf > >Signed-off-by: Jannik Ahlers <ahlers@univention.de> >--- > services/univention-samba4/conffiles/etc/logrotate.d/samba | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/services/univention-samba4/conffiles/etc/logrotate.d/samba b/services/univention-samba4/conffiles/etc/logrotate.d/samba >index 95c679e..2301361 100644 >--- a/services/univention-samba4/conffiles/etc/logrotate.d/samba >+++ b/services/univention-samba4/conffiles/etc/logrotate.d/samba >@@ -9,7 +9,11 @@ for name in ('smbd', 'nmbd'): > for setting in settings.keys(): > print "\t%s" % settings[setting] > print "\tpostrotate" >- print "\t\t/usr/bin/killall -HUP /usr/sbin/%s" % name >+#smdb does not handle SYSHUP correct at the moment, so smb.conf has to be reloaded in a different way. >+ if name == 'smbd': >+ print "\t\t/usr/bin/smbcontrol all reload-config" >+ else: >+ print "\t\t/usr/bin/killall -HUP /usr/sbin/%s" % name > print "\tendscript" > print "}" > @!@ >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44953
: 9179