From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 19 14:20:06 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73DFF1065672 for ; Mon, 19 Dec 2011 14:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 61E598FC08 for ; Mon, 19 Dec 2011 14:20:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBJEK5Xs090052 for ; Mon, 19 Dec 2011 14:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBJEK50J090051; Mon, 19 Dec 2011 14:20:05 GMT (envelope-from gnats) Date: Mon, 19 Dec 2011 14:20:05 GMT Message-Id: <201112191420.pBJEK50J090051@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Mike Clarke Cc: Subject: Re: conf/163432: Environment variables set from /etc/login.conf do not have surrounding quote characters removed X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Clarke List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 14:20:06 -0000 The following reply was made to PR conf/163432; it has been noted by GNATS. From: Mike Clarke To: Jaakko Heinonen Cc: bug-followup@freebsd.org Subject: Re: conf/163432: Environment variables set from /etc/login.conf do not have surrounding quote characters removed Date: Mon, 19 Dec 2011 14:13:19 +0000 On Monday 19 December 2011, you wrote: > I still get EXINIT="set ai ic sw=3" on 8.1-RELEASE. Are you sure that > your database is up to date (i.e. you have run cap_mkdb > /etc/login.conf)? Yes, it's up to date but I've just discovered a long forgotten line in .cshrc which was also setting EXINIT and overriding the value from login.conf. After removing the .cshrc line I now get the quotes the same way as you do. The issue only became visible on the new 9.0 system I was setting up because the new user account didn't have a copy of the old .cshrc file. I've now removed the qoutes from login.conf since I now see that they should not have been there. I'm sorry for any inconvenience caused by my oversight. This does leave the minor point that the absence of a quoting facility means that it doesn't seem possible to include a comma in the value of an environment variable defined in login.conf, though I doubt if many users will ever need to do this. -- Mike Clarke