NetBSD Problem Report #26079
Received: (qmail 29001 invoked by uid 605); 27 Jun 2004 08:03:49 -0000
Message-Id: <20040627080452.4959A492298@s102-n054.tele2.cz>
Date: Sun, 27 Jun 2004 10:04:52 +0200 (CEST)
From: jdolecek@NetBSD.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: jdolecek@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: gaim execs vmstat and netstat with fd 0,2 closed
X-Send-Pr-Version: 3.95
>Number: 26079
>Category: pkg
>Synopsis: gaim execs vmstat and netstat with fd 0,2 closed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: jmmv
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 27 08:04:00 +0000 2004
>Closed-Date: Fri Jul 02 13:17:11 +0000 2004
>Last-Modified: Fri Jul 02 13:17:11 +0000 2004
>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:
Responsible-Changed-From-To: pkg-manager->jmmv
Responsible-Changed-By: jmmv
Responsible-Changed-When: Mon Jun 28 22:22:59 UTC 2004
Responsible-Changed-Why:
I'll handle this one.
From: "Julio M. Merino Vidal" <jmmv@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/26079 CVS commit: pkgsrc/security/libgcrypt
Date: Fri, 2 Jul 2004 13:14:28 +0000 (UTC)
Module Name: pkgsrc
Committed By: jmmv
Date: Fri Jul 2 13:14:28 UTC 2004
Modified Files:
pkgsrc/security/libgcrypt: Makefile distinfo
Added Files:
pkgsrc/security/libgcrypt/patches: patch-ab
Log Message:
When exec'ing child processes (netstat and vmstat), make sure the standard
file descriptors (0, 1, 2) are open. This avoids multiple warnings issued
under NetBSD about running set[ug]id programs with those descriptors closed.
Fixes PR pkg/26079; although it talks about gaim, the problem is here, in
libgcrypt. Bump PKGREVISION to 1.
To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 pkgsrc/security/libgcrypt/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/security/libgcrypt/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/security/libgcrypt/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: jmmv
State-Changed-When: Fri Jul 2 13:15:51 UTC 2004
State-Changed-Why:
Fixed, thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.