-
Notifications
You must be signed in to change notification settings - Fork 408
Description
sparked from #861 and things like containers/podman#16541
In the entrypoint script shared by all containers there are some chown operations that have to occur to make sure files/directories are owned by the right UID/GID. When the user running Malcolm (PUID/PGID in process.env) matches what was there at build time (1000/1000 by default) this isn't too expensive. But when the user is different, it can take a long time, particularly on rotational backing media.
Some of this can't be avoided. However, I think that there are some large directories (large as in numbers of files, not file size) that are being blanket-chowned that we could probably be more targeted on.
zeek-live, logstash, dashboards, and netbox seem to be some of the worst offenders.
We ought to:
- for testing purposes (not committed to GitHub) add timing output to the running of docker-uid-gid-setup.sh
- determine the ones that take the longest (as a non-1000 uid/gid user)
- figure out which directories/subdirectories could be excluded from this, if possible
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackProjects
Status