Univention Bugzilla – Full Text Bug Listing |
Summary: | Samba4 doesn't reopen its logfiles after postrotate kill | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | Samba4 | Assignee: | Felix Botner <botner> |
Status: | CLOSED WORKSFORME | QA Contact: | Arvid Requate <requate> |
Severity: | normal | ||
Priority: | P5 | CC: | best, botner, gohmann, hahn, jmm, requate, schwardt |
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.3-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=44953 | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 3: Simply Wrong: The implementation doesn't match the docu |
Who will be affected by this bug?: | 3: Will affect average number of installed domains | How will those affected feel about the bug?: | 3: A User would likely not purchase the product |
User Pain: | 0.154 | Enterprise Customer affected?: | Yes |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2016041921000399 | Bug group (optional): | Troubleshooting |
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 37159, 37316, 37317, 38143 |
Description
Florian Best
2015-05-19 13:40:36 CEST
Looks like the HUP signal sent by logrotate has not the desired effect on samba: ======= /etc/logrotate.d/univention-samba4 ========= /var/log/samba/log.samba { weekly rotate 12 create 640 root adm compress missingok notifempty postrotate /usr/bin/killall -HUP /usr/sbin/samba endscript } ==================================================== Reported again at Ticket#: 2016041921000399: smbd 11249 root 4w REG 254,0 267826411 40703 /var/log/samba/log.samba.1 (deleted) -> ucr set samba/debug/level='10' -> /etc/init.d/samba restart -> logrotate -f /etc/logrotate.d/univention-samba4 -> tail -f /var/log/samba/log.samba -> univention-s4search => lots of output in tail ... |