After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703813 - use /var/lib instead of /etc
use /var/lib instead of /etc
Product: NetworkManager
Classification: Platform
Component: general
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Reported: 2013-07-08 18:18 UTC by William Jon McCann
Modified: 2013-07-08 21:52 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description William Jon McCann 2013-07-08 18:18:50 UTC
There is a new emerging FHS that recommends storing writable state/configuration data into /var/lib/<id> instead of /etc/<id>. It would be nice for NetworkManager to do that as well and to leave /etc empty by default.

Or even better, just read system defaults from /usr/lib/NetworkManager/* or compile them in and not need a configuration file at all by default.
Comment 1 Dan Winship 2013-07-08 18:37:56 UTC
[citation required]? I'd like to see exactly what it recommends.
Comment 2 William Jon McCann 2013-07-08 19:12:24 UTC
Nothing official yet.


And I have a draft of the new XDG BaseDirs spec that complies.
Comment 3 Dan Winship 2013-07-08 20:01:42 UTC
So, if we were going to comply with that spec fully, we'd have to do lots of other things too, like using /var/lib/org.freedesktop.NetworkManager/ rather than {/etc,/var/lib}/NetworkManager, and installing the NM binary into /usr/lib/org.freedesktop.NetworkManager/ rather than /sbin.

We're not going to do that unless this spec gets some momentum behind it, and I don't think there's any advantage to moving part-way towards it now, especially since on most distros, the network configurations would still be stored in /etc, because they're shared with non-NM code.

So, WONTFIX unless/until either Fedora or at least two other major distros adopt the new standard.
Comment 4 William Jon McCann 2013-07-08 21:52:53 UTC
Fine. Don't have the energy to resist.