Linking /etc to something in /var was what we were going to do... Raphael Cohn Chief Architect, stormmq Co-Chair, OASIS MQTT Standard Secretary, OASIS AMQP Standard raphael.cohn@stormmq.com +44 7590 675 756 UK Office: Hamblethorpe Farm, Crag Lane, Bradley BD20 9DB, North Yorkshire, United Kingdom Telephone: +44 845 3712 567 Registered office: 16 Anchor Street, Chelmsford, Essex, CM2 0JY, United Kingdom StormMQ Limited is Registered in England and Wales under Company Number 07175657 StormMQ.com On 3 December 2013 20:51, Laurent Bercot wrote: > > What would be nice might be to be able to define the prefix for /etc to >> something else (so we can use atomic symlink changes to flip configs). >> > > Make /etc a symlink to /var/config/etc. Make /var/config a symlink to > config-0. > Flip configs by atomically replacing the /var/config symlinks. > You'll have to move /etc, or part of it, out of the root filesystem > anyway, because > you'll want to make your / read-only: so, kill two birds with one stone. > > > > PS As an aside, I've always wanted /etc/hosts to also have a parallel >> /etc/hosts.d/. >> It'd make maintaining things without a DNS server extremely easy - think >> dynamically >> adding and removing VMs in most cloud providers, especially those where >> multicast DNS >> doesn't work... like Azure. >> > > Honestly, using djbdns is almost as easy, thanks to the programmatically > sane config > file formats; and it will scale better. > > -- > Laurent > >