Hi, As /usr/sbin/daemon doesn't seem to support '-u' option on FreeBSD-6.4 (according to the man pages, see http://www.freebsd.org/cgi/man.cgi?query=daemon&apropos=0&sektion=0&manpath=FreeBSD+6.4-RELEASE+and+Ports&format=html), updating nullmailer rc script to use /usr/sbin/daemon breaks nullmailer on this release. Here is error message i get: # /usr/local/etc/rc.d/nullmailer start Starting nullmailer. daemon: illegal option -- u usage: daemon [-cf] [-p pidfile] command arguments ... HTH, Thanks. How-To-Repeat: - update nullmailer port to nullmailer-1.05_1,1 on FreeBSD-6.4 - Trying to restart the service: /usr/local/etc/rc.d/nullmailer restart should fail
Responsible Changed From-To: freebsd-ports-bugs->glarkin Over to maintainer (via the GNATS Auto Assign Tool)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have just filed this PR to request support for drop-privilege functionality in /usr/sbin/daemon on 6.4: http://www.freebsd.org/cgi/query-pr.cgi?pr=146266 I'll research a temporary fix for the rc script until that MFC is completed. Thank you, Greg Larkin - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFL4aye0sRouByUApARAtpvAJ9X07A8XiasmwHDAaano1iUW7bCagCcDlVc gSoGOu1tzD70SDhxCa6uWYk= =UyAj -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 delphij@ MFC'd the drop-privilege support for daemon(8) back to 6-STABLE for me. The way to merge this back into your 6.x installation is with the following commands: ## If /usr/src is not yet populated, csup the 6-STABLE sources ## cd /usr/src/usr.sbin/daemon make install /usr/local/etc/rc.d/nullmailer start If /usr/src is already populated with sources from a previous 6.x release, use these commands: cd /usr/src/usr.sbin/daemon fetch -o patch-daemon.c \ 'http://svn.freebsd.org/viewvc/base/stable/6/usr.sbin/daemon/daemon.c?view=patch&r1=207582&r2=207581&pathrev=207582' fetch -o patch-daemon.8 \ 'http://svn.freebsd.org/viewvc/base/stable/6/usr.sbin/daemon/daemon.8?view=patch&r1=207582&r2=207581&pathrev=207582' patch -p0 daemon.c < patch-daemon.c patch -p0 daemon.8 < patch-daemon.8 make install /usr/local/etc/rc.d/nullmailer start If you have any trouble, please let me know. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFL4a3b0sRouByUApARAp1KAJ0dpIjqbtHKUwA0jbURs6ZQuGdJbACeMj/t MXl3tfH3oxWlgaa2tJhaw3o= =OhS+ -----END PGP SIGNATURE-----
glarkin 2010-05-06 14:22:43 UTC FreeBSD ports repository Modified files: . UPDATING Log: - Added entry for mail/nullmailer on FreeBSD 6.x for daemon(8) workaround in rc.d script PR: ports/146252 Submitted by: infosr <informatique.src@gmail.com> Revision Changes Path 1.919 +31 -1 ports/UPDATING _______________________________________________ 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: open->closed Closing after drop-privilege support in daemon(8) was MFC'd to 6-STABLE and adding an entry in ports/UPDATING for rebuilding daemon(8): http://www.freebsd.org/cgi/getmsg.cgi?fetch=963770+0+current/cvs-ports http://www.freebsd.org/cgi/cvsweb.cgi/ports/UPDATING.diff?r1=1.918;r2=1.919