[MacPorts] #22504: Logwatch broken, refers to zcat instead of gzcat

MacPorts noreply at macports.org
Thu Nov 12 15:13:57 PST 2009


#22504: Logwatch broken, refers to zcat instead of gzcat
---------------------------------+------------------------------------------
 Reporter:  siraaj@…             |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.1                                
 Keywords:  logwatch zcat gzcat  |        Port:  logwatch                             
---------------------------------+------------------------------------------
 After installing logwatch on 10.6.2, it was unable to make a clean run -
 returning error:

 {{{
 zcat: /var/log/system.log.0.gz.Z: No such file or directory
 system zcat failed: 256 at /opt/local/bin/logwatch line 876.
 }}}

 I was able to fix this, by editing /opt/local/bin/logwatch and changing
 line 76 from


 {{{
 $Config{'pathtozcat'} = "zcat";
 }}}

 to


 {{{
 $Config{'pathtozcat'} = "gzcat";
 }}}

 Logwatch now works.

-- 
Ticket URL: <http://trac.macports.org/ticket/22504>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list