From owner-freebsd-ports@FreeBSD.ORG Mon Aug 4 02:10:31 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B44A695 for ; Mon, 4 Aug 2014 02:10:31 +0000 (UTC) Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:211]) by mx1.freebsd.org (Postfix) with ESMTP id E9FCE2CBC for ; Mon, 4 Aug 2014 02:10:30 +0000 (UTC) Received: from omta11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA11.westchester.pa.mail.comcast.net with comcast id aS191o0010mv7h05BSAVga; Mon, 04 Aug 2014 02:10:29 +0000 Received: from kirby.cyberbotx.com ([107.5.48.95]) by omta11.westchester.pa.mail.comcast.net with comcast id aSAT1o01F23DSHF3XSAUDM; Mon, 04 Aug 2014 02:10:29 +0000 Message-ID: <53DEEB93.8010208@cyberbotx.com> Date: Sun, 03 Aug 2014 22:10:27 -0400 From: Naram Qashat User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Kevin Oberman Subject: Re: Does pkg automatically download INDEX? References: <53DE7266.5000606@cyberbotx.com> <53DE8623.1090208@infracaninophile.co.uk> <53DE8EBD.4090303@cyberbotx.com> <53DE934C.101@FreeBSD.org> <53DE9B38.2000805@cyberbotx.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1407118229; bh=kVbk01pbogeu3LpWc8wckHTOOtAwNN8MuA0sXkraFO8=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=SFoO+TU4HOIgeb0+jUSERve0RYgL2jxDlETSQLOngJRcBDiIC+K+Kch3tz7J5AuzH 4y/xj6LTDxDIOa1lXGVmTyyNlzJyl87cUYTM2f7PVru9YfdG8vlSincr0uk/lot6mW 0EgtJ0TwMEicFbRn6ggJggnN3CBYFiXT76LK6BB9QY2gI5YCKApQIiSiMFwMV4ByGp sb5LsSAyUThXGObu9mc1N/bC0pFkE+VE4zI3W4aQnTstKehd1WtHcToHaBnZCZFoun /Q2hM8d39T/7S+S6I1WCwwtmxUJgD+Nn5S9VDx1p3f4lBlgLGf5SszCy0+zy32457h nvh6GPVSqCQFw== Cc: Matthew Seaman , FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2014 02:10:31 -0000 On 08/03/14 21:24, Kevin Oberman wrote: > On Sun, Aug 3, 2014 at 1:27 PM, Naram Qashat > wrote: > > On 08/03/14 15:53, Matthew Seaman wrote: > > On 03/08/2014 20:34, Naram Qashat wrote: > > Well, I've been using the command line arguments of "-voL '='", and > looking at the man page for pkg-version, as far as I can tell, it > shouldn't be downloading INDEX, since I do have INDEX-9 on my system. > > > pkg(8) doesn't download or attempt to build an INDEX at all. It can use > one if one happens to be already available, but not otherwise. > > Cheers, > > Matthew > > > I'm at a bit of a loss, then. While I can't say for sure if pkg is doing > something unintended, there seems to be something on my system that is > downloading INDEX without my knowledge. > > My usual way of updating my INDEX is using p5-FreeBSD-Portindex to generate > the INDEX file, and using that INDEX to update the files that portupgrade > uses. I run that manually, so I have nothing that would do that for me > automatically, to my knowledge. > > > Thanks, > Naram Qasha > > > Are you doing anything between building the index and running "pkg version"? I > can tell you that portmaster will download the "latest" index unless you use the > --no-index-fetch option. I don't know about other tools, but it caught me by > surpize. > -- > R. Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com I'm not. In fact, I rebuilt the INDEX and did 'pkg version' and it didn't change INDEX, which is correct from what Matthew said. But I left the system alone and then, without having run any other commands, checked the timestamp of INDEX-9 again. It was changed, despite having not done anything in between. If there is a way to find out when any process is attempting to modify a file, that would probably help me narrow it down, but I'm not aware of anything that can do that, so if anyone does know, that would be helpful. I had tried to check my /var/log/all.log for anything but the only thing that even happened around the time when INDEX-9 got changed was Postfix's anvil being called, which I doubt would've caused the INDEX-9 to be downloaded. Thanks, Naram Qashat