fetch call during rc startup

Status
Not open for further replies.

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
I noticed 9.2.1 seems to hang while booting for a short time. control-T indicates it is waiting on fetch(1) to timeout. Anyone else noticed this or am I the only one running FreeNAS in an environment where it doesn't have Internet access?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Na, it's just you. You're the only one using 9.2.1. ;)

ZING!
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Code:
/etc#sh -x  ix.rc.d/ix-pbi start
+ . /etc/rc.freenas
+ . /etc/rc.subr
[...blabla...]
+ export PBI_APPDIR
+ rm -f /var/tmp/pbi-repo.rpo
+ /usr/local/bin/sqlite3 /data/freenas-v1.db '
SELECT
repourl
FROM
plugins_configuration
ORDER BY
-id
LIMIT
1
'
+ read -r repourl
+ fetch -q -o /var/tmp/pbi-repo.rpo http://www.freenas.org/downloads/plugins/9/x64/pbi-meta/pbi-repo.rpo


Bam!
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
You have a rabies shot recently?

/big smile
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Your post popped up when I made my post. I'd say put a ticket in...
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Yeah I'm kinda looking at this concurrently with discussing it here.

There's a configuration option under Jails for Plugins and Configuration for the repo URL, but it is too smart to let me to bludgeon it to something like file:///dev/null or http://localhost ...
 
Status
Not open for further replies.
Top