[systemd-devel] Custom Localed Configuration Location
Lennart Poettering
lennart at poettering.net
Thu Aug 31 10:38:43 UTC 2023
On Di, 29.08.23 17:18, TJ Shipp (OneZoomer at msn.com) wrote:
> I am trying to create a system where we can change locale on a
> running system (where we would have daemons subscribe to dbus and
> get the properties changed messages) but need to be able to change
> the location of the locale file (by default in /etc/locale.conf) as
> /etc is read-only on our system.
We do not support that. /etc/ is the place for configuration on Linux,
and if you make that immutable you basically turn off the ability to
configure things at runtime. Which is totally OK to do of course, but
if this is the mode you pick you shouldn't be surprised that this is
what you get.
> Is there a way to change the file location to a writeable location
> as I can not find any current means to do such?
This is not configurable, the path /etc/locale.conf is considered
API. It's not a hidden backend or so, but a primary interface to this
setting.
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list