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
SKUPPER_HOME, which houses non-static configuration and other non-static content, is rooted on /usr/local/share/skupper/namespaces/ for the root user.
That location may not be adequate given the characteristics of the files that reside there.
According to hier(7):
/usr This directory is usually mounted from a separate partition. It should hold only shareable, read-only data, so that it can be mounted by various machines running Linux.
(...) /usr/share This directory contains subdirectories with specific application data, that can be shared among different architectures of the same OS. Often one finds stuff here that used to live in /usr/doc or /usr/lib or /usr/man.
(...) /usr/local/share Local application data that can be shared among different architectures of the same OS.
The main point here is the data not being read-only. Also, the examples of data that is expected to reside there.
How To Reproduce
N/A
Expected behavior
/etc might be a good candidate to host the files, but as some of them are created and updated by the running application, perhaps /var/lib may be a better location for them. Again hier(7):
/var/lib Variable state information for programs.
Examples of similar uses of that are /var/lib/containers/storage/ and /var/lib/libvirt/dnsmasq
* Updated rootful namespace home to var lib
* Only rootful namespace home has been updated to /var/lib
* Rootless remain as is assuming that XDG_DATA_HOME seems to be appropriate
(see: https://specifications.freedesktop.org/basedir-spec/latest/)
Fixes#1689
* Fixed namespace home path on bootstrap documentation
Describe the bug
SKUPPER_HOME
, which houses non-static configuration and other non-static content, is rooted on/usr/local/share/skupper/namespaces/
for the root user.That location may not be adequate given the characteristics of the files that reside there.
According to
hier(7)
:The main point here is the data not being read-only. Also, the examples of data that is expected to reside there.
How To Reproduce
N/A
Expected behavior
/etc
might be a good candidate to host the files, but as some of them are created and updated by the running application, perhaps/var/lib
may be a better location for them. Againhier(7)
:Examples of similar uses of that are
/var/lib/containers/storage/
and/var/lib/libvirt/dnsmasq
Environment details
N/A
Additional context
See discussion on refdog for start of conversation: skupperproject/refdog#3
The text was updated successfully, but these errors were encountered: