genuen-init-select (0.3.37) unstable; urgency=medium

  * configure_66: enable live-config into tree mount (not live). The live
    tree/stub left the oneshot unstarted → empty /var/lib/live/config.

 -- Aitor <aitor@genuen.org>  Mon, 19 Oct 2026 16:20:00 +0200

genuen-init-select (0.3.36) unstable; urgency=medium

  * configure_66: explicitly enable live-config into tree live (after
    dpkg-sync). Empty live tree skipped live-config → no LightDM autologin
    on live images.

 -- Aitor <aitor@genuen.org>  Mon, 19 Oct 2026 12:56:00 +0200

genuen-init-select (0.3.35) unstable; urgency=medium

  * PID1 wrapper: remount / rw before "66 boot". Oneshot status lives under
    /var/lib/66; sanitize_init writes it before mount-rw runs, so a RO root
    fatals on modules and leaves mount-* "already initialized" on retry.

 -- Aitor <aitor@genuen.org>  Sun, 18 Oct 2026 20:45:00 +0200

genuen-init-select (0.3.34) unstable; urgency=medium

  * configure_66: disable seatd when elogind is present. libseat prefers
    seatd over logind if the socket exists; both claiming seat0 breaks
    LightDM (console-only / greeter loop). ubus is unrelated.

 -- Aitor <aitor@genuen.org>  Sun, 18 Oct 2026 13:55:00 +0200

genuen-init-select (0.3.33) unstable; urgency=medium

  * configure_66: reconfigure early mount-rw chain; sync mount/misc-essential
    seeds; run 66-helper dpkg-sync so networking/resolvconf/ubus (and other
    dh-66 services) get enabled after soft-failed ISO configures.

 -- Aitor <aitor@genuen.org>  Sun, 18 Oct 2026 13:15:00 +0200

genuen-init-select (0.3.32) unstable; urgency=medium

  * Rename package from genuen-rc-select to genuen-init-select: 66 is used
    as PID 1, not only as a service manager.
  * Provides/Replaces/Conflicts genuen-rc-select; migrate state under
    /var/lib/genuen-init-select and /etc/default/genuen-init.

 -- Aitor <aitor@genuen.org>  Sat, 17 Oct 2026 20:30:00 +0200

genuen-rc-select (0.3.31) unstable; urgency=medium

  * Drop lib/66-overlays: policy owns mount-rw/halt/reboot; dbus, lightdm
    and vdev own their debian/66 frontends. Select only installs
    66-scandir-gate, syncs policy seeds, and repairs the tree graph.

 -- Aitor <aitor@genuen.org>  Sat, 17 Oct 2026 20:10:00 +0200

genuen-rc-select (0.3.30) unstable; urgency=medium

  * Drop bundled lib/66-seeds; sync tree seeds from 66-policy
    (/usr/share/66/seed) into /etc/66/seed and purge accidental [Main]
    frontend copies. Overlays remain the only Genuen-local 66 frontends.

 -- Aitor <aitor@genuen.org>  Sat, 17 Oct 2026 20:00:00 +0200

genuen-rc-select (0.3.29) unstable; urgency=medium

  * Restore getty.depends=mount,devmanager (cleared graph started
    early-getty-down before mount-procfs; devmanager/logind never ran).
    Ship boot+getty seeds alongside logind/enabled-services/devmanager.

 -- Aitor <aitor@genuen.org>  Wed, 14 Oct 2026 11:50:00 +0200

genuen-rc-select (0.3.28) unstable; urgency=medium

  * vdevd early again with Options=(!log): early listener only needs /run+/dev;
    Depends on mount-rw blocked coldplug/DRM for lightdm. Ship 66-seeds and
    overwrite corrupted /etc/66/seed/devmanager copies that contained a
    service frontend ([Main]) instead of seed keys.

 -- Aitor <aitor@genuen.org>  Wed, 14 Oct 2026 11:10:00 +0200

genuen-rc-select (0.3.27) unstable; urgency=medium

  * vdev-env overlay: drop Depends on live stub (same class of hang as
    lightdm→boot). devmanager tree depends=mount so vdevd starts after
    mount-rw.

 -- Aitor <aitor@genuen.org>  Wed, 14 Oct 2026 10:50:00 +0200

genuen-rc-select (0.3.26) unstable; urgency=medium

  * Tree order: set default.depends=boot,enabled-services,getty; do not set
    enabled-services.requiredby=default (that reverse edge put default into
    enabled-services.depends and inverted start order).

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 15:25:00 +0200

genuen-rc-select (0.3.25) unstable; urgency=medium

  * tree admin: never pass depends= and requiredby= in the same -o string
    (requiredby target was stored in depends). Separate calls for
    enabled-services depends=boot,logind then requiredby=default.

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 15:20:00 +0200

genuen-rc-select (0.3.24) unstable; urgency=medium

  * Fix tree graph via enabled-services Depends=(boot,logind) instead of
    logind requiredby=enabled-services (admin was leaving enabled-services
    in logind.depends with nrequiredby=0). Use noseed + depends=none first.

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 15:10:00 +0200

genuen-rc-select (0.3.23) unstable; urgency=medium

  * tree admin -o depends= APPENDS: reset logind with depends=none and
    requiredby=none before setting depends=boot and requiredby=enabled-services.

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 15:05:00 +0200

genuen-rc-select (0.3.22) unstable; urgency=medium

  * elogind failed "No such file or directory" on system bus: logind tree
    starts before enabled-services, but dbus lived in the latter. Enable
    dbus in logind; add Notify=3 to dbus. 66-policy seed logind depends=boot.

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 14:55:00 +0200

genuen-rc-select (0.3.21) unstable; urgency=medium

  * lightdm overlay: drop Depends on tree stub "boot" (select removes that
    stub, so DM never started after boot.done). Enable lightdm into
    enabled-services. boot.done with no reactor remains informational.

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 12:20:00 +0200

genuen-rc-select (0.3.20) unstable; urgency=medium

  * Boot graph: mount-filesystems/modules no longer Depend on devmanager, so
    vdevd/dbus can wait on mount-rw (neither starts while root is ro).
    vdevd Depends+=(mount-rw); Options=(log) again after rw. Purge stale
    dbus-log/vdevd-log resolves that fatals "unable to read resolve file".

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 10:45:00 +0200

genuen-rc-select (0.3.19) unstable; urgency=medium

  * Overlays for real services (dbus, vdevd, mount-rw, …) also land in
    /etc/66/service (admin); tree stubs stay out of /etc. Drop dbus/vdevd
    before re-enable so stale resolve Depends on *-log cannot fatal parse.

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 10:25:00 +0200

genuen-rc-select (0.3.18) unstable; urgency=medium

  * dbus and vdevd: Options=(!log) — Depends on mount-rw still raced; 66-log
    opened /var/66 while root was ro. Remove leftover dbus-log/vdevd-log.
    postinst re-runs "genuen-rc-select 66" on upgrade so overlays apply
    without a manual select.

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 10:10:00 +0200

genuen-rc-select (0.3.17) unstable; urgency=medium

  * mount-rw: do not put section-like tokens (e.g. Logger in brackets) inside
    Execute comments — 66 parse treats them as sections and fatals
    "build parse store of service: mount-rw".

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 09:45:00 +0200

genuen-rc-select (0.3.16) unstable; urgency=medium

  * Overlays: vdevd Options=(!log) (starts before mount-rw; /var still ro).
    dbus Depends+=(mount-rw) so 66-log can write /var/66/dbus. mount-rw
    prepares /var/66 (SS_LOGGER_SYSDIR); Logger Destination is ignored.

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 09:30:00 +0200

genuen-rc-select (0.3.15) unstable; urgency=medium

  * Disable/remove tree-named empty stub services (not enable them).
    66-scandir-gate: remount /run exec; chmod runs before and after stage2
    notify (livestate appears only after release).

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 01:25:00 +0200

genuen-rc-select (0.3.14) unstable; urgency=medium

  * Overlays: Type=oneshot again (66 has no bundle). 66-scandir-gate chmod
    0755 svc/livestate run before stage2. Remove+reconfigure tree stubs
    so invalid Type=bundle resolves are dropped.

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 01:05:00 +0200

genuen-rc-select (0.3.13) unstable; urgency=medium

  * After overlays: drop /etc/66/service shadows for tree stubs, reconfigure
    bundle stubs, chmod 0755 all oneshot run/finish (svc + livestate) so
    oneshotd does not get Permission denied on setup/boot/live/….

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 00:30:00 +0200

genuen-rc-select (0.3.12) unstable; urgency=medium

  * wait-oneshotd: 66 free does not drop resolves — use 66 remove -P / rm -rf
    on contaminated svc dirs. Temp stub only during purge, then deleted.

 -- Aitor <aitor@genuen.org>  Tue, 13 Oct 2026 00:10:00 +0200

genuen-rc-select (0.3.11) unstable; urgency=medium

  * wait-oneshotd purge: also strip /etc/66/service (overrides /usr/share),
    and free every resolve that still names it so 66 enable does not fatal
    with "unable to find service frontend file of: wait-oneshotd".

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 23:55:00 +0200

genuen-rc-select (0.3.10) unstable; urgency=medium

  * Drop wait-oneshotd entirely (no stub). Local-only history: strip leftover
    Depends, reconfigure consumers, disable/free/remove. Gate remains
    66-scandir-gate.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 23:40:00 +0200

genuen-rc-select (0.3.9) unstable; urgency=medium

  * wait-oneshotd: scan resolve DB for consumers (dbus/vdev/mount-*),
    reconfigure them, disable/free the stub (frontend kept for parse),
    chmod 0755 …/wait-oneshotd/run. Fixes oneshotd "Permission denied"
    on that run and cascading Depends failures.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 23:35:00 +0200

genuen-rc-select (0.3.8) unstable; urgency=medium

  * purge wait-oneshotd: only reconfigure stripped stubs (not every frontend
    under /usr/share/66/service) so "genuen-rc-select 66" does not stall for
    seconds with no progress output.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 23:20:00 +0200

genuen-rc-select (0.3.7) unstable; urgency=medium

  * Keep a no-op wait-oneshotd overlay (do not delete the frontend). Old
    resolve graphs still reference it; deleting it broke 66-policy configure.
    Still strip Depends from other frontends and reconfigure.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 23:05:00 +0200

genuen-rc-select (0.3.6) unstable; urgency=medium

  * After overlays, enable getty tty* + console-fallback. With 66-as-PID1,
    boot.done can succeed while the console looks hung if no agetty was
    enabled (rc.init is not stage2). Pair with 66-policy >= 0.1.10.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 22:55:00 +0200

genuen-rc-select (0.3.5) unstable; urgency=medium

  * purge wait-oneshotd properly: strip it from every frontend Depends,
    reconfigure all services (rewrite resolve), then remove the ghost.
    Fixes 66-policy upgrades failing with
    "unable to find service frontend file of: wait-oneshotd".

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 21:55:00 +0200

genuen-rc-select (0.3.4) unstable; urgency=medium

  * Fix hang after Initialized haveged/ubus-log: 66-log (RunAs=s6log) cannot
    open leftover root-owned /var/log/66/<svc> dirs (mode 700) → no Notify,
    -wU waits forever. Overlay mount-rw + prepare_66_boot now
    chown -R s6log:s6log /var/log/66 after creating the parent.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 21:45:00 +0200

genuen-rc-select (0.3.3) unstable; urgency=medium

  * 66-scandir-gate: also wait for fdholderd/s and eventd/s. Logged
    classics (haveged, ubus, …) hang in -wU when 66-execute cannot reach
    fdholderd for the log pipe — same CATCHLOG=0 race as oneshotd.
    Obarun avoids this with CATCHLOG=1 (stage2 waits on scandir-log).

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 19:35:00 +0200

genuen-rc-select (0.3.2) unstable; urgency=medium

  * Purge leftover wait-oneshotd from the 66 database (disable/free/remove
    + rm resolve); it survived frontend deletion and blocked -wU after the
    scandir gate timed out (Initialized … wait-oneshotd then hang).
  * 66-scandir-gate: if oneshotd has no supervise, start 66-supervise; if
    still no socket, start 66-oneshotd manually so stage2 can proceed.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 14:00:00 +0200

genuen-rc-select (0.3.1) unstable; urgency=medium

  * 66-scandir-gate: do not hardcode fd 5 for the notify fifo (clobbered
    boot's -d fd → EBADF on stage2 release). Use bash {fd} allocation,
    preserve stage2 notify, and log oneshotd dir/run on wait retries.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 13:00:00 +0200

genuen-rc-select (0.3.0) unstable; urgency=medium

  * Fix CATCHLOG=0 oneshotd race at the source: wrap /usr/bin/66-scandir
    so stage2 -d notify waits until /run/66/scandir/0/oneshotd/s exists.
  * Remove wait-oneshotd service gate (was hanging -wU without unlocking
    boot). Restore live to an empty 66-policy bundle.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 12:40:00 +0200

genuen-rc-select (0.2.5) unstable; urgency=medium

  * Drop Flags=earlier from wait-oneshotd (raced oneshotd at scandir
    start under CATCHLOG=0 and blocked -wU with silent Notify).
  * Restore empty Type=bundle stubs for boot/mount/setup/default/
    enabled-services/cryptsetup (match 66-policy).
  * Gate oneshotd only via live→wait-oneshotd; keep console StdOut/Err
    on the gate; devmanager/logind no longer Depend on wait-oneshotd.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 12:15:00 +0200

genuen-rc-select (0.2.4) unstable; urgency=medium

  * Fix wait-oneshotd Notify hang: keep one process on fd 3, fail if
    readiness write fails (previously exit 0 left supervise STARTING
    forever with no console output). Use /usr/libexec/66-svctl.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 11:55:00 +0200

genuen-rc-select (0.2.3) unstable; urgency=medium

  * Harden wait-oneshotd: clear oneshotd/down, poke 66-svctl -U, and
    log progress on the console so boot does not hang forever when
    oneshotd is slow or stuck after CATCHLOG=0 scandir notify.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 11:30:00 +0200

genuen-rc-select (0.2.2) unstable; urgency=medium

  * Add wait-oneshotd earlier gate and Depends from policy stubs so
    oneshot services do not race ahead of 66-oneshotd when CATCHLOG=0
    (symptom: unable to connect to oneshotd/s, then mount/boot cascade).

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 10:40:00 +0200

genuen-rc-select (0.2.1) unstable; urgency=medium

  * On "genuen-rc-select 66", set CATCHLOG=0 in /etc/66/init.conf so
    stage2 does not hang forever waiting for scandir-log's fifo
    (symptom: freeze after "Starts boot logger at: /run/66/log/0").
  * Ensure s6log and /var/log/66 exist when preparing 66-as-PID1.

 -- Aitor <aitor@genuen.org>  Mon, 12 Oct 2026 10:00:00 +0200

genuen-rc-select (0.2.0) unstable; urgency=medium

  * When selecting 66, install 66 boot as PID1 (66-shutdownd) so
    "66 poweroff" works; halt/poweroff/reboot call 66-hpr.
  * When selecting s6-rc, restore s6-linux-init as PID1 and
    s6-linux-init-hpr wrappers.
  * Ship 66 service overlays (devmanager→vdev-coldplug, logind→elogind,
    halt/reboot→66-hpr) applied on "genuen-rc-select 66".
  * status prints MANAGER= and PID1=. Document that rc.init is not
    stage2 under 66-as-PID1.

 -- Aitor <aitor@genuen.org>  Sun, 11 Oct 2026 20:50:00 +0200

genuen-rc-select (0.1.1) unstable; urgency=medium

  * Also copy selected rc scripts into skel and current/scripts so the
    choice takes effect even when s6-linux-init skel is pre-dispatcher.

 -- Aitor <aitor@genuen.org>  Sat, 10 Oct 2026 13:10:00 +0200

genuen-rc-select (0.1.0) unstable; urgency=medium

  * Initial release as genuen-rc-select: alternate s6-rc and 66 under
    shared s6-linux-init (rc = run-commands layer, not PID 1).

 -- Aitor <aitor@genuen.org>  Fri, 09 Oct 2026 19:40:00 +0200
