logrotate for smbd log restarts nmbd instead of smbd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Marking security because this causes loss of logging information.
1 /var/log/
2 weekly
3 missingok
4 rotate 7
5 postrotate
6 [ ! -f /var/run/
7 endscript
8 compress
9 notifempty
10 }
Please see line 6 - although we are rotating log.smbd,
logrotate is asked to send the HUP signal to the wrong process, nmbd.
In two places, nmbd.pid must be replaced by smbd.pid,
otherwise processes continue to log into a compressed/deleted logfile, causing logs to get lost.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: samba 2:3.4.7~
ProcVersionSign
Uname: Linux 2.6.32-
Architecture: i386
Date: Mon Sep 29 02:06:53 2014
ProcEnviron:
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SambaServerRegr
SourcePackage: samba
This version has expired a while ago