[csw-users] what did happen to CSWdhcp?

Peter Bonivart bonivart at blastwave.org
Thu Dec 6 11:21:16 CET 2007


On Dec 6, 2007 10:29 AM, Gérard Henry <ghenry at cmi.univ-mrs.fr> wrote:
> hello all,
> on a machine, i have CSWdhcp
> fury-root% pkginfo -l CSWdhcp
>     PKGINST:  CSWdhcp
>        NAME:  dhcp - ISC DHCP reference implementation
>    CATEGORY:  application
>        ARCH:  sparc
>     VERSION:  3.0.3,REV=2005.12.30
> and i use /etc/default/dhcpd to choose the interfaces to listen on.
> For example:
> 12614:  /opt/csw/sbin/dhcpd -cf /etc/dhcpd.conf -lf /etc/dhcpd.leases -q
> e1000g0 e1000g
> argv[0]: /opt/csw/sbin/dhcpd
> argv[1]: -cf
> argv[2]: /etc/dhcpd.conf
> argv[3]: -lf
> argv[4]: /etc/dhcpd.leases
> argv[5]: -q
> argv[6]: e1000g0
> argv[7]: e1000g2
>
> But now, with the new release of dhcp, i'm unable to found where can i
> configure it. Looking at /etc/init.d/cswdhcp, i only see:
>        /opt/csw/sbin/dhcpd $OPTIONS &
>
> and
> #OPTIONS="-cf /opt/csw/etc/dhcpd.conf"  # use old location of conf file
>
> so, instead of using script, i execute it from command line to obtain:
> argv[0]: /opt/csw/sbin/dhcpd
> argv[1]: -cf
> argv[2]: /etc/dhcpd.conf
> argv[3]: -lf
> argv[4]: /etc/dhcpd.leases
> argv[5]: -q
> argv[6]: e1000g1
>
>
> Any suggestion?

The new package uses /etc/opt/csw for the conf files and
/var/opt/csw/dhcp for pid, lease and so on. It has to do with being
able to NFS-mount /opt/csw read-only. It's mentioned on the news page
for CSWdhcp.

-- 
/peter



More information about the users mailing list