Updating inetd service manifests on Solaris hosts


I configured a jumpstart server this weekend in my home lab, and needed to enable tftp to allow clients to fetch pxegrub and the Solaris kernel. To enable the tftp service, I uncommented the tftp service in /etc/inetd.conf and ran inetconv. It later dawned on me that I needed to update the directory tftp serves files from, so I needed to adjust the tftp entry and re-run inetconv. This resulted in the following error:

$ grep tftp /etc/inetd.conf

# TFTPD - tftp server (primarily used for booting)
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /bits/provisioning/boot

$ inetconv
inetconv: Notice: Service manifest for tftp already generated as /var/svc/manifest/network/tftp-udp6.xml, skipped

The fix for this was simple, and required me to run inetconv with the “-f” (force update) option to force an update:

$ inetconv -f

tftp -> /var/svc/manifest/network/tftp-udp6.xml
Importing tftp-udp6.xml ...Done

That did the trick, and my lab machines are now building via the network.

This article was posted by Matty on 2009-05-06 09:05:00 -0400 -0400