bug 219448

Paul Boekholt p.boekholt@hetnet.nl
Thu, 12 May 2005 11:50:50 +0200


> On 11.05.05, Jörg Sommer wrote:
> > G. Milde schrieb am Wed 11. May, 14:09 (+0200):

> > > This raises the more generic question: should a locally installed program
> > > read configuration files in /etc/ (which might belong to non-local
> > > programs or be just leftovers)?

> > I think, no.

On Thu, 12 May 2005 09:19:56 +0200, "G. Milde" <g.milde@web.de> said:

> After reaching agreement on this list, we should contact John (and/or the
> jed-users list) and propose a change to site.sl. (See my current
> suggestion below.)

I don't know, it seems most local programs do look for conffiles it /etc,
regardless of how they were built.

For example in the sortmail program I see:
	read_initfile("/usr/lib/sortmailrc", False) ;
	read_initfile("/usr/local/lib/sortmailrc", False) ;
	read_initfile("/etc/sortmailrc", False) ;
	read_initfile("/usr/etc/sortmailrc", False) ;
	read_initfile("/usr/local/etc/sortmailrc", False) ;
	read_initfile(mailrc, False) ;
	read_initfile(sortmailrc, False) ;

paul@earth:~$ strings /usr/local/bin/* | grep /etc
/etc/terminfo
/etc/html2textrc
/etc/resolv.conf
/etc/terminfo
/etc/resolv.conf
/etc/resolv.conf
/etc/terminfo
/usr/local/etc:/usr/local/slsh:/etc:/etc/slsh
/usr/local/etc
/usr/local/etc:/usr/local/etc/slsh:/etc:/etc/slsh
/etc/sortmailrc
/usr/etc/sortmailrc
/usr/local/etc/sortmailrc
/etc/resolv.conf