Subject: pkg/26079: gaim execs vmstat and netstat with fd 0,2 closed
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jdolecek@NetBSD.org>
List: pkgsrc-bugs
Date: 06/27/2004 10:04:52
>Number:         26079
>Category:       pkg
>Synopsis:       gaim execs vmstat and netstat with fd 0,2 closed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 27 08:04:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jaromir Dolecek
>Release:        NetBSD 2.0F
>Organization:
>Environment:
System: NetBSD s102-n054.tele2.cz 2.0F NetBSD 2.0F (SARUMAN.MP) #165: Sun Jun 27 00:11:21 CEST 2004 dolecek@s102-n054.tele2.cz:/usr/home/dolecek/soft/netbsd/sys/arch/i386/compile/SARUMAN.MP i386
Architecture: i386
Machine: i386
>Description:
	GAIM runs some support programs with closed standard descriptors.
	This causes warning into with NetBSD, since NetBSD kernel logs
	an attempt to run suid/sgid binary without open descriptors 0,1,2.
>How-To-Repeat:
	Run gaim, see system log for the warnings about suid/sgid programs
	being run with standard descriptors closed.
>Fix:
	Patch gaim to attach the 0,2 to /dev/null instead of closing them.
>Release-Note:
>Audit-Trail:
>Unformatted: