From owner-freebsd-ports Wed Jul 3 19:40: 8 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48F0F37B400 for ; Wed, 3 Jul 2002 19:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A332A43E31 for ; Wed, 3 Jul 2002 19:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g642e2JU030445 for ; Wed, 3 Jul 2002 19:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g642e2Dp030444; Wed, 3 Jul 2002 19:40:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 176FA37B400 for ; Wed, 3 Jul 2002 19:31:13 -0700 (PDT) Received: from spitfire.303.krakow.pl (spitfire.303.krakow.pl [62.233.208.97]) by mx1.FreeBSD.org (Postfix) with SMTP id C8C9A43E58 for ; Wed, 3 Jul 2002 19:31:11 -0700 (PDT) (envelope-from winfried@spitfire.303.krakow.pl) Received: (qmail 65746 invoked by uid 1001); 4 Jul 2002 02:31:10 -0000 Message-Id: <20020704023110.65635.qmail@spitfire.303.krakow.pl> Date: 4 Jul 2002 02:31:10 -0000 From: Jan Srzednicki Reply-To: Jan Srzednicki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40163: screen w/o suid and locale 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: 40163 >Category: ports >Synopsis: screen w/o suid and locale >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 03 19:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jan Srzednicki >Release: FreeBSD 4.6-RC i386 >Organization: Dywizjonet >Environment: System: FreeBSD spitfire.303.krakow.pl 4.6-RC FreeBSD 4.6-RC #5: Tue May 21 23:07:20 CEST 2002 root@spitfire.303.krakow.pl:/usr/obj/usr/src/sys/GRABKI i386 >Description: Recent screen (3.9.11) has a bug with handling locales. It uses unitialized variables in there, which turns to be a problem when screen is set non-suid. Here's more detailed problem description, along with the patch: http://www.dekaino.net/screen/screen-3.9.11.seteuid-patch >How-To-Repeat: Install screen from ports. Remove the suid bit on the binary. Set the LANG env to sth (pl_PL.ISO_8859-2 in my case). Execute screen. You will get: seteuid: Operation not permitted >Fix: The patch in the link above fixes this and works fine for me. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message