*** This bug is a security vulnerability *** Public security bug reported:
Marking security because this causes loss of logging information. 1 /var/log/samba/log.smbd { 2 weekly 3 missingok 4 rotate 7 5 postrotate 6 [ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid` 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~dfsg-1ubuntu3.15 ProcVersionSignature: Ubuntu 2.6.32-65.131-generic-pae 2.6.32.63+drm33.26 Uname: Linux 2.6.32-65-generic-pae i686 Architecture: i386 Date: Mon Sep 29 02:06:53 2014 ProcEnviron: PATH=(custom, no user) LANG=de_DE.UTF-8 SHELL=/bin/bash SambaServerRegression: No SourcePackage: samba ** Affects: samba (Ubuntu) Importance: Undecided Status: Confirmed ** Tags: apport-bug i386 lucid ** Information type changed from Private Security to Public Security ** Changed in: samba (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1375072 Title: logrotate for smbd log restarts nmbd instead of smbd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1375072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs