Date: Sun, 30 Aug 2015 16:27:20 -0453.75 From: "William A. Mahaffey III" <wam@hiwaay.net> To: freebsd-questions@freebsd.org Subject: Re: /etc files Message-ID: <55E373EE.4080109@hiwaay.net> In-Reply-To: <55E3622C.8000800@FreeBSD.org> References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> <55E3622C.8000800@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55E373EE.4080109>