GNOME Bugzilla – Bug 706616
rename 'system-connections' to just 'connections' /etc/NetworkManager.conf
Last modified: 2018-10-18 22:45:47 UTC
Rename 'system-connections' to just 'connections' /etc/NetworkManager.conf. It is pretty easy to do in a backward compatible manner. One approach would be to check the existence 'connections' directory and step back to the old name upon failure.
Created attachment 253598 [details] [review] Proof of concept patch. Adding a proof of concept patch. No warranty.
Yeah, we should probably do this. Though for upgrade-ability, I think we need to read connections from both directories, but only save new connections in the new directory, right?
moving to 1.4 as this won't be done for 1.2 (also, the problem is how to do it without too much hazzle and without breaking existing installations...). It seems hard to get right and no high priority.
Yes, a better name would be nice. But I think this is involved with so much effort to preserve backward compatibility, that it is easier to stick with the current name.
I am closing this as WONTFIX. The problem is that this directories contains the keyfile files. That means, simply changing it, would be a major breakage during package update. It would be essentially not manageable for a distribution to inflict such a pain on the users. So, the only alternative would be to add a new directory and deprecating the old one. But that again is a huge effort and complexity, both to implement and to document. In fact, we now are about to add additional directories like /var/run/NetworkManager/system-connections and /usr/lib/NetworkManager/system-connections. While I personally argued for a better name at least for the new directories, it was decided that consistency of naming is more important than choosing the best name. I do see a point there.