Article View: linux.debian.bugs.dist
Article #6503Bug#1138618: seedfiles: add init scripts for boot/shutdown setup and clean
From: 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
Technical Details
Message-ID:
<O4fTk-eAaK-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<N18dP-9uiH-3@gated-at.bofh.it> <N1hAu-9AAY-9@gated-at.bofh.it> <N18dP-9uiH-3@gated-at.bofh.it> <N4e3n-bDHY-3@gated-at.bofh.it> <N54Y1-cdX7-1@gated-at.bofh.it> <N5tD3-cvVy-9@gated-at.bofh.it> <NkPLj-6VI8-5@gated-at.bofh.it> <N18dP-9uiH-3@gated-at.bofh.it> <NkPLj-6VI8-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Matthias Geiger <werdahias@riseup.net> Newsgroups: linux.debian.bugs.dist Subject: Bug#1138618: seedfiles: add init scripts for boot/shutdown setup and clean Date: Sat, 28 Nov 2026 03:00:02 +0100 Message-ID: <O4fTk-eAaK-1@gated-at.bofh.it> References: <N18dP-9uiH-3@gated-at.bofh.it> <N1hAu-9AAY-9@gated-at.bofh.it> <N18dP-9uiH-3@gated-at.bofh.it> <N4e3n-bDHY-3@gated-at.bofh.it> <N54Y1-cdX7-1@gated-at.bofh.it> <N5tD3-cvVy-9@gated-at.bofh.it> <NkPLj-6VI8-5@gated-at.bofh.it> <N18dP-9uiH-3@gated-at.bofh.it> <NkPLj-6VI8-5@gated-at.bofh.it> X-Original-To: 1138618@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Nov 28 01:53:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Matthias Geiger <werdahias@riseup.net>, 1138618@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: werdahias@debian.org X-Debian-Pr-Message: followup 1138618 X-Debian-Pr-Package: seedfiles X-Debian-Pr-Keywords: patch upstream X-Debian-Pr-Source: seedfiles X-Riseup-User-ID: 3A33D81E8F5955B13BFDF00584910CE7118A2E2D05D17D962F606102DBCFF97A MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8"; format=flowed X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005501 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 51 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Mark Hindley <mark@hindley.org.uk>, Lorenzo <plorenzo@disroot.org>, Andrew Bower <andrew@bower.uk> X-Original-Date: Sat, 28 Nov 2026 02:41:05 +0100 X-Original-Message-ID: <tp6vn5.15xkkjq0yugnp@riseup.net> X-Original-References: <178030987428.21889.10933584859887501806.reportbug@lorenz.fritz.box> <tfyzhl.zf7jthqmc0em@riseup.net> <178030987428.21889.10933584859887501806.reportbug@lorenz.fritz.box> <20260610012712.43de64f7@lorenz.fritz.box> <aiu7Lsvfkn8rpfTW@cook.ab8.net> <ai0sv5sVREvm74Gh@shenstone.ab8.net> <tiqv3e.1h13mxcph74g1@riseup.net> <178030987428.21889.10933584859887501806.reportbug@lorenz.fritz.box> <tiqv3e.1h13mxcph74g1@riseup.net>