Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Matthias Geiger
Sat, 28 Nov 2026 02:00
Bug#1138618: seedfiles: add init scripts for boot/shutdown setup and clean
Author: Matthias Geiger
Date: Sat, 28 Nov 2026 02:00
Date: Sat, 28 Nov 2026 02:00
51 lines
3756 bytes
3756 bytes
On Sat, 25 Jul 2026 20:49:33 +0200 Matthias Geiger <werdahias@riseup.net> wrote:
> On Sat, 13 Jun 2026 11:11:11 +0100 Andrew Bower <andrew@bower.uk> wrote:
> > A quick update to close on my (rejected) foray into an equivalent
> > solution for systemd-standalone-tmpfiles (#1139903):
> >
> >
> > The answer is, just specify a value for DAEMON= as long as stop, start
> > and status are all overriden (or defined by the TYPE=oneshot
> > implementation) then it will do the right thing.
> >
> >
> > I decided this probably wasn't needed because runlevels 2-5 are already
> > sequenced after this and the scripts in runlevel S tend not to rely on
> > tmpfiles so it seemed over the top.
> >
> >
Hi,
revisiting this. Mark, does Andrews proposal sound sane? I'm way too
familiar with openrc now (; Related, would it make sense to have a
simliar openrc service? Create the temporary files on start, and remove
them on shutdown.
Something like:
======
#!/sbin/openrc-run
name="sytemd-tmpfiles-setup"
description="create system files and directories"
command="/usr/bin/systemd-tmpfiles"
depend()
{
need udev
}
start()
{
/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
}
--
Matthias Geiger <werdahias>
Debian Developer -- KiCad Contributor
GPG: ECBEDBB607B9B2BE
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads