Bug 97283 - mail/fetchmail: system start script nits
Summary: mail/fetchmail: system start script nits
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Simon Barner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-15 02:20 UTC by mhjacks
Modified: 2006-05-15 22:19 UTC (History)
0 users

See Also:


Attachments
file.diff (623 bytes, patch)
2006-05-15 02:20 UTC, mhjacks
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mhjacks 2006-05-15 02:20:21 UTC
	Systemwide start script has two small issues:
	1)  pidfile is defined as /var/run/fetchmail/${name}.pid.  This code path followed for awaken looks for /var/run/${name}.pid, and $pidfile is reported to be in the wrong place.
	2)  /var/run/fetchmail is not created.

Fix: The attached patch addresses both issues, though there may be a better
	way to address the second one than the one offered (if fetchmail user is 	always going to be used, the right place to do this might be at pkg 
	install:
How-To-Repeat: 	enable fetchmail system-wide mode and start it.
	run $PREFIX/rc.d/fetchmail awaken
Comment 1 Edwin Groothuis freebsd_committer 2006-05-15 02:24:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->barner

Over to maintainer
Comment 2 Simon Barner freebsd_committer 2006-05-15 22:19:27 UTC
State Changed
From-To: open->closed

Committed. Thanks!