Bug#1138618: seedfiles: add init scripts for boot/shutdown setup and clean
Lorenzo
plorenzo at disroot.org
Wed Jun 10 00:27:12 BST 2026
Hi all,
I'm attaching an updated version of the patches where
stop actions are turned into no-op
On Mon, 01 Jun 2026 22:21:24 +0200
Matthias Geiger <werdahias at riseup.net> wrote:
> Control: tag -1 upstream
> I would suggest that you reach out to upstream; they have been very
> helpful in getting bugs fixed, and also state that they will merge
> any needed tmpfiles config.
> seedfiles is also still very new, so the issue with --clean in /run
> should best also be discussed upstream.
I've checked all tmpfiles.conf in my system and I think seedfiles does
the right thing (given the tmpfiles.d format) so I don't know what to
report upstream.
My issues was more with tmpfiles.conf files shipped in Debian by
several packages and the idea was that we can slightly change the way
systemd-tmpfiles/seedfiles is called at boot to adjust the behavior
according to our preferences; IMHO this is a Debian discussion, not
an upstream one.
> Once those questions are
> resolved I am happy to include an init script.
By CC'ing the list I was hoping to hear opinions from Openrc and
Sysvinit Maintainers, I think the following questions are open:
1. do we want to add a common boot script (will work for Sysvinit,
Openrc and runit) to seedfiles/standalone-tmpfiles or we prefer to
delegate this to each init package?
2. if 1=yes, do we agree on the set of options to use? for example,
exclude /dev ?
maybe exclude /run and /tmp from cleanup could be a thing?
If there is not agreement on 2. it's better to not ship the script in
seedfiles and delegate to each init package.
My preference as runit maintainer is:
- exclude /dev from files creation (delegate to each init);
- I don't like the flood on /run, but I can live with it;
- I don't see the use of cleaning in /run, it's a tmpfs here, but
maybe I'm missing something
- I suspect users can be surprised and very unhappy of
time-based (ie older that 10d or 20d) clean up in /tmp and I'm not
sure what to do with /tmp
If there is no interest in discussing this right now I suggest to either
won't fix it or leave it open until some service will start to fail due
to missing call of tmpfiles at boot, and restart the discussion then.
Best,
Lorenzo
>
> best,
>
> werdahias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-scripts-for-boot-clean-and-setup.patch
Type: text/x-patch
Size: 4745 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20260610/9679c608/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lintian-override-missing-systemd-service.patch
Type: text/x-patch
Size: 853 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20260610/9679c608/attachment-0001.bin>
More information about the Debian-init-diversity
mailing list