On Fri, 20 Feb 2004, Andy Gayton wrote:
>Andy - has the --sysconfdir option for configure in 1.2.6final changed
>from 1.2.3?

Yes, sysconfdir now places the conf file, and localstatedir sets the
location for logs and service scripts. I should have notified you of this
when the release was done.

>Just noticed some changes on the wiki - I've always prefered to move the
>service directories instead of link them - I get confused if there's more
>lying about than necessary :)

The problem with moving the directories is that svscan is stupid! If it 
finds a change in the /service directory, then it scans the service 
directory _once_ for new services, then caches this.

There's a race condition when moving directories between file systems, and
this causes svscan to sometimes only find the imap or imaps services, but
not their log services. So logging won't work.

DjB's solution is to use a symlink, which forces one to keep "two
locations" of the same stuff. DjB uses /etc/tinydns etc, but on qmail.org
the recommendation is /var/service/tinydns symlinked to /service/tinydns.

>Andy is there a reason for having imap and imaps down by default?  I
>might not be understanding properly the full effect of have down files in
>a service directory.

It's to prevent the services from popping up before they are configured. 
Of course, since the symlinking is done manually these days (it was 
automated in old versions of Binc) these files no longer seem necessary.

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."


Reply via email to