New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12379 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

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

Changed 5 years ago by nox@…

  • priority changed from Expected to Normal
  • version 1.5.0 deleted
  • summary changed from logrotate can't zip rotated files to BUG: logrotate can't zip rotated files
  • milestone set to Port Bugs

Changed 5 years ago by nox@…

  • cc markd@… added

Added maintainer to Cc.

Changed 5 years ago by markd@…

  • cc Philippe.Lafoucriere@… added
  • status changed from new to closed
  • resolution set to fixed

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

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.