#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: | Expected → Normal |
Summary: | logrotate can't zip rotated files → BUG: logrotate can't zip rotated files |
Version: | 1.5.0 |
comment:2 Changed 17 years ago by nox@…
Cc: | markd@… added |
---|
comment:3 Changed 17 years ago by markd@…
Cc: | Philippe.Lafoucriere@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I added the MacPorts gzip as a dependency and made logrotate us it. Committed in r27688. Thanks for reporting it.
Note: See
TracTickets for help on using
tickets.
Added maintainer to Cc.