anopa 0.5.0 released
A new version of anopa - init system/service manager built around s6 supervision suite - has been released. Main changes since 0.4.0 are :
tty: Fix when multiple devices are listed as console. Thanks to linsam.
status: Report "Up; Getting ready..." as needed. Longruns that are up (i.e. not (yet) ready) but do support readiness will be announced as such, making it obvious they support readiness and therefore aren't yet in their "final" state.
enable: Add
--alarm-s6
When adding new servicedirs to an active repodir (i.e. its scandir has a running s6-svscan), for new longruns to be properly set/usable we need to "alarm" s6-svscan, so it rescans the scandir.This had to be done manually via
s6-svscanctl -a $REPODIR/.scandir
but can now be done automatically from aa-enable.
start/stop: Fix issues on 32bit systems. Thanks to John O'M.
stage0: Fix stderr not on console upon break
stage4: Open a shell if aa-terminate fails
stage3: Tweak wait-ing post TERM/KILL: After TERM we give processes ~4s to end instead of immediately trying to KILL them; After KILL we only wait up to ~2s, then move on (instead of blocking should there be a process in uninterruptible sleep)
stop: Wait for longruns to be Down & Ready (not just Down)
stop: In stop-all, default timeout becomes a maximum. So any timeout defined in a file timeout in servicedir will be ignored if more than the default (or 0 for infinite).
stage3: Set default/max timeout to 20s
Deprecate aa-command
Remove deprecated aa-mvlog
Bump dependencies to skalibs 2.5.0.0; execline 2.3.0.1 and s6 2.5.0.0
A few other changes & fixes as well, see HISTORY or the git log for more.
Downloads and whatnot
See anopa for longer description & all the links you should need. If you've never used anopa and are wondering about how to go at it, you can check out this example about making an anopa-powered bootable ISO
And of course, as always, new bug reports, suggestions or any other form of constructive criticism is very much welcome.