From owner-freebsd-questions@freebsd.org Sun Aug 30 21:21:53 2015 Return-Path: Delivered-To: freebsd-questions@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 49E939C67F9 for ; Sun, 30 Aug 2015 21:21:53 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B2A2E60 for ; Sun, 30 Aug 2015 21:21:52 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7ULLokv032053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 16:21:51 -0500 Subject: Re: /etc files To: freebsd-questions@freebsd.org References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> <55E3622C.8000800@FreeBSD.org> From: "William A. Mahaffey III" Message-ID: <55E373EE.4080109@hiwaay.net> Date: Sun, 30 Aug 2015 16:27:20 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E3622C.8000800@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 21:21:53 -0000 On 08/30/15 15:12, Matthew Seaman wrote: > On 30/08/2015 17:42, William A. Mahaffey III wrote: >> ll /home/rsync/Jaguar/etc/*: >> -rw-r--r--. 1 wam users 143851520 Sep 3 2014 >> /home/rsync/Jaguar/etc/enabled: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/fingerprints: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/mirror_type: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/signature_type: > Hmmm... this all looks somewhat familiar from pkg(8) configuration. > Except what is used by pkg(8) is from inside the file > /etc/pkg/FreeBSD.conf -- > > lucid-nonsense:/home/matthew:# cat /etc/pkg/FreeBSD.conf > # $FreeBSD: stable/10/etc/pkg/FreeBSD.conf 263938 2014-03-30 15:29:54Z > bdrewery $ > # > # To disable this repository, instead of modifying or removing this file, > # create a /usr/local/etc/pkg/repos/FreeBSD.conf file: > # > # mkdir -p /usr/local/etc/pkg/repos > # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf > # > > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > > And, as it says, you shouldn't edit /etc/pkg/FreeBSD.conf, but instead > create files in /usr/local/etc/pkg/repos if you want to override the > defaults. > > Perhaps some shell script went a bit awry? > > Cheers, > > Matthew > > I *think* that may be the case given the dates on those files, it was either a then-new pkg burping or a still-way-too-noob root user fat-fingering something. Thanks :-). -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.