Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2018 20:29:53 +0000 (UTC)
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476321 - in head: . net/openntpd
Message-ID:  <201808032029.w73KTrY0063679@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: naddy
Date: Fri Aug  3 20:29:52 2018
New Revision: 476321
URL: https://svnweb.freebsd.org/changeset/ports/476321

Log:
  Move the numerical ID for the "_ntp" user, required for net/openntpd's
  privilege separation, after its value was usurped by the new "ntpd"
  user in 12.0-CURRENT.
  
  PR:		229936

Modified:
  head/GIDs
  head/UIDs
  head/UPDATING
  head/net/openntpd/Makefile

Modified: head/GIDs
==============================================================================
--- head/GIDs	Fri Aug  3 20:06:27 2018	(r476320)
+++ head/GIDs	Fri Aug  3 20:29:52 2018	(r476321)
@@ -64,7 +64,7 @@ mythtv:*:119:
 pdns:*:120:
 otrs:*:121:
 zabbix:*:122:
-_ntp:*:123:
+ntpd:*:123:
 fetchmail:*:124:
 postfix:*:125:
 maildrop:*:126:
@@ -173,7 +173,7 @@ kismet:*:229:
 carbon:*:230:
 foundationdb:*:231:
 archiva:*:232:
-# free: 233
+_ntp:*:233:
 kafka:*:234:
 openhab:*:235:
 # free: 236

Modified: head/UIDs
==============================================================================
--- head/UIDs	Fri Aug  3 20:06:27 2018	(r476320)
+++ head/UIDs	Fri Aug  3 20:29:52 2018	(r476321)
@@ -69,7 +69,7 @@ mythtv:*:119:119::0:0:MythTV pseudo-user:/nonexistent:
 pdns_recursor:*:120:120::0:0:pdns_recursor pseudo-user:/nonexistent:/usr/sbin/nologin
 otrs:*:121:121::0:0:OTRS Administrator:/usr/local/otrs:/bin/csh
 zabbix:*:122:122::0:0:Zabbix NMS:/nonexistent:/bin/sh
-_ntp:*:123:123::0:0:NTP Daemon:/var/empty:/usr/sbin/nologin
+ntpd:*:123:123::0:0:NTP Daemon:/var/db/ntp:/usr/sbin/nologin
 fetchmail:*:124:124::0:0:Fetchmail mail-retrieval daemon:/nonexistent:/usr/sbin/nologin
 postfix:*:125:125::0:0:Postfix Mail System:/var/spool/postfix:/usr/sbin/nologin
 synapse:*:126:141::0:0:Synapse Daemon:/nonexistent:/usr/sbin/nologin
@@ -178,7 +178,7 @@ osrm:*:228:228::0:0:osrm:/nonexistent:/usr/sbin/nologi
 carbon:*:230:230::0:0:osrm:/nonexistent:/usr/sbin/nologin
 foundationdb:*:231:231::0:0:foundationdb:/nonexistent:/usr/sbin/nologin
 archiva:*:232:232::0:0:Archiva Daemon User:/usr/local/archiva:/bin/sh
-# free: 233
+_ntp:*:233:233::0:0:NTP Daemon:/var/empty:/usr/sbin/nologin
 kafka:*:234:234::0:0:Apache Kafka user:/nonexistent:/usr/sbin/nologin
 openhab:*:235:235::0:0:openHAB user:/var/db/openhab2/home:/usr/sbin/nologin
 # free: 236

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Fri Aug  3 20:06:27 2018	(r476320)
+++ head/UPDATING	Fri Aug  3 20:29:52 2018	(r476321)
@@ -5,6 +5,21 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20180803
+  AFFECTS: users of net/openntpd
+  AUTHOR: naddy@FreeBSD.org
+
+  The numerical ID of the "_ntp" user had to be moved after 12.0-CURRENT
+  (revision 336525) took over its value for a user "ntpd" that uses a
+  different privilege model.
+
+  To avoid clashes between the two users, please remove the openntpd
+  package, delete the old UID with
+
+  # pw userdel _ntp
+
+  and re-install openntpd.
+
 20180731:
   AFFECTS: users of audio/sndio
   AUTHOR: tobik@FreeBSD.org

Modified: head/net/openntpd/Makefile
==============================================================================
--- head/net/openntpd/Makefile	Fri Aug  3 20:06:27 2018	(r476320)
+++ head/net/openntpd/Makefile	Fri Aug  3 20:29:52 2018	(r476321)
@@ -2,6 +2,7 @@
 
 PORTNAME=	openntpd
 PORTVERSION=	6.2p3
+PORTREVISION=	1
 PORTEPOCH=	2
 CATEGORIES=	net
 MASTER_SITES=	OPENBSD/OpenNTPD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808032029.w73KTrY0063679>