From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 21:33:29 2007 Return-Path: X-Original-To: freebsd-x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA3AB16A400 for ; Tue, 17 Apr 2007 21:33:29 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5452F13C45A for ; Tue, 17 Apr 2007 21:33:29 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp6-g19.free.fr (Postfix) with ESMTP id 58EA66D47B; Tue, 17 Apr 2007 23:33:28 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 0564711C85; Tue, 17 Apr 2007 23:33:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0kSBl-bvYz-s; Tue, 17 Apr 2007 23:33:20 +0200 (CEST) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id EC08F11C83; Tue, 17 Apr 2007 23:33:19 +0200 (CEST) Message-ID: <46253C95.3030808@FreeBSD.org> Date: Tue, 17 Apr 2007 22:31:01 +0100 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: Stefan `Sec` Zehl References: <200704161141.l3GBfrcY049525@freefall.freebsd.org> <20070417201548.GB44061@ice.42.org> In-Reply-To: <20070417201548.GB44061@ice.42.org> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigB3DD81EFB2DFC5EBE7B42700" Cc: freebsd-x11@FreeBSD.org Subject: Re: ports/109497: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 21:33:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB3DD81EFB2DFC5EBE7B42700 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Stefan `Sec` Zehl wrote: > Hi, >=20 > On Mon, Apr 16, 2007 at 11:41 +0000, Florent Thoumie wrote: >> Synopsis: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-use= r" >> >> State-Changed-From-To: open->closed >> State-Changed-By: flz >> State-Changed-When: Mon Apr 16 11:40:38 UTC 2007 >> State-Changed-Why:=20 >> I just checked and other OS'es seem to run it as root as well. >> >> If this is a real concern to you, just set xfs_flags=3D"-user nobody" = in >> /etc/rc.conf. I think this is what you're looking for. >=20 > Please note that if you set "xfs_user=3D" to something, the default > rc.subr will already try to do something with it, and (silently) fail t= o > start xfs at all. I do think fixing this would be more user friendly --= > besides, its only a two-line patch anyway, and it doesn't even change > the default of running as root. >=20 > But if think it's important to refuse this change, I can certainly live= > without that patch. This is not what I said, please re-read my message. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enigB3DD81EFB2DFC5EBE7B42700 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGJTyaMxEkbVFH3PQRCtfVAJkBj88yO341RuKCaM6+UGrOKaYyngCeIe9l WZPE7hPXrnEloCrIONfko3w= =VLyb -----END PGP SIGNATURE----- --------------enigB3DD81EFB2DFC5EBE7B42700--