From owner-freebsd-www@FreeBSD.ORG Sun Nov 13 14:30:11 2011 Return-Path: Delivered-To: freebsd-www@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56BAF106564A for ; Sun, 13 Nov 2011 14:30:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 349D48FC13 for ; Sun, 13 Nov 2011 14:30:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id pADEUB2A091451 for ; Sun, 13 Nov 2011 14:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pADEUBpp091447; Sun, 13 Nov 2011 14:30:11 GMT (envelope-from gnats) Resent-Date: Sun, 13 Nov 2011 14:30:11 GMT Resent-Message-Id: <201111131430.pADEUBpp091447@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-www@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Troy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BBEC106564A for ; Sun, 13 Nov 2011 14:24:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 12CE68FC08 for ; Sun, 13 Nov 2011 14:24:16 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pADEOFbd082551 for ; Sun, 13 Nov 2011 14:24:15 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pADEOFgT082550; Sun, 13 Nov 2011 14:24:15 GMT (envelope-from nobody) Message-Id: <201111131424.pADEOFgT082550@red.freebsd.org> Date: Sun, 13 Nov 2011 14:24:15 GMT From: Troy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: www/162518: Shellinabox X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2011 14:30:11 -0000 >Number: 162518 >Category: www >Synopsis: Shellinabox >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 13 14:30:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Troy >Release: 9.0 RC1 >Organization: Home >Environment: FreeBSD mail.homefbsd.org 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:51:43 UTC 2011 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: After starting the shellinabox, /var/run/ did not have .pid file but ps -ax would show that the program was running. Client side: The browser would display a login prompt. As soon as the user name has been entered, it closed the session. example: mail1 login: username Session closed. /etc/rc.conf shellinaboxd_enable="YES" shellinaboxd_port="8022" shellinaboxd_certdir="/usr/local/etc/shellinabox" >How-To-Repeat: cd /usr/ports/www/shellinabox/ make make install /usr/local/etc/rc.d/shellinaboxd start ls /var/run/ ps -ax | grep shellinaboxd >Fix: Partial fix: If I run the program from the command line, it works without a problem. Working command line: /usr/local/bin/shellinaboxd --user=shellinabox --group=shellinabox --port=8022 --background=/var/run/shellinaboxd.pid --cert=/usr/local/etc/shellinabox Client side: login: username Password: Last login: Sun Nov 13 09:00:58 from 192.168.1.33 FreeBSD 9.0-RC1 (GENERIC) #0: Tue Oct 18 18:51:43 UTC 2011 Welcome to FreeBSD!...etc NOTE: When it is working, only "login:" appears not " login:". Something in the rc starting sequence that I cannot find. I hope this helps. >Release-Note: >Audit-Trail: >Unformatted: