AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  logrotate - duplicate include in config

    Posted Mon February 14, 2022 08:26 AM
    Hi OSS-Team,

    the logrotate RPM contains two includes of the same directory in the config file /opt/freeware/etc/logrotate.conf.

    root@testserver01 /root# grep include /opt/freeware/etc/logrotate.conf
    # global options do not affect preceding include directives
    include /opt/freeware/etc/logrotate.d
    include /etc/logrotate.d
    include /opt/freeware/etc/logrotate.d
    
    root@testserver01 /root# /opt/freeware/etc/cron.daily/logrotate
    error: cannot stat /etc/logrotate.d: A file or directory in the path name does not exist.
    error: yum:1 duplicate log entry for /var/log/yum.log
    error: found error in file yum, skipping
    ​

    Best regards



    ------------------------------
    Niklas
    System Engineer UNIX and Linux on Power
    ------------------------------


  • 2.  RE: logrotate - duplicate include in config

    Posted Mon February 14, 2022 11:57 AM

    Thanks for reporting. 
    These are trivial errors which logrotate ignores.
    We will fix it in the next version update. 



    ------------------------------
    Ayappan P
    ------------------------------