Date: Mon, 1 Mar 2010 09:56:54 GMT From: geoffroy desvernay <dgeo@centrale-marseille.fr> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/144384: nfsen rc script broken Message-ID: <201003010956.o219usLP072666@www.freebsd.org> Resent-Message-ID: <201003011000.o21A073j057295@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144384 >Category: ports >Synopsis: nfsen rc script broken >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 Mar 01 10:00:07 UTC 2010 >Closed-Date: >Last-Modified: >Originator: geoffroy desvernay >Release: 7.1-RELEASE-p7 >Organization: Ecole Centrale de Marseille >Environment: FreeBSD batavia.ec-m.fr 7.1-RELEASE-p7 FreeBSD 7.1-RELEASE-p7 #0: Fri Sep 25 00:14:09 CEST 2009 root@batavia.ec-m.fr:/usr/obj/usr/src/sys/BATAVIA i386 >Description: In the last versions of the port, the rc script seems badly broken on freebsd 7.x (and a bit stange looking anyway) - It seems written as a .sh (old-generation) rc script, but named 'nfsen' - The content of the file is duplicated => it never start the nfsend daemon >How-To-Repeat: install net-mgmt/nfsen reboot the machine and see nothing... >Fix: Update the rc script Patch attached with submission follows: #! /bin/sh # # PROVIDE: nfsen # REQUIRE: sshd # KEYWORD: shutdown # nfsen_enable=${nfsen_enable-"NO"} #nfsen_flags=${nfsen_flags-""} . /etc/rc.subr name="nfsen" rcvar=`set_rcvar` load_rc_config $name command="/usr/local/bin/nfsen" start_cmd="/usr/local/bin/nfsen start" stop_cmd="/usr/local/bin/nfsen stop" reload_cmd="/usr/local/bin/nfsen reconfig" status_cmd="/usr/local/bin/nfsen status" extra_commands="reload" run_rc_command "$1" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003010956.o219usLP072666>