Date: Fri, 7 Jun 2002 19:47:31 -0700 (PDT) From: Stanley Hopcroft <Stanley.Hopcroft@IPAustralia.Gov.AU> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/39018: Follow up of PR/31352 'fcntl(0, F_SETFL, O_NONBLOCK): Inappropriate ioctl for device' from check_by_ssh Message-ID: <200206080247.g582lVdL094558@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 39018 >Category: ports >Synopsis: Follow up of PR/31352 'fcntl(0, F_SETFL, O_NONBLOCK): Inappropriate ioctl for device' from check_by_ssh >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 07 19:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Stanley Hopcroft >Release: 4.5-RELEASE-p[46] >Organization: >Environment: FreeBSD tsitc.aipo.gov.au 4.5-RELEASE-p6 FreeBSD 4.5-RELEASE-p6 #5: Sat Jun 8 08:23:08 EST 2002 root@tsitc.aipo.gov.au:/usr/src/sys/compile/TSITC i386 Base system ssh (OpenSSH_2.9 FreeBSD localisations 20020307, SSH protocols 1.5/2.0, OpenSSL 0x0090601f) Netsaint built from source (0.0.7) check_by_ssh from plugins 1.2.9-4. Base system gcc (gcc version 2.95.3 20010315 (release) [FreeBSD]) >Description: Symptoms are exactly as reported by Daniel Lang <dl@leo.org> (Thanks mate) in PR/31352 ie Sometime after Netsaint 0.0.7b[2-8] and 0.0.7 is started, Netsaint logs a warning message from the check_by_ssh plugin that [\d+] SERVICE ALERT: check_host;Standard host-centric checks;WARNING;SOFT;2;fcntl(0, F_SETFL, O_NONBLOCK): Inappropriate ioctl for device. Some additional notes are :- 1 Problem only appeared after cvsup to 4.5-RELEASE-p4 and make installworld (including mergemaster) following the handbooks description ie make buildworld make buildkernel make installkernel reboot make installworld I think that the problem is related to the shell that Netsaint starts in. If Netsaint is started with . login as root (su - ) . /Path/toNetsaint/bin -d /Path/to/Netsaint/etc/netsaint.cfg . logout of root shell then some time after logging out as root, the symptoms appear within 8 hours. However, if Netsaint is started by . login as root . /Path/toNetsaint/bin/netsaint /Path/to?netsaint/ect/netsaint.cfg . root sheell stays logged in then there are no problems (for at least the 3-4 days I have done this for). Mr Langs remarks apply also: manual checks work fine. >How-To-Repeat: . start Netsaint as a daemon, log out of root shell, wait no more than 8 hours. >Fix: >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?200206080247.g582lVdL094558>