Date: Fri, 7 Jul 2000 23:03:51 -0700 (PDT) From: dan@mostgraveconcern.com To: freebsd-gnats-submit@FreeBSD.org Subject: ports/19780: SETI@home port startup script fails Message-ID: <20000708060351.9640A37B76F@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 19780 >Category: ports >Synopsis: SETI@home port startup script fails >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 07 23:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Dan O'Connor >Release: 4.0-STABLE >Organization: >Environment: FreeBSD pandora.mostgraveconcern.com 4.0-STABLE FreeBSD 4.0-STABLE #36: Thu Jul 6 06:25:52 PDT 2000 root@pandora.mostgraveconcern.com:/usr/src/sys/compile/PANDORA i386 >Description: Installation and registration for the SETI@home port (setiathome-2.4) work OK, but the provided startup script /usr/local/etc/rc.d/setiathome.sh does not work properly. When the script is run, you get a new shell prompt with user set to 'nobody', and setiathome doesn't start. >How-To-Repeat: Attempt to start SETI@home: # /usr/local/etc/rc.d/setiathome.sh start >Fix: The 'su' command in the /usr/local/etc/rc.d/setiathome.sh script is missing the '-f' option: su -m ${seti_user} -c \ "(cd ${seti_wrkdir}/${i} && exec ${PREFIX}/bin/setiathome -email -nice ${seti_nice} >/dev/null &)" The script works fine if the '-f' switch is added to the above line: su -fm ${seti_user} -c \ "(cd ${seti_wrkdir}/${i} && exec ${PREFIX}/bin/setiathome -email -nice ${seti_nice} >/dev/null &)" It took me a long time to figure this one out. A patch by the port maintainer would be much appreciated, and would save new SETI@home users much frustration... >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000708060351.9640A37B76F>