Hi! I try to build a new 1.1.7 installation. Since I'm not a large sysadmin, just my own private mail server admin, I just wonder why the sysconf and state dirs defaults to $prefix? Maybe I'm old-school, but isn't /etc and /var, respectively, a better default than /usr/local? Should require two new variables in the configure script, though. (and yes, I know I set them with --sysconfdir=/etc --localstatedir=/var --sharedstatestatedir=/var ) /Peter -- Peter Lindgren http://www.norrskenkonsult.com
Isn't /usr/local/ the default to prevent collisions with dist. provided files? /yosh Peter Lindgren skrev:> Hi! > I try to build a new 1.1.7 installation. Since I'm not a large > sysadmin, just my own private mail server admin, I just wonder why the > sysconf and state dirs defaults to $prefix? Maybe I'm old-school, but > isn't /etc and /var, respectively, a better default than /usr/local? > Should require two new variables in the configure script, though. > > (and yes, I know I set them with > --sysconfdir=/etc --localstatedir=/var --sharedstatestatedir=/var > ) > > /Peter
On Jan 3, 2009, at 9:18 PM, Peter Lindgren wrote:> I try to build a new 1.1.7 installation. Since I'm not a large > sysadmin, just my own private mail server admin, I just wonder why > the sysconf and state dirs defaults to $prefix? Maybe I'm old- > school, but isn't /etc and /var, respectively, a better default > than /usr/local? Should require two new variables in the configure > script, though.I think it's pretty much a standard to place all the files under $prefix by default. It's also useful in some cases. For example I don't have root access to the server where my mails are located, so I just build Dovecot (and many other software) with --prefix=$HOME and everything works nicely.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 4 Jan 2009, Peter Lindgren wrote:> my own private mail server admin, I just wonder why the sysconf and state > dirs defaults to $prefix? Maybe I'm old-school, but isn't /etc and /var,Points of view vary. As others already said, /etc and /var are vender places, but some vendors say no 'var' on /usr and provide /var/local, even /etc/local for the same reason. I think there was something: http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard /usr/local is a bit obsolete and replaced by /opt in conjunction with /etc/opt and /var/opt. /usr/local is to replicate plain /etc /bin /sbin structure, but some vendors deny "var" contents there, because /usr might be mounted read only. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSWXaAnWSIuGy1ktrAQIzUwf/dWRv/sYixdtVrAP6v80fVanigYBxLXHX QY28ldbAzg33ddIQF7hu2AwleOmwI6HB6NLzYnMb4hMQw1fm+glD4Gl0ZOVOlQQi QijMAbgIec+SaiswrMBCO8/RISlQfT711ZA5Trm4Ropw4+CVRO27FjcRAzlHA1r+ Izw3FxXJ6tOnqYraKTD5uoWGL6Bcf6o94mx83vMig1KCeClEQUkQ0XDq8MVvAECM pSSJLxyujMQxdip8AX/DNUId1GSNflAEbq3EDNVEeiaNs/DhA7INCpeDgUsc+nAq S2CyQ1uqtpmE68ICjazjCM+JdnesiHgMaVkh8dy7cZcvOTbUypMJPw==8iYw -----END PGP SIGNATURE-----