From owner-freebsd-security@freebsd.org Wed Sep 7 01:35:52 2016 Return-Path: Delivered-To: freebsd-security@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 116BCB967A2 for ; Wed, 7 Sep 2016 01:35:52 +0000 (UTC) (envelope-from jasoncwells@fastmail.com) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA55D9BC for ; Wed, 7 Sep 2016 01:35:51 +0000 (UTC) (envelope-from jasoncwells@fastmail.com) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3C4CA204FA for ; Tue, 6 Sep 2016 21:35:50 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Tue, 06 Sep 2016 21:35:50 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=628 rC5BxdChiFHoNI9r2aJ0Vf10=; b=cEEMUmvytA16/4pF9Rxr8WASXu0ImSOnft/ h0ba6k9qhiSjErtQHiQAEtIax6WkHmHY0ViRgHHlBkS8gPYjXBGAaDYKsQke4LMx V+u+XCfrbbrz2sIlV6oCW4TuU+3qeRT/QTBWLenv5bmimVg50fA2wezSUGi46/jb wddcO6Uc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=628rC5BxdChiFHoNI9r2aJ0Vf10=; b=NEAeI RmvkHxt3pTyxpDRHTmKBRLKzI0CvIxE8GkRRZPGYLp01g8wMoXpoF4hNpJeTsIC3 +3xEMXezPHOBmmVwi2Iex7Rh32nb7sAxqdO6WeqkaFYkZV8Ed9BOoNOIaueCaso8 6GNcat9XQ6odtj1oLd6Y937emMjqPPNZuEmuEU= X-Sasl-enc: jwEqVE7Fyoy1VrRG3SEJWpfFZnwi+8oow+QQFwP5FjhA 1473212149 Received: from [192.168.1.195] (97-113-189-48.tukw.qwest.net [97.113.189.48]) by mail.messagingengine.com (Postfix) with ESMTPA id C7501F29CC for ; Tue, 6 Sep 2016 21:35:49 -0400 (EDT) To: freebsd-security@freebsd.org From: "Jason C. Wells" Subject: /etc/rc.d/ipropd_master overwrites /var/heimdal/slaves Message-ID: <9c676dad-8612-118c-89b0-f85d389caa00@fastmail.com> Date: Tue, 6 Sep 2016 18:35:42 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 07 Sep 2016 10:44:12 +0000 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2016 01:35:52 -0000 First off, thanks for updating heimdal. I've been eagerly awaiting that. (Although, I might be late to the party since I only recently updated to 10.3 from 9.3.) The FreeBSD provided /etc/rc.d/ipropd_master script always overwrites /var/heimdal/slaves within the precmd portion of the RC script. I find this to be extremely odd. Rather, please just check if /var/heimdal/slaves is empty if you must check anything at all. If one happily follows along with the heimdal website and writes out /var/heimdal/slaves, one unhappily finds that /etc/rc.d/ipropd_master will unhappily overwrite your file. In other news, /etc/rc.d/apache needs a variable called httpd_conf that overwrites /usr/local/etc/httpd.conf upon every boot. That is, if we want to be consistent. ( <== a small joke ) Regards, Jason C. Wells