Bug 60059

Summary: the permission of /var/log/maillog on 5.2 prevents /usr/ports/mail/mailgraph to read
Product: Ports & Packages Reporter: dhchen <dhchen>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description dhchen 2003-12-09 01:50:03 UTC
In ver 1.35's /etc/newsyslog.conf, /var/log/maillog's permission is modified
from 0644 to 0640, but this modification prevents /usr/ports/mail/mailgraph
to read /var/log/maillog (it is run as www:www)

Fix: 

2 way to solve this problem:

1.chmod 0644 /var/log/maillog && vi /etc/newsyslog.conf

2.add user www to group wheel
How-To-Repeat: on 5.2(it seems all HEAD branches have the same problem):

cd /usr/ports/mail/mailgraph && make install clean
mv /usr/local/etc/rc.d/mailgraph.sh.sample /usr/local/etc/rc.d/mailgraph.sh
/usr/local/etc/rc.d/mailgraph.sh start
Comment 1 Jun Kuriyama freebsd_committer freebsd_triage 2003-12-13 13:30:46 UTC
I think this should be treated by host's administrator, not by ports.
Comment 2 Pete Fritchman freebsd_committer freebsd_triage 2003-12-21 05:12:22 UTC
State Changed
From-To: open->feedback

Would you like to propose a pkg-message to mention this to 
the admin?  Otherwise, I don't think there's anything else 
we can do in ports.
Comment 3 Jun Kuriyama freebsd_committer freebsd_triage 2003-12-28 08:01:22 UTC
State Changed
From-To: feedback->closed

Add pkg-message to this port.