conf/163432: Environment variables set from /etc/login.conf do not have surrounding quote characters removed

Jaakko Heinonen jh at FreeBSD.org
Mon Dec 19 10:40:09 UTC 2011


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

From: Jaakko Heinonen <jh at FreeBSD.org>
To: Mike Clarke <jmc-fbsdpr at milibyte.co.uk>
Cc: bug-followup at 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 12:34:45 +0200

 On 2011-12-18, Mike Clarke wrote:
 > On 8.1-RELEASE the quotes get stripped off.
 > 
 > curlew:/home/mike% grep setenv /etc/login.conf
 >         :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,EDITOR=vi,EXINIT="set 
 > ai ic sw=3",PAGER=less,EJECT=/dev/acd0:\
 > 
 > 
 > curlew:/home/mike% env | grep EXINIT
 > EXINIT=set ai ic sw=3
 
 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)?
 
 -- 
 Jaakko


More information about the freebsd-bugs mailing list