The sysutils/monitord port has a bug: it exits with exit code 1 when the fork to background has succeeded, which interferes with rc.d detection of a successful operation. Fix: The following patch fixes the problem - it should be added to the list of port patch files. /* Read the configuration file, saving it in *file[] and return the number of lines--HkZEjwPtKaCElLgJ997WiO1pYjBLsIb4YZ5StCMttIt11pUc Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- monitord.c.ori 2011-11-15 14:38:56.000000000 +0100 +++ monitord.c 2011-11-15 14:39:32.000000000 +0100 @@ -85,8 +85,8 @@ setsid (); break; } - default: - exit(1); + default: // The parent exits + exit(0); }
State Changed From-To: open->suspended back to pool, patch submitted to upstream for acceptance. pr suspended
Responsible Changed From-To: freebsd-ports-bugs->miwi I'll take it.
miwi 2011-11-24 15:16:45 UTC FreeBSD ports repository Modified files: sysutils/monitord Makefile sysutils/monitord/files patch-ab Log: - Fix exits with wrong error code - Bump PORTREVISION PR: 162581 Submitted by: Ivan Voras <ivoras@gmail.com> Feature safe: yes Revision Changes Path 1.12 +1 -1 ports/sysutils/monitord/Makefile 1.2 +13 -2 ports/sysutils/monitord/files/patch-ab _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: suspended->closed Committed. Thanks!