From owner-svn-ports-all@freebsd.org Thu Oct 18 23:36:13 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F685F789D9; Thu, 18 Oct 2018 23:36:13 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE86883CB6; Thu, 18 Oct 2018 23:36:12 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B625626CA0; Thu, 18 Oct 2018 23:36:12 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9INaC9H000575; Thu, 18 Oct 2018 23:36:12 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9INaBae000568; Thu, 18 Oct 2018 23:36:11 GMT (envelope-from zi@FreeBSD.org) Message-Id: <201810182336.w9INaBae000568@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Thu, 18 Oct 2018 23:36:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482392 - in head: . security/hitch security/hitch/files X-SVN-Group: ports-head X-SVN-Commit-Author: zi X-SVN-Commit-Paths: in head: . security/hitch security/hitch/files X-SVN-Commit-Revision: 482392 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2018 23:36:13 -0000 Author: zi Date: Thu Oct 18 23:36:11 2018 New Revision: 482392 URL: https://svnweb.freebsd.org/changeset/ports/482392 Log: - Use hitch user/group instead of nobody/nobody PR: 232411 Submitted by: grahamyvr@gmail.com Modified: head/GIDs head/UIDs head/UPDATING head/security/hitch/Makefile head/security/hitch/files/hitch.conf.sample head/security/hitch/files/hitch.in Modified: head/GIDs ============================================================================== --- head/GIDs Thu Oct 18 23:29:50 2018 (r482391) +++ head/GIDs Thu Oct 18 23:36:11 2018 (r482392) @@ -753,7 +753,7 @@ clickhouse:*:800: # free: 810 # free: 811 foreman_proxy:*:812: -# free: 813 +hitch:*:813: puppet:*:814: uchiwa:*:815: # free: 816 Modified: head/UIDs ============================================================================== --- head/UIDs Thu Oct 18 23:29:50 2018 (r482391) +++ head/UIDs Thu Oct 18 23:36:11 2018 (r482392) @@ -759,7 +759,7 @@ clickhouse:*:800:800::0:0:ClickHouse Daemon:/var/db/cl # free: 810 # free: 811 foreman_proxy:*:812:812::0:0:Foreman Smart Proxy:/usr/local/share/foreman-proxy:/usr/sbin/nologin -# free: 813 +hitch:*:813:813::0:0:Hitch TLS Proxy:/nonexistent:/usr/sbin/nologin puppet:*:814:814::0:0:Puppet Daemon:/nonexistent:/usr/sbin/nologin uchiwa:*:815:815::0:0:Uchiwa Dashboard:/nonexistent:/usr/sbin/nologin # free: 816 Modified: head/UPDATING ============================================================================== --- head/UPDATING Thu Oct 18 23:29:50 2018 (r482391) +++ head/UPDATING Thu Oct 18 23:36:11 2018 (r482392) @@ -5,6 +5,15 @@ 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. +20181018: + AFFECTS: users of security/hitch + AUTHOR: zi@FreeBSD.org + + Hitch has been updated to run as the hitch user/group, instead of the + previous default of nobody/nobody. You should review your hitch + configuration to ensure that everything has been updated to reflect + this change. + 20181014: AFFECTS: users of sysutils/ansible AUTHOR: lifanov@FreeBSD.org Modified: head/security/hitch/Makefile ============================================================================== --- head/security/hitch/Makefile Thu Oct 18 23:29:50 2018 (r482391) +++ head/security/hitch/Makefile Thu Oct 18 23:36:11 2018 (r482392) @@ -3,7 +3,7 @@ PORTNAME= hitch PORTVERSION= 1.4.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://hitch-tls.org/source/ \ ZI @@ -16,8 +16,8 @@ LICENSE= BSD2CLAUSE BUILD_DEPENDS= rst2man:textproc/py-docutils LIB_DEPENDS= libev.so:devel/libev -USERS= nobody -GROUPS= nobody +USERS= hitch +GROUPS= hitch USES= pkgconfig ssl GNU_CONFIGURE= yes Modified: head/security/hitch/files/hitch.conf.sample ============================================================================== --- head/security/hitch/files/hitch.conf.sample Thu Oct 18 23:29:50 2018 (r482391) +++ head/security/hitch/files/hitch.conf.sample Thu Oct 18 23:36:11 2018 (r482392) @@ -68,12 +68,12 @@ chroot = "" # Set uid after binding a socket # # type: string -user = "nobody" +user = "hitch" # Set gid after binding a socket # # type: string -group = "nobody" +group = "hitch" # Quiet execution, report only error messages # Modified: head/security/hitch/files/hitch.in ============================================================================== --- head/security/hitch/files/hitch.in Thu Oct 18 23:29:50 2018 (r482391) +++ head/security/hitch/files/hitch.in Thu Oct 18 23:36:11 2018 (r482392) @@ -30,8 +30,8 @@ load_rc_config $name : ${hitch_enable="NO"} : ${hitch_config="%%PREFIX%%/etc/hitch.conf"} -: ${hitch_huser:=nobody} -: ${hitch_hgroup:=nobody} +: ${hitch_huser:=hitch} +: ${hitch_hgroup:=hitch} command="%%PREFIX%%/sbin/hitch" command_args="--daemon -u ${hitch_huser} -g ${hitch_hgroup} -s --config=${hitch_config}"