Closed subfuzion closed 7 years ago
it used to be the case with our earlier experiments on InfraKit, but I think we got rid of all those ~/.config/ folders (it now runs in a container, with a data volume mounted on /infrakit). Did you notice it recently?
It could be a left over artifact, but nevertheless, my main point is to ensure we clean up anything that is creating/storing any data under home that isn't based on the user's personal CLI preferences.
The directory was created for ~/.config/infrakit/certs
two and a half weeks ago. It's good that we're no longer doing that for infrakit. We need to update amplfier and ensure everyone is aware going forward.
I see, it may still happen for this particular folder, we don't need it anymore so I'll remove that code.
Fixed by #1175
Various services are storing configuration settings in the user's home directory under ~/.config, creating root-owned directories (including ~/.config itself if it didn't already exist). These subdirectories include
amp
andinfrakit
and files likeamplifier.yml
.We should stick to appropriate FHS conventions as much as possible. For example, we should consider storing static application files in
/opt/amp
and variable data in/var/opt/amp
.