On Wed, Jun 13, 2018 at 08:51:01PM -0400, Weedy wrote:
> On Wed, Jun 13, 2018 at 10:34:08PM +0200, Jan Jurá?? wrote:
> > 
> > I have Raspberry Pi 3 with minimal raspbian image based on jessie
> > and I use it as access point.
> > 
> > The thing is that I made / read-only to prevent any possible
> > corruption caused by power loss. Now the problem of course is that
> > dnsmasq fails to open the lease file for writing and I get the
> > following error:
> > 
> > dnsmasq: cannot open or create lease file
> > /var/lib/misc/dnsmasq.leases: read-only file system
> > 
> > Now as I see it, I have several options:
> > 
> >  * disable somehow leasing so that dnsmasq doesn't fail on startup
> >  * Persuade dnsmasq to search for the lease file elsewhere (I still
> >    have rw home)
> >  * Mount the file somehow to RAM disk
> > 
> > What would be the best solution and how to do it? Any ideas?
> Stick it on whatever tmpfs is already mounted. Thats what LEDE/OpenWRT do.

How is it done?    A symlink? If yes,  what.


Groeten
Geert Stappers
-- 
Leven en laten leven

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to