New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is mlocate useful for toolbox? #391
Comments
I am not using it and would be happy if you dropped it. |
Until now I didn't know such tool even existed :) |
Oh it's useful on Workstation at least. |
On Silverblue, |
The problem is that we expect many CLI users, such as developers, to live inside a toolbox container. If so, the lack of
We also have the problem that the database doesn't get automatically created. I think we can solve this by having Note that |
I was playing with this a bit today.
How do the sizes of In my case on a Fedora Workstation system, they were 101M and 100M respectively. Silverblue doesn't have a working Strangely enough, having |
... by running updatedb(8) at 24 hour intervals. containers#391
... by running updatedb(8) on start-up and then at 24 hour intervals from there on. This isn't as nice as using a systemd.timer(5) because the current timer goes away when the toolbox container is stopped and is rearmed when it's started. Therefore, repeatedly restarting a container will also run updatedb(8) again and again. Fortunately, this isn't so bad with updatedb(5) implementations that are able to incrementally update the database [1], which is what Fedora uses. The 24 hour interval was chosen based on the systemd.timer(5) settings used by Fedora's mlocate RPM. [1] https://pagure.io/mlocate containers#391
... by running updatedb(8) on start-up and then at 24 hour intervals from there on. This isn't as nice as using a systemd.timer(5) because the current timer goes away when the toolbox container is stopped and is rearmed when it's started. Therefore, repeatedly restarting a container will also run updatedb(8) again and again. Fortunately, this isn't so bad with updatedb(5) implementations that are able to incrementally update the database [1], which is what Fedora uses. The 24 hour interval was chosen based on the systemd.timer(5) settings used by Fedora's mlocate RPM. [1] https://pagure.io/mlocate containers#391
I am not sure how well mlocate works in Toolbox.
Recently when I tried it, I ended up with a 340MB database, maybe because of ~/.local/share/containers?
Are people using it or should we drop it from the default fedora-toolbox packages?
The text was updated successfully, but these errors were encountered: