ports/66439: portupgrade -R pilot-link-0.11.8_2 fails with latest cvsup

Joe Marcus Clarke marcus at marcuscom.com
Mon May 10 18:40:28 PDT 2004


The following reply was made to PR ports/66439; it has been noted by GNATS.

From: Joe Marcus Clarke <marcus at marcuscom.com>
To: Stacey Roberts <stacey at vickiandstacey.com>
Cc: Mikhail Teterin <mi+mx at aldan.algebra.com>,
	FreeBSD GNOME Users <gnome at freebsd.org>,
	freebsd-gnats-submit at freebsd.org
Subject: Re: ports/66439: portupgrade -R pilot-link-0.11.8_2 fails with
	latest cvsup
Date: Mon, 10 May 2004 21:37:43 -0400

 --=-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 <marcus at marcuscom.com>"
 > 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 at freebsd.org mailing list
 > > > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
 > > > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at 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--
 


More information about the freebsd-gnome mailing list