<div dir="ltr"><div><div><div><div>from working system (a7, SUNWfiles, not SUNWbinfiles):<br><br></div>cd / ; pkg contents network/dhcp/dhcpmgr service/network/dhcp | xargs -I{} find {} -prune -type f | xargs tar cvf dhcp-server.tar<br>
<br></div>did the same on a broken system.<br><br></div>untar'ed into broken-dhcp and working-dhcp directories<br><br>root@jadlaptop:~# gdiff -ribw broken-dhcp working-dhcp<br><br></div>Binary files broken-dhcp/usr/lib/inet/dhcp/nsu/rfc2136.so.1 and working-dhcp/usr/lib/inet/dhcp/nsu/rfc2136.so.1 differ<br>
Binary files broken-dhcp/usr/lib/inet/dhcp/svc/ds_SUNWfiles.so.0 and working-dhcp/usr/lib/inet/dhcp/svc/ds_SUNWfiles.so.0 differ<br>Binary files broken-dhcp/usr/lib/inet/dhcp/svc/ds_SUNWfiles.so.1 and working-dhcp/usr/lib/inet/dhcp/svc/ds_SUNWfiles.so.1 differ<br>
Binary files broken-dhcp/usr/lib/inet/dhcp/svcadm/dhcpcli.jar and working-dhcp/usr/lib/inet/dhcp/svcadm/dhcpcli.jar differ<br>Binary files broken-dhcp/usr/lib/inet/dhcp/svcadm/dhcpcommon.jar and working-dhcp/usr/lib/inet/dhcp/svcadm/dhcpcommon.jar differ<br>
Binary files broken-dhcp/usr/lib/inet/dhcp/svcadm/dhcpsvc.jar and working-dhcp/usr/lib/inet/dhcp/svcadm/dhcpsvc.jar differ<br>Binary files broken-dhcp/usr/lib/inet/dsvclockd and working-dhcp/usr/lib/inet/dsvclockd differ<br>
Binary files broken-dhcp/usr/lib/inet/in.dhcpd and working-dhcp/usr/lib/inet/in.dhcpd differ<br>Binary files broken-dhcp/usr/lib/libdhcpsvc.so.1 and working-dhcp/usr/lib/libdhcpsvc.so.1 differ<br>Binary files broken-dhcp/usr/sadm/admin/dhcpmgr/SUNWfiles.jar and working-dhcp/usr/sadm/admin/dhcpmgr/SUNWfiles.jar differ<br>
Binary files broken-dhcp/usr/sadm/admin/dhcpmgr/dhcpmgr.jar and working-dhcp/usr/sadm/admin/dhcpmgr/dhcpmgr.jar differ<br>Binary files broken-dhcp/usr/sadm/admin/dhcpmgr/dhcpmgr.so.1 and working-dhcp/usr/sadm/admin/dhcpmgr/dhcpmgr.so.1 differ<br>
<br><div><div><div>untar'ed over the current system, ran commands:<br><br>root@jadlaptop:~# dhcpconfig -D -r files -p /var/dhcp <br>dhcpconfig: Error - files is not a valid resource.<br>root@jadlaptop:~# dhcpconfig -D -r SUNWfiles -p /var/dhcp<br>
dhcpconfig: Error - creating location: /var/dhcp.<br><br></div><div>still broken (wtf?)<br><br></div><div>attached truss file from "-r files" ...<br><br></div><div>It's funny because I ran the dhcpconfig command on the a7 box only today to set up a DHCP service, just wish I'd truss'ed the command, I'd prefer not to have to destroy it to test.<br>
</div><div><br></div><div>Jon<br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 July 2014 14:53, Jim Klimov <span dir="ltr"><<a href="mailto:jimklimov@cos.ru" target="_blank">jimklimov@cos.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 2014-07-05 21:32, Alexander Pyhalov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
BTW, I see the same behavior on /dev with recent illumos-gate<br>
(compiled with GCC).<br>
However, dhcpconfig works on stock /dev a8.<br>
So, I see two possibilities:<br>
1) something is wrong with using GCC & dhcp Java configuration tool<br>
2) dhcpconfig is broken in current illumos-gate.<br>
</blockquote>
<br>
Checked on both GCC-compiled and Sun Studio compiled latest illumos the<br>
following command fails:<br>
<br>
# dhcpconfig -D -r SUNWfiles -p /var/dhcp -l 28800<br>
dhcpconfig: Error - creating location: /var/dhcp.<br>
<br>
But it works on the same host on OI /dev a9.<br>
<br>
Has someone seen something similar?<br>
</blockquote>
<br></div>
Unfortunately yes, I saw this too. I think I posted about that<br>
around May, perhaps after Jonathan's complaints and/or in reply<br>
to them, but couldn't manage to google up my posts now.<br>
<br>
Anyhow, Sun DHCP never worked on my new laptop installation<br>
which started out with hipster, for neither of the formats of<br>
SUNW{bin,}files database. Other tools like the X11 GUI and<br>
pntadm complained as well.<br>
<br>
Did anyone recently try to import verbatim the related binary<br>
and library files from a working (OIa9) installation into<br>
hipster to see if the SUNWdhcp* or the rest of the OS is the<br>
problem? I think I tried, and failed, but can't certainly<br>
remember and say that I did - last month was too turmulous<br>
for such minor details to stick ;(<br>
<br>
truss/strace also did not pop out any apparent problems for me.<br>
<br>
HTH,<br>
//Jim<br>
<br>
<br>
______________________________<u></u>_________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a><br>
<a href="http://openindiana.org/mailman/listinfo/oi-dev" target="_blank">http://openindiana.org/<u></u>mailman/listinfo/oi-dev</a><br>
</blockquote></div><br></div>