6afa2efa8b
Per-entry assessment (file was never deleted — no D commits in history;
continuously present, last touched Jul 16 by d5561184f0 which fixed
00_base.service zsh->mkdir and unblocked boot):
- KEEP 00_base.service (mkdir /tmp): base provides no 00_base.service;
the Jul-16 fix is the sole source and is required.
- REMOVE 20_audiod.service: redundant with base's identical oneshot_async.
- REMOVE zsh = {}: redundant with minimal.toml.
- REMOVE 00_pcid-spawner.service (type=oneshot): HARMFUL — the blocking
oneshot overrode the base recipe's fixed oneshot_async pcid-spawner,
re-introducing the boot-wedge the base recipe explicitly fixed. Base's
oneshot_async now wins (config /etc/init.d no longer shadows it).
Resolves the pcid-spawner service conflict (task T-7fdcd5e5).
34 lines
1.3 KiB
TOML
34 lines
1.3 KiB
TOML
# Red Bear OS overrides for base init services.
|
|
#
|
|
# 00_base.service: stripped base setup (tmpdir only). The base recipe provides
|
|
# no 00_base.service, so this override is the sole source. It MUST NOT use zsh:
|
|
# a full interactive shell startup hangs an init oneshot here (before the login
|
|
# stack even starts), whereas a simple dynamically-linked /usr binary like
|
|
# mkdir/echo completes cleanly after switchroot. See the
|
|
# usr-dynamic-service-spawn-hang investigation — the hang was zsh-specific,
|
|
# not a general /usr spawn failure.
|
|
#
|
|
# Removed 2026-07-19 (consolidation):
|
|
# - 20_audiod.service: redundant — base recipe's own 20_audiod.service is
|
|
# already identical (oneshot_async).
|
|
# - zsh = {}: redundant — already provided by minimal.toml.
|
|
# - 00_pcid-spawner.service (type = "oneshot"): HARMFUL — this blocking
|
|
# oneshot overrode the base recipe's fixed oneshot_async pcid-spawner,
|
|
# re-introducing the boot-wedge the base recipe's comment explicitly warns
|
|
# against ("a single slow/hanging driver wedges the whole boot right here").
|
|
# The base recipe's oneshot_async version is the correct one and now wins.
|
|
|
|
[packages]
|
|
|
|
[[files]]
|
|
path = "/etc/init.d/00_base.service"
|
|
data = """
|
|
[unit]
|
|
description = "Base environment setup (tmpdir)"
|
|
|
|
[service]
|
|
cmd = "mkdir"
|
|
args = ["-p", "-m", "a=rwxt", "/tmp"]
|
|
type = "oneshot"
|
|
"""
|