Is this a bug in onu?
http://tethys.sfbay/export/ws/onnv-onu/webrev
The problem I was having was an onu failure on a DHCP/x86 machine.
I noticed that onu is setting the publisher origin with the -O
flag and remember reading recently that -O has been superseded
by -g.
jerry at dhcp-umpk17-227-67:~# /ws/onnv-tools/onbld/bin/onu -d
/net/push.sfbay/builds/jg/onnv-devlofi/packages/i386/nightly -t devlofi-0315
PHASE ACTIONS
Removal Phase 54/54
pkg set-publisher: The origin URIs for 'on-nightly' do not appear to point to a
valid pkg server.
Please check the server's address and client's network configuration.
Additional details:
Unable to contact valid package server: http://localhost:13000/
Encountered the following error(s):
Transport errors encountered when trying to contact depot server.
Reported the following errors:
Framework error: code: 7 reason: couldn't connect to host
URL: 'http://localhost:13000'. (happened 4 times)
pkg -R /tmp/onu.fkaWYb set-publisher -P -O http://localhost:13000/ on-nightly
failed: exit code 1
kill: 915: no such process
kill: 917: no such process
The fix above appears to correct it:
jerry at dhcp-umpk17-227-67:~# ./onu -d
/net/push/builds/jg/onnv-devlofi/packages/i386/nightly -t
devlofi-0315
PHASE ACTIONS
Removal Phase 54/54
DOWNLOAD PKGS FILES XFER (MB)
Completed 241/241 4189/4189 128.5/128.5
PHASE ACTIONS
Removal Phase 1744/1744
Install Phase 1876/1876
Update Phase 5622/5622
devlofi-0315 has been updated successfully
Am I correct here? I can file a bug and put this back if somehow this
problem has yet escaped notice.
-jg