# 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" """