Repository navigation
H4 and H5 for hideOS: hardware watchdog, user managers, a shutdown that cannot hang - #25
Merged
Merged
Conversation
…tdown that cannot hang - oxinit-watchdog: feeds /dev/watchdog from the loop, a boot deadline on a confirming unit, let go last on the way down. - oxinit --user: the same supervisor run as a person, with its own sockets, units and logs; oxctl --user, oxlogd --user. - A stray --version on the kernel command line no longer returns from PID 1. - Shutdown: a daemon that left its cgroup (elogind) is signalled and killed directly, its exit ends the stop, and the whole-shutdown deadline wakes the loop instead of waiting for an event that never comes. - Timers no longer fire once the machine is going down.
youhide
added a commit
to youhide/hideOS
that referenced
this pull request
Oct 4, 2026
…s iris; the desktop finished - oxinit at youhide/oxinit#25: it feeds the hardware watchdog until boot-ok, and the session's PipeWire, WirePlumber and pipewire-pulse are units of its `oxinit --user`; a Workstation that powers off with a session up. - The update applet in the panel ("Restart to update"); Settings → Updates updates from the channel, which hideupd reports. - Mesa builds iris: the SPIR-V tools and the LLVM translator. The kernel's build tree in /usr/src, out of images; its modules indexed where kmod looks. - The desktop's missing pieces: Compose tables, the sound theme, pw-play with libsndfile, RealtimeKit; the greeter in Dracula; zsh without its new-user wizard; hide shell without a time zone. - Builds under GCC 16: libsndfile in C17, shadow's nscd stub, Go's TMPDIR; SOURCE_DATE_EPOCH from unpacked files only. - hide secureboot enroll writes through efivarfs made writable. - Tests: desktop-test logs in reliably, checks an application, hide shell and the power-off; cargo xtask desktop-shell; hw-test, update-test fixes.
…lice another process's output into it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What hideOS needs from oxinit for its H4 and H5 milestones.
oxinit-watchdogfeeds/dev/watchdogfrom the loop, with a boot deadline on a confirming unit; let go last on the way down.cargo xtask test-watchdogcovers the fed and the overdue cases.oxinit --user, the same supervisor run as a person — its own sockets in$XDG_RUNTIME_DIR/oxinit, units fromuser-units, logs throughoxlogd --user,oxctl --user.--versionon the kernel command line no longer makes PID 1 return frommain.Decisions taken, open to review:
exit()in the crate, for a user manager whose loop broke (CLAUDE.md amended).boot-unitthat does not exist still enforces the deadline (fail-safe).test-watchdogis not in CI: it needs docker and thelinux-virtpackage.Verified:
test-bootx86_64 46/46 (three runs), aarch64 46/46,test-distro48/48,container10/10,test-watchdog9/9; fmt and clippy-D warningsclean on x86_64-musl and aarch64-musl.