Does pkg automatically download INDEX?

Naram Qashat cyberbotx at cyberbotx.com
Sun Aug 10 01:15:25 UTC 2014


On 08/09/14 19:45, Scot Hetzel wrote:
> On Fri, Aug 8, 2014 at 7:00 PM, Naram Qashat <cyberbotx at cyberbotx.com> wrote:
>> On 08/04/14 07:28, David Wolfskill wrote:
>>>
>>> On Mon, Aug 04, 2014 at 07:09:33AM -0400, Naram Qashat wrote:
>>>>
>>>> On 08/03/14 22:14, David Wolfskill wrote:
>>>>>
>>>>> On Sun, Aug 03, 2014 at 10:10:27PM -0400, Naram Qashat wrote:
>>>>>>
>>>>>> ...
>>>>>> 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,
>>>>>> ...
>>>>>
>>>>>
>>>>> Well, "chflags schg /usr/ports/INDEX*" would *prevent* the modification
>>>>
>>>> ...
>>>> This was a really good suggestion.....
>>>
>>>
>>> Glad to help.  :-)
>>>
>>> Peace,
>>> david
>>
>>
>> OK, so while no programs have whined or complained, I get the feeling that
>> something on my system is running portsnap without my knowledge. When I had
>> set the schg flag on INDEX-9, an INDEX-9.bz2 file came up. I set the schg
>> flag on that as well, and now I notice there are a bunch of files called
>> .fetch.??????.INDEX-9.bz2 (where ?????? is a random string), as well as a
>> file called .portsnap.INDEX. As far as I know, I don't have anything
>> configured to run portsnap, but is there something that defaults to running
>> portsnap occasionally? I couldn't find anything that would do that.
>>
>
> Do your have a crontab entry that is running portsnap with the -I
> (update INDEX) option?
>
> http://www.pl.freebsd.org/doc/handbook/portsnap.html

As far as I can tell, no, none of my crontabs have any references to portsnap in 
them. This is making me a bit stumped as to why it would be happening. I checked 
the main /etc/crontab, I checked the crontabs in /var/cron/tabs. I have searched 
inside of /etc and /usr/local/etc for anything related to portsnap. Nothing that 
would be doing this is coming up at all.

Thanks,
Naram Qashat


More information about the freebsd-ports mailing list