Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-608

httpd24 from JWS channel has a bad logrotate file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • JWS 3.0.3 SP1 GA
    • httpd
    • None

      The logrotate file 'httpd24' contained in httpd24-2.4.6-61.ep7.el6.x86_64
      and httpd24-2.4.6-62.ep7.el6.x86_64 contains invalid path and service
      details.

      [root@server1 logrotate.d]# cat httpd24
      /var/log/httpd/*log {
          missingok
          notifempty
          sharedscripts
          delaycompress
          postrotate
              /bin/systemctl reload httpd.service > /dev/null 2>/dev/null ||  
      true
          endscript
      }
      

      The path should be /var/log/httpd24/ and the service should be httpd24
      instead of /var/log/httpd and httpd.

              gzaronik@redhat.com George Zaronikas
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: