From: Demi Marie Obenour <demiobenour@gmail.com>
To: Alyssa Ross <hi@alyssa.is>, devel@spectrum-os.org
Subject: Re: [PATCH 1/3] img/app: move init to /usr/bin
Date: Mon, 17 Nov 2025 17:07:12 -0500 [thread overview]
Message-ID: <7cf26179-9dad-48c3-9338-ce8161a2bae3@gmail.com> (raw)
In-Reply-To: <20251113111038.39098-1-hi@alyssa.is>
[-- Attachment #1.1.1: Type: text/plain, Size: 1725 bytes --]
On 11/13/25 06:10, Alyssa Ross wrote:
> /sbin/init (which for us is /usr/bin/init via the /sbin symlink) is
> the highest precedence path for init in the kernel. If we keep our
> init at /etc/init, installing a package (like systemd) that provides
> its own init will quietly take precedence over our own. Let's claim
> this path for ourselves, so adding init from a package will fail
> loudly.
>
> Signed-off-by: Alyssa Ross <hi@alyssa.is>
> ---
> img/app/file-list.mk | 4 ++--
> img/app/image/{etc => usr/bin}/init | 0
> 2 files changed, 2 insertions(+), 2 deletions(-)
> rename img/app/image/{etc => usr/bin}/init (100%)
>
> diff --git a/img/app/file-list.mk b/img/app/file-list.mk
> index 506ab7a..0b4d3d1 100644
> --- a/img/app/file-list.mk
> +++ b/img/app/file-list.mk
> @@ -4,7 +4,6 @@
> FILES = \
> image/etc/dbus-1/session.conf \
> image/etc/fstab \
> - image/etc/init \
> image/etc/mdev.conf \
> image/etc/mdev/iface \
> image/etc/mdev/listen \
> @@ -26,7 +25,8 @@ FILES = \
> image/etc/s6-linux-init/scripts/rc.shutdown \
> image/etc/s6-linux-init/scripts/rc.shutdown.final \
> image/etc/wireplumber/wireplumber.conf.d/99_spectrum.conf \
> - image/etc/xdg/xdg-desktop-portal/portals.conf
> + image/etc/xdg/xdg-desktop-portal/portals.conf \
> + image/usr/bin/init
>
> LINKS = \
> image/bin \
> diff --git a/img/app/image/etc/init b/img/app/image/usr/bin/init
> similarity index 100%
> rename from img/app/image/etc/init
> rename to img/app/image/usr/bin/init
>
> base-commit: 651da813154329e8398a23dbaabdeef633c1f2a6
Reviewed-by: Demi Marie Obenour <demiobenour@gmail.com>
--
Sincerely,
Demi Marie Obenour (she/her/hers)
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-11-17 22:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-13 11:10 [PATCH 1/3] img/app: move init to /usr/bin Alyssa Ross
2025-11-13 11:10 ` [PATCH 2/3] img/app: dbus: don't listen on VSOCK Alyssa Ross
2025-11-13 17:46 ` Demi Marie Obenour
2025-11-13 17:56 ` Alyssa Ross
2025-11-13 19:32 ` Demi Marie Obenour
2025-11-14 11:45 ` Alyssa Ross
2025-11-14 22:15 ` Demi Marie Obenour
2025-11-17 22:08 ` Demi Marie Obenour
2025-11-17 22:19 ` Demi Marie Obenour
2025-11-18 15:03 ` Alyssa Ross
2025-11-13 11:10 ` [PATCH 3/3] pkgs: remove dbus overlay Alyssa Ross
2025-11-17 22:13 ` Demi Marie Obenour
2025-11-18 15:03 ` Alyssa Ross
2025-11-17 22:07 ` Demi Marie Obenour [this message]
2025-11-18 15:03 ` [PATCH 1/3] img/app: move init to /usr/bin Alyssa Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7cf26179-9dad-48c3-9338-ce8161a2bae3@gmail.com \
--to=demiobenour@gmail.com \
--cc=devel@spectrum-os.org \
--cc=hi@alyssa.is \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).