Hi, on systems with ro filesystems i create symlinks to a writeable (ramdisk) /var/ or /tmp partition. I know this problem for more config files inside /etc/ than the resolv.conf. I think thats the safest and "cheapest" way .-)
best regards Harald Am Mittwoch, 3. August 2011, 10:29:53 schrieb Micha?? Górny: > Hello, > > AFAIK NetworkManager is the most common tool which keeps writing > to /etc/resolv.conf file during runtime. Such a solution makes it hard > to support configurations where rootfs in read-only most of the time. > > That's why I'm considering moving the resolv.conf file to /var. I'm not > sure about the exact location there but /var seems much better for > non-static resolver configs. > > I think that the best solution would be to patch glibc so it will first > try to load 'dynamic' resolv.conf from /var, and then fallback to > static configs in /etc. > > I'd really appreciate any kind of feedback on that idea.
_______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list