Author Topic: log.nmbd not rotated  (Read 1727 times)

pituhdo

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-1
    • View Profile
log.nmbd not rotated
« on: December 04, 2012, 01:06:18 pm »
Hello!

It seems that log.nmbd is not rotated automatically in my zentyal 3.0.7

:/var/log/samba$ ll
total 375904
drwxr-xr-x  3 root root        97 nov 29 23:54 ./
drwxr-xr-x 18 root root      4096 dic  4 12:55 ../
drwx------  4 root root        28 nov 16 20:40 cores/
-rw-r--r--  1 root root      5766 nov 16 14:26 log.%m
-rw-r--r--  1 root root 376577074 dic  4 13:05 log.nmbd
-rw-r--r--  1 root root      5148 nov 23 18:28 log.smbd
-rw-r--r--  1 root root   2964697 dic  4 13:05 samba.log
-rw-r--r--  1 root root   5126974 nov 30 02:05 samba.log.old

However here it says it should be rotated:

http://trac.zentyal.org/wiki/Documentation/Community/ZentyalLogs

Could you be so kind of let me know how can I change this behaviour?

Thanks and regards,

Roberto

pituhdo

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-1
    • View Profile
Re: log.nmbd not rotated
« Reply #1 on: December 08, 2012, 09:08:03 pm »
Hello,

I guess I have the root cause. The package zentyal-samba should have a config file like /etc/logrotate.d/zentyal-samba.

However it seems that in my version this file is not in the package

dpkg -s zentyal-samba
../..
Version: 3.0.9
../..
Conffiles:
 /etc/init/zentyal.s4sync.conf fb4298702c10286f9241fdf634a8e9aa
 /etc/init/zentyal.sysvol-sync.conf 9e1ab87b0fc51403e53160484117e637
 /etc/init/zentyal.nmbd.conf dfe4565c4fbe013f4d9da3214baade43
 /etc/zentyal/samba.conf 84842b1e95ffde885cea0b1286eaa10b
 /etc/zentyal/s4sync-sids.ignore 18fdf2db64038031bb1f894e937ec502
../..

I can see that for zentyal-bwmonitor the config file is in the package.

dpkg -s zentyal-bwmonitor
Conffiles:
 /etc/logrotate.d/zentyal-bwmonitor 96c0ebc5b76641cd4fba3832f6f54cca

I guess this is a bug. Could you please let me know how can I report it to the developers?

Best Regads,

Roberto

Sam Graf

  • Guest
Re: log.nmbd not rotated
« Reply #2 on: December 08, 2012, 09:57:09 pm »
Hello Roberto,

Thank you for working to find the root problem and for being willing to file a bug report! You can use the bug tracker's New Ticket page to submit a report.