Interactive SSH shell outside tmux and outside a VS Code terminal now execs
tmux new-session -A -s main; the shell inside tmux re-reads the rc and opens
the dtach-router menu there, so it no longer has to be quit and reopened.
install_rust(): official rustup script as the user (stable, default profile,
--no-modify-path), rustup update on a re-run, rust-analyzer + rust-src added.
libssl-dev (apt) / openssl@3 (brew) for openssl-sys crates. bashrc-linux,
bashrc-osx and zshrc-osx source ~/.cargo/env when present. README, CHANGELOG,
CLAUDE.md, TODO plan.
harden_sshd ended with an unconditional 'systemctl reload ssh'. On WSL (and any
host where sshd was never started) the unit is inactive, systemctl exits with
'ssh.service is not active, cannot reload.' and set -e killed the whole install
right after the drop-in was validated.
- reload only when 'systemctl is-active --quiet ssh'; else say the drop-in is in
place and applies at the next sshd start
- try-reload-or-restart instead of reload: exits 0 if sshd stopped in between
- create /run/sshd before 'sshd -t': on Ubuntu 24.04 the privsep dir only exists
while ssh.service runs, so the validation failed on an inactive host and the
valid drop-in was removed as 'rejected'
ubuntu-desktop-minimal and gnome-remote-desktop were installed unconditionally
in the Linux block. On WSL they are useless (Windows owns the display) and the
desktop's NetworkManager/systemd-resolved rewrite /etc/resolv.conf, which lost
DNS mid-install (fail2ban/whois fetch failed on 'Temporary failure resolving').
- confirm() takes an optional default (y → [Y/n], Enter = yes, no tty = yes)
- is_wsl(): WSL_DISTRO_NAME or 'microsoft' in /proc/version
- offer_desktop(): desktop [Y/n], then RDP [Y/n]; WSL flips both to [y/N]
- README step 11 + table + packages, CHANGELOG Unreleased
docker.service + docker.socket disabled and /var/run/docker.sock removed before
dockerd-rootless-setuptool.sh install, as the docs recommend; skipped when no
rootful unit exists.
docker-ce-rootless-extras joins the Docker package list; offer_docker_rootless
installs uidmap/dbus-user-session/slirp4netns, runs dockerd-rootless-setuptool.sh
install (apt variant: /usr/bin, no PATH export) and enables linger. The rootful
daemon is left alone. bashrc-linux exports DOCKER_HOST only when the user socket
exists. README step 16 + package lists.
gitconfig template: [gitflow] autopush = @AUTOPUSH@ (exact true/false, the
hooks fail closed on anything else) and a fixed core.hooksPath =
~/.claude/githooks (created by `make link` in claude-config, git expands ~).
install.sh: resolve_autopush at the identity step. A true/false already in
~/.gitconfig wins silently, else DOTFILES_GITFLOW_AUTOPUSH (any other value
aborts before a file is touched), else a prompt that re-asks until the
answer is exactly true or false (Enter = true), else true. render_gitconfig
refuses to write when the mode is not a boolean or @AUTOPUSH@ survives.
Fix: deploy_gitconfig received the repo bashrc template, so every install
wrote `name = @USER@` / `email = @EMAIL@`. It now takes the resolved
identity directly. patsub_replacement is turned off so an `&` in a name is
not expanded on bash >= 5.2.