[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Writing to /etc/ from a "privileged" UI



On Mon, 9 May 2011 11:55:39 +0200, Jan Hauke Rahm wrote:

> Aside from privileges wicd needs or has to write in /etc, how does it
> handle read-only / (including /etc)? Does it fall back to /var?

No.

I haven't tried, but it should be able to connect without a writable /(etc)
(it already uses /var/lib/wicd/ to store runtime config): network configuration
will "just" be lost on wicd-daemon shutdown. Still, I'll need to confirm this
(maybe it'll throw an exception when trying to write the config files), and
eventually fix it to support at least this behaviour.

Is there some document I should be reading? :)

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: