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 763540 - at-spi2-core should support a stateless configuration (+memory leak fix)
at-spi2-core should support a stateless configuration (+memory leak fix)
Status: RESOLVED FIXED
Product: at-spi
Classification: Platform
Component: at-spi2-core
unspecified
Other Linux
: Normal normal
: ---
Assigned To: At-spi maintainer(s)
At-spi maintainer(s)
Depends on:
Blocks: 763619
 
 
Reported: 2016-03-12 16:47 UTC by Ikey Doherty
Modified: 2016-04-14 06:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Support a stateless configuration by default (2.69 KB, patch)
2016-03-12 16:47 UTC, Ikey Doherty
committed Details | Review

Description Ikey Doherty 2016-03-12 16:47:51 UTC
Created attachment 323764 [details] [review]
Support a stateless configuration by default

Using a stateless configuration, we ship sensible defaults in our vendor-config
file to live in the /usr/share/ filesystem, which is considered to be provided
by the vendor, and to all intents and purposes, read-only.

With this change we can fall-back to the vendor system configuration to
always do the right thing, in the absence of a local system administrator
configuration file in the /etc/ tree.

Notably, this saves users from the potential risks and pitfalls of so called
"three way merges" on upgrades, and offers the immediate benefit that one
can perform a factory reset of the software, simply by removing the relevant
file in /etc/.

This change also resolves a memory leak in the launch code, where a string
allocation was entirely unnecessary.

For more information, please see https://clearlinux.org/features/stateless
Comment 1 Simon McVittie 2016-04-14 06:22:32 UTC
Comment on attachment 323764 [details] [review]
Support a stateless configuration by default

This appears to have been committed as 9439376b before 2.19.92.