There is a wrong (for gentoo) paths to gzip and bzip2 binaries in usr.sbin/newsyslog/pathnames.h Reproducible: Always Steps to Reproduce: 1. Wait for large /var/log/messages 2. Run `newsyslog` 3. Do `ls /var/log | grep messages` Actual Results: newsyslog: execl(`/usr/bin/bzip2 -f /var/log/messages.0'): No such file or directory newsyslog: `bzip2 -f /var/log/messages.0' terminated with a non-zero status (1) messages messages.0 Expected Results: messages messages.0.bz2 I seen this problem on g/fbsd-6.2 and now see in g/fbsd-8.0. grep messages /etc/newsyslog.conf: # contents of maillog, messages, and lpd-errs to be confidential. In the /var/log/messages 644 5 100 * JC
Created attachment 266195 [details, diff] a patch to add into sys-freebsd/freebsd-usbin/files
Created attachment 283725 [details, diff] diff for freebsd-usbin-8.2.ebuild It seems I am only user of newsyslog on g/fbsd. Or why still no response to this bug?
Fixed in cvs. Thank you for your patch and sorry for the long silence