Samba not rotating nmbd log files "log.nmbd", with default samba log rotate configuration.

Solution Verified - Updated -

Issue

  • The log file /var/log/log.nmbd never rotates, even if max log size samba configuration parameter set.

  • The log files from directory /var/log/samba/ are not being named with .old extension, as per the value set to parameter max log size in samba configuration file /etc/samba/smb.conf . Parameter max log size the specifies the max size the log file should grow to. Samba periodically checks the size and if it is exceeded it will rename the file, adding a .old extension.

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content