Date: Mon, 30 Nov 2009 01:11:58 GMT From: Juliao Gesse Fernandes <juliao.gf@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/141009: Incomplete post-install script with -DBATCH on net/isc-dhcp31-server Message-ID: <200911300111.nAU1BwZj005868@www.freebsd.org> Resent-Message-ID: <200911300120.nAU1K1Nn097564@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141009 >Category: ports >Synopsis: Incomplete post-install script with -DBATCH on net/isc-dhcp31-server >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 30 01:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Juliao Gesse Fernandes >Release: 8.0 >Organization: Continente Tecnologia >Environment: FreeBSD freebsd.immx 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The problem occurs if I use the BATCH option: # cd /usr/ports/net/isc-dhcp31-server # make -DBATCH install clean This install the port apparently with default options, but don't create the user and group dhcpd/dhcpd, but if I make in the interactive way: # cd /usr/ports/net/isc-dhcp31-server # make install clean (with default options) ..the post-install script creates the user and group dhcpd/dhcpd. The same issue happens on port net/isc-dhcp30-server . >How-To-Repeat: # cd /usr/ports/net/isc-dhcp31-server # make -DBATCH install clean # mv /usr/local/etc/dhcpd.sample /usr/local/etc/dhcpd.conf # /usr/local/etc/rc.d/isc-dhcpd onestart Ends with erro: no such user "dhcpd" But works in this way: # cd /usr/ports/net/isc-dhcp31-server # make install clean # mv /usr/local/etc/dhcpd.sample /usr/local/etc/dhcpd.conf # /usr/local/etc/rc.d/isc-dhcpd onestart # tail /etc/passwd will show: dhcpd:*:1002:1002:DHCP Daemon:/nonexistent:/usr/sbin/nologin >Fix: I don't know. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911300111.nAU1BwZj005868>