How will you avoid overwriting user config if you write to /etc? You'll need some sort of alternate extension, such as qdrouterd.conf.new.
Separately, why is this on the dev list? /me grumbles about the qpid list situation. On Tue, Feb 23, 2016 at 6:57 AM, Andrew Stitcher <[email protected]> wrote: > On Wed, 2016-02-17 at 18:11 -0500, Alan Conway wrote: > > I'd like to improve the dispatch out-of-box experience and doc > > regarding SASL. Our present experience is Doesn't Work By Default/No > > Useful Errors/Nothing In Doc (apologies if I'm just being dim) > > > > My use case is: > > - install dispatch (using make install to /usr/local) > > - start qdrouterd with no arguments, using installed default config > > - run 'qdstat -g' to see something happen. > > > > The installer installs: > > > > /usr/local/etc/sasl2/qdrouterd.conf > > That would be a mistake! The installed code will look by default > wherever the default for cyrus-sasl is - almost certainly /etc/sasl2 in > your case. > > This is one of those cases where you can't sensibly restrict the new > installed config file to the install prefix for what's being installed. > Simply because it relies on something external with it's own > installation in a potentially different place. > > Andrew > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
