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