Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 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
    ------------------------------

    #AIXOpenSource


  • 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
    ------------------------------