From owner-freebsd-ports Thu Oct 18 4:40:18 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7C79837B405 for ; Thu, 18 Oct 2001 04:40:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9IBe2B64444; Thu, 18 Oct 2001 04:40:02 -0700 (PDT) (envelope-from gnats) Received: from mailout2.informatik.tu-muenchen.de (mailout2.informatik.tu-muenchen.de [131.159.254.8]) by hub.freebsd.org (Postfix) with ESMTP id 536DC37B403 for ; Thu, 18 Oct 2001 04:35:16 -0700 (PDT) Received: from tuminfo2.informatik.tu-muenchen.de (tuminfo2.informatik.tu-muenchen.de [131.159.0.81]) by mailout2.informatik.tu-muenchen.de (Postfix) with ESMTP id 47B2B8190 for ; Thu, 18 Oct 2001 13:35:15 +0200 (MEST) Received: from atrbg11.informatik.tu-muenchen.de (atrbg11.informatik.tu-muenchen.de [131.159.24.91]) by tuminfo2.informatik.tu-muenchen.de (Postfix) with ESMTP id 137CC10AC1 for ; Thu, 18 Oct 2001 13:35:13 +0200 (MEST) Received: by atrbg11.informatik.tu-muenchen.de (Postfix, from userid 20455) id 17E531368D; Thu, 18 Oct 2001 13:35:15 +0200 (CEST) Message-Id: <20011018113515.17E531368D@atrbg11.informatik.tu-muenchen.de> Date: Thu, 18 Oct 2001 13:35:15 +0200 (CEST) From: Daniel Lang Reply-To: Daniel Lang To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/31352: Netsaint check_by_ssh: fcntl(0, F_SETFL, O_NONBLOCK): Inappropriate ioctl for device Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31352 >Category: ports >Synopsis: Netsaint check_by_ssh: fcntl(0, F_SETFL, O_NONBLOCK): Inappropriate ioctl for device >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 18 04:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Daniel Lang >Release: FreeBSD 4.4-STABLE i386 >Organization: TU Muenchen >Environment: System: FreeBSD atleo2.leo.org 4.4-STABLE FreeBSD 4.4-STABLE #3: Fri Oct 12 20:46:54 CEST 2001 root@atleo2.leo.org:/usr/obj/usr/src/sys/ATLEO2 i386 - netsaint-0.0.7b6_1, cvsuped and built Oct 15 10:30 - netsaint-plugins-1.2.9.4, cvsuped and built Oct 15 10:30 - ssh: OpenSSH_2.9 FreeBSD localisations 20010713, SSH protocols 1.5/2.0, OpenSSL 0x0090601f >Description: This could be more related to ssh, than to netsaint, but it seems to occur only if check_by_ssh is used. Unfortunately it is not really reproducable. Sometimes (like once a day) all remote checks that use ssh fail with that error message: fcntl(0, F_SETFL, O_NONBLOCK): Inappropriate ioctl for device They produce a warning, but fail 3 times, so no more checks are done, and I have to reschedule each check by hand, to get the state changed again. Then it works fine again for some hours. The problem did not occur before my update to 4.4-STABLE, and OpenSSH 2.9. I have to say, that there was ssh 2.9 installed on this system already (from the ports) before, but I guess there are differences to the one now included in the system. >How-To-Repeat: Tricky: install netsaint and plugins, define a service which is checked on a remote machine, it doesn't seem to make difference which ssh is used on the remote machine (I've had FreeBSD boxes and Solaris with different versions of OpenSSH). Start netsaint and wait until you get warnings about the checks failing with the error message above. >Fix: sorry, no idea. Not beeing able to reproduce this problem in a defined environment, doesn't help. :( >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message