Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12379 closed defect (fixed)

BUG: logrotate can't zip rotated files

Reported by: Philippe.Lafoucriere@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: markd@…,Philippe.Lafoucriere@…
Port:

Description

when using the "compress" command in logrotate config files, logrotate will output :

error: failed to compress log /var/log/messages.1

the problem is located here :

strings /opt/local/sbin/logrotate | grep gzip
/bin/gzip

linking /usr/bin/gzip to /bin/gzip corrects the problem actually, but it's really a dirty workarround.

Could you do something here ?

Thanks Philippe Lafoucrière

Change History (4)

comment:1 Changed 17 years ago by nox@…

Milestone: Port Bugs
Priority: ExpectedNormal
Summary: logrotate can't zip rotated filesBUG: logrotate can't zip rotated files
Version: 1.5.0

comment:2 Changed 17 years ago by nox@…

Cc: markd@… added

Added maintainer to Cc.

comment:3 Changed 17 years ago by markd@…

Cc: Philippe.Lafoucriere@… added
Resolution: fixed
Status: newclosed

I added the MacPorts gzip as a dependency and made logrotate us it. Committed in r27688. Thanks for reporting it.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.