On Tuesday 14 January 2025 11:28:21 Greenwich Mean Time Peter Humphrey wrote: > Greetings, > > How can I prevent portage from auto-updating /etc/init.d/boinc? > > I run BOINC on my machines, and /etc/init.d/boinc includes far too long a > timeout on start-stop-daemon when stopping the program. The minimum time it > will wait is 60s, which is a long time when you're waiting. On this machine > I set 4, 2 and 1 seconds because I run only one BOINC project, to keep the > heat down. My big machine runs 18 projects or more, and even there 60 > seconds is way over the top (I can see the project's activity in gkrellm). > > Anyway, what matter if a project is terminated abruptly and has to be > restarted? It wouldn't be the end of the world.
I am not familiar with the BOINC application. Is the program taking a long time to stop because it is completing whatever calculation it was processing and then have to store/upload the result and its current status before it shuts down? If not, then I agree 60 seconds is a long time to wait. > I've tried adding the file to CONFIG_PROTECT in make.conf, to no avail. Any > other ideas before I submit a bug report against sci-misc/boinc? The existing CONFIG_PROTECT in /usr/share/portage/config/make.globals ought to protect unwanted changes. Have you inadvertently set CONFIG_PROTECT_MASK somewhere? You can check what portage is configured to do with: portageq envvar CONFIG_PROTECT
signature.asc
Description: This is a digitally signed message part.