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 problem

    Posted Mon February 07, 2022 02:58 AM
    Hello,
    in logrotate-3.18.0-1.ppc there's a wrong path to the logrotate binary /opt/freeware/etc/cron.daily/logrotate

    # cat /opt/freeware/etc/cron.daily/logrotate
    #!/bin/sh

    /usr/sbin/logrotate /etc/logrotate.conf
    EXITVALUE=$?
    if [ $EXITVALUE != 0 ]; then
    /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
    fi
    exit $EXITVALUE

    It should be /opt/freeware/sbin/logrotate.

    Kind Regards, Nico

    ------------------------------
    Nico Schaarschmidt
    ------------------------------

    #AIXOpenSource


  • 2.  RE: logrotate problem

    Posted Mon February 07, 2022 03:06 AM
    Thanks for reporting the problem. 
    We will release a fixed version.

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



  • 3.  RE: logrotate problem

    Posted Tue February 08, 2022 02:17 AM
    Hi Ayappan,

    is it possible to fix this reported issue too? It is the same file and the same line. ;-)

    logrotate - wrong conf path in /opt/freeware/etc/cron.daily/logrotate | AIX Open Source (ibm.com)

    Best regards

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



  • 4.  RE: logrotate problem

    Posted Tue February 08, 2022 02:30 AM

    Yes, we are fixing that as well.



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



  • 5.  RE: logrotate problem

    Posted Wed February 09, 2022 06:59 AM
    Fixed release 3.18.0-2 is uploaded to Toolbox. 
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/logrotate/logrotate-3.18.0-2.aix6.1.ppc.rpm

    dnf/yum can also be used to update it.

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