Samba not rotating nmbd log files "log.nmbd", with default samba log rotate configuration.
Issue
-
The log file /var/log/log.nmbd never rotates, even if
max log sizesamba configuration parameter set. -
The log files from directory
/var/log/samba/are not being named with .old extension, as per the value set to parametermax log sizein samba configuration file /etc/samba/smb.conf. Parametermax log sizethe 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
