From owner-freebsd-gnome@FreeBSD.ORG Mon May 10 18:37:54 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC9D316A4CE; Mon, 10 May 2004 18:37:53 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 532A343D46; Mon, 10 May 2004 18:37:50 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i4B1aY3b092016; Mon, 10 May 2004 21:36:34 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Stacey Roberts In-Reply-To: <20040510230726.GO393@crom.vickiandstacey.com> References: <200405101209.38370@misha-mx.virtual-estates.net> <20040510185643.GM393@crom.vickiandstacey.com> <200405101727.28793@misha-mx.virtual-estates.net> <1084225017.888.51.camel@gyros> <20040510230726.GO393@crom.vickiandstacey.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-od3998gh/GAk3r9FG8yb" Organization: MarcusCom, Inc. Message-Id: <1084239463.73633.7.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 10 May 2004 21:37:43 -0400 cc: FreeBSD GNOME Users cc: Mikhail Teterin cc: freebsd-gnats-submit@freebsd.org Subject: Re: ports/66439: portupgrade -R pilot-link-0.11.8_2 fails with latest cvsup X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 01:37:54 -0000 --=-od3998gh/GAk3r9FG8yb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-05-10 at 19:07, Stacey Roberts wrote: > Hi, > =20 > ----- Original Message ----- > From: "Joe Marcus Clarke " > To: To Mikhail Teterin > Date: Mon, 10 May, 2004 22:36 BST > Subject: Re: ports/66439: portupgrade -R pilot-link-0.11.8_2 fails with l= atest cvsup >=20 > > On Mon, 2004-05-10 at 17:27, Mikhail Teterin wrote: > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/66439 > > >=20 > > > =3D =3D=3D=3D Aborted, please remove /nonexistent > > >=20 > > > =3DI noted the message, but I'm a bit weary of removing that director= y as > > > =3Dits was created, and being used by gdm, the www user and one or tw= o > > > =3Dothers *by default*. That is, I did-not-create-that directory. > > >=20 > > > =3DWhat I'm curious about is the fact that I've been using FreeBSD / = Gnome > > > =3D/ Evolution / pilot-link on this box for years, without having thi= s > > > =3Dissue until now. Is there something in this.., > > >=20 > > > I made pilot-link default to Tk-8.4 (rather than 8.3 as before). So i= t > > > tries to build Tk-8.4 and fails because /nonexistent is there. I have= no > > > idea, why gdm would create it... Gnome, any comments? > >=20 > > We don't create it explicitly, but it is used for the gdm user home > > directory. Perhaps pw is creating it... >=20 > Had a look through man pw(8), and here is the relevant section: >=20 > -s shell Set or changes the user's login shell to shell. If the > path to the shell program is omitted, pw searches the > shellpath specified in /etc/pw.conf and fills it in as > appropriate. Note that unless you have a specific reason > to do so, you should avoid specifying the path - this will > allow pw to validate that the program exists and is exe- > cutable. Specifying a full path (or supplying a blank "" > shell) avoids this check and allows for such entries as > /nonexistent that should be set for accounts not intended > for interactive login. This doesn't apply. We specify the home directory of /nonexistent and the shell of /sbin/nologin. We do _not_ pass the -m argument to pw, so the home directory should not be created. This is the command we use: pw useradd gdm -u 92 -g xxx -h - -d "/nonexistent" -s /sbin/nologin -c "GNOME Display Manager" That command doesn't create a /nonexistent. I do not think this is a GNOME bug. Joe >=20 > So for those users / applications that should not be issued with logins (= like gdm, www & nobody) get issued with "/nonexistent" as home dirs by defa= ult. I've mentioned this before in another thread previously, but didn't ge= t very far with the maintainer concerned at the time, who insisted that I "= must have created /nonexistent myself" at some point. >=20 > I'd be interested to see how this turns out, please. >=20 > Regards, >=20 > Stacey >=20 > >=20 > > Joe > >=20 > > >=20 > > > If you are happy with Tk-8.3 and don't want to install 8.4 just for > > > pilot-link, you can add TCL_VER=3D8.3 to either /etc/make.conf or to = the > > > make's command line. > > >=20 > > > -mi > > >=20 > > > _______________________________________________ > > > freebsd-gnome@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > > > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.o= rg" > > --=20 > > PGP Key : http://www.marcuscom.com/pgp.asc > >=20 > >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-od3998gh/GAk3r9FG8yb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAoC5nb2iPiv4Uz4cRAoigAJ4+wQto5xDm/Q7oBcDotmVnYnKC1QCgq5MY uGOKY0MOOGvrcc1vAhYP4ZY= =5+eU -----END PGP SIGNATURE----- --=-od3998gh/GAk3r9FG8yb--