The changes contained within this patch force the ports pkg-install script to use a statically assigned UID and GID of 181 as per ports/[UG]IDs. Attempts to install the port on a fresh system will use the new ID's however where the user or group name already exists, no attempt is made to renumber anything. To quickly shift dynamic ID's over to the new static ones, the following may be of some help: wallace# /usr/local/etc/rc.d/nagios stop Stopping nagios. wallace# find / -user nagios -exec chown 181 {} \; wallace# find / -group nagios -exec chgrp 181 {} \; wallace# pw usermod nagios -u 181 wallace# pw groupmod nagios -g 181 wallace# /usr/local/etc/rc.d/nagios start Performing sanity check of nagios configuration: OK Starting nagios. wallace# Thanks to Peter Losher and Kris Kennaway for their occasional prodding, reminding me to complete this ;-) Fix: Downloadable diff from: http://www.netleader.com.au/~jarrod/FreeBSD/net-mgmt-nagios-181-uid-gid.diff
Class Changed From-To: maintainer-update->change-request Fix category (submitter is not maintainer)
State Changed From-To: open->feedback Awaiting maintainers feedback
State Changed From-To: feedback->open Submitter is maintainer (please use correct email address next time to speed up the process)
Class Changed From-To: change-request->maintainer-update Over to myself for documentation and implementation
rafan 2007-04-07 14:25:48 UTC FreeBSD ports repository Modified files: net-mgmt/nagios Makefile net-mgmt/nagios/files pkg-install.in Log: - Use registered UID and GID. See UPDATING for migration. PR: ports/111345 Submitted by: Jarrod Sayers <jarrod at netleader.com.au> (maintainer) Revision Changes Path 1.60 +6 -0 ports/net-mgmt/nagios/Makefile 1.2 +8 -3 ports/net-mgmt/nagios/files/pkg-install.in _______________________________________________ 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"
rafan 2007-04-07 14:29:13 UTC FreeBSD ports repository Modified files: . UPDATING Log: - Add entry for net-mgmt/nagios uid/gid changes (from dynamic -> static) PR: ports/111345 Submitted by: Jarrod Sayers <jarrod at netleader.com.au> (maintainer) Revision Changes Path 1.496 +18 -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 Committed with an entry in UPDATING.