You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you opt to install LXDUI globally (i.e. python3 setup.py install without activating a virtualenv first), configuration files such as auth.conf will be stored in and read from /usr/local/lib/python3.7/dist-packages/LXDUI-<version>-py3.7.egg/conf. This location is not the correct place to store configuration, but even worse, if the administrator runs python3 setup.py installagain (e.g. to upgrade LXDUI to a new release), this configuration directory will be silently overwritten with the defaults from upstream.
LXDUI should instead read configuration from /etc - e.g. /etc/lxdui or something like that. auth.conf arguably is state instead of configuration, so maybe it should go in /var/lib (or someplace defined in lxdui.conf) but really almost anywhere is better than where it is now in /usr.
See also the hier(7) and file-hierarchy(7) manpages.
The text was updated successfully, but these errors were encountered:
If you opt to install LXDUI globally (i.e.
python3 setup.py install
without activating a virtualenv first), configuration files such asauth.conf
will be stored in and read from/usr/local/lib/python3.7/dist-packages/LXDUI-<version>-py3.7.egg/conf
. This location is not the correct place to store configuration, but even worse, if the administrator runspython3 setup.py install
again (e.g. to upgrade LXDUI to a new release), this configuration directory will be silently overwritten with the defaults from upstream.LXDUI should instead read configuration from
/etc
- e.g./etc/lxdui
or something like that.auth.conf
arguably is state instead of configuration, so maybe it should go in/var/lib
(or someplace defined inlxdui.conf
) but really almost anywhere is better than where it is now in/usr
.See also the
hier(7)
andfile-hierarchy(7)
manpages.The text was updated successfully, but these errors were encountered: