Bug 111345 - [maintainer-update] net-mgmt/nagios: Consistent UID and GID of 181 on installation
[maintainer-update] net-mgmt/nagios: Consistent UID and GID of 181 on install...
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: FreeBSD ports mailing list
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-07 06:10 UTC by jarrod
Modified: 2007-04-07 15:30 UTC (History)
0 users

See Also:


Attachments
net-mgmt-nagios-181-uid-gid.diff (2.10 KB, patch)
2007-04-07 06:10 UTC, jarrod
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jarrod 2007-04-07 06:10:01 UTC
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
Comment 1 Edwin Groothuis freebsd_committer 2007-04-07 06:10:11 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer)
Comment 2 Edwin Groothuis freebsd_committer 2007-04-07 06:10:27 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 3 Edwin Groothuis freebsd_committer 2007-04-07 06:55:31 UTC
State Changed
From-To: feedback->open

Submitter is maintainer (please use correct email address next time 
to speed up the process) 


Comment 4 Edwin Groothuis freebsd_committer 2007-04-07 06:55:31 UTC
Class Changed
From-To: change-request->maintainer-update

Over to myself for documentation and implementation
Comment 5 dfilter freebsd_committer 2007-04-07 15:25:55 UTC
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"
Comment 6 dfilter freebsd_committer 2007-04-07 15:29:18 UTC
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"
Comment 7 Rong-En Fan freebsd_committer 2007-04-07 15:29:20 UTC
State Changed
From-To: open->closed

Committed with an entry in UPDATING.