After a successful real container update, Bash could not find finaltoken-update. Version 1.2.1 registered the command in /usr/local/sbin, which entered container shells may omit. Register it in /usr/local/bin and print the actual absolute command path after updating. Existing valid sbin links are retained, and the registration still refuses to overwrite operator-owned files.
Version 1.2.2 includes a no-rebuild alias repair and absolute-path fallback in the deployment guide. No application, provider, proxy or history behavior changes.
Decisions
D14's in-container update flow is unchanged; this fixes command discovery. No new dependencies.
How it was tested
First added test_updater_is_discoverable_without_sbin_in_shell_path: real Bash command discovery/execution with a PATH containing only the fixture's normal bin directory. It failed before the path change (exit 1), then passed after the fix.
The Windows lookup test substitutes only symlink creation with a copied executable fixture; Bash performs real discovery/execution. No live CT was accessed by this change. The user's report confirms Linux native publishing and legacy proxy disable in 1.2.1; their exact PATH and full external proxy/provider behavior have not been observed.
Closes #23
## What and why
After a successful real container update, Bash could not find `finaltoken-update`. Version 1.2.1 registered the command in `/usr/local/sbin`, which entered container shells may omit. Register it in `/usr/local/bin` and print the actual absolute command path after updating. Existing valid sbin links are retained, and the registration still refuses to overwrite operator-owned files.
Version 1.2.2 includes a no-rebuild alias repair and absolute-path fallback in the deployment guide. No application, provider, proxy or history behavior changes.
## Decisions
D14's in-container update flow is unchanged; this fixes command discovery. No new dependencies.
## How it was tested
- First added `test_updater_is_discoverable_without_sbin_in_shell_path`: real Bash command discovery/execution with a PATH containing only the fixture's normal bin directory. It failed before the path change (exit 1), then passed after the fix.
- `python -B tools/proxmox/test_installer.py`: 36 passed.
- `python -B tools/proxmox/test_update.py`: 7 passed.
- `dotnet build FinalToken.slnx -c Release`: 0 warnings/errors.
- `python -B tools/docs/check_docs.py`: 0 errors; `git diff --check` passed.
The Windows lookup test substitutes only symlink creation with a copied executable fixture; Bash performs real discovery/execution. No live CT was accessed by this change. The user's report confirms Linux native publishing and legacy proxy disable in 1.2.1; their exact PATH and full external proxy/provider behavior have not been observed.
Install the container updater under /usr/local/bin so shells without sbin can discover it. Print the absolute installed path as a fallback for custom environments and retain existing managed links. Reproduce command discovery through a real Bash lookup before fixing registration.
Refs #23
tools/proxmox/test_installer.py:302: The shell lookup regression covers fresh registration. Consider extending it on Linux to call registration twice and retain a pre-existing managed sbin link, explicitly covering the repeat/migration guarantees in #23. The unchanged registration implementation handles these cases by inspection; this is a coverage suggestion.
Checked
Reviewed commit afa6d83f2a in a separate detached worktree. Read PR #24, linked issue #23 and its comments, the complete diff against origin/master, root and tools/proxmox AGENTS.md, project mind, R8 and D1/D2/D5/D14, deployment documentation, updater/provisioner and affected tests. There were no earlier PR comments or reviews.
Verification ran on Windows. The Bash lookup test uses the documented executable-copy substitution for Windows symlink creation. No live Linux/LXC installation, package changes, services, provider login or NativeAOT publish were exercised. No repository code was changed.
**Agent review: pass** on afa6d83f2ae2a7e543d420be5debc2a4943e55ca
## Blocking
None. Verdict: pass.
## Notes
- `tools/proxmox/test_installer.py:302`: The shell lookup regression covers fresh registration. Consider extending it on Linux to call registration twice and retain a pre-existing managed sbin link, explicitly covering the repeat/migration guarantees in #23. The unchanged registration implementation handles these cases by inspection; this is a coverage suggestion.
## Checked
Reviewed commit afa6d83f2ae2a7e543d420be5debc2a4943e55ca in a separate detached worktree. Read PR #24, linked issue #23 and its comments, the complete diff against origin/master, root and tools/proxmox AGENTS.md, project mind, R8 and D1/D2/D5/D14, deployment documentation, updater/provisioner and affected tests. There were no earlier PR comments or reviews.
- `dotnet build FinalToken.slnx -c Release`: passed, 0 warnings and 0 errors.
- `python -B tools/proxmox/test_installer.py`: 36 tests passed.
- `python -B tools/proxmox/test_update.py`: 7 tests passed.
- `python -B tools/docs/check_docs.py`: 0 errors.
- `git diff --check`: passed.
Verification ran on Windows. The Bash lookup test uses the documented executable-copy substitution for Windows symlink creation. No live Linux/LXC installation, package changes, services, provider login or NativeAOT publish were exercised. No repository code was changed.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #23
What and why
After a successful real container update, Bash could not find
finaltoken-update. Version 1.2.1 registered the command in/usr/local/sbin, which entered container shells may omit. Register it in/usr/local/binand print the actual absolute command path after updating. Existing valid sbin links are retained, and the registration still refuses to overwrite operator-owned files.Version 1.2.2 includes a no-rebuild alias repair and absolute-path fallback in the deployment guide. No application, provider, proxy or history behavior changes.
Decisions
D14's in-container update flow is unchanged; this fixes command discovery. No new dependencies.
How it was tested
test_updater_is_discoverable_without_sbin_in_shell_path: real Bash command discovery/execution with a PATH containing only the fixture's normal bin directory. It failed before the path change (exit 1), then passed after the fix.python -B tools/proxmox/test_installer.py: 36 passed.python -B tools/proxmox/test_update.py: 7 passed.dotnet build FinalToken.slnx -c Release: 0 warnings/errors.python -B tools/docs/check_docs.py: 0 errors;git diff --checkpassed.The Windows lookup test substitutes only symlink creation with a copied executable fixture; Bash performs real discovery/execution. No live CT was accessed by this change. The user's report confirms Linux native publishing and legacy proxy disable in 1.2.1; their exact PATH and full external proxy/provider behavior have not been observed.
Agent review: pass on
afa6d83f2a## Blocking
None. Verdict: pass.
Notes
tools/proxmox/test_installer.py:302: The shell lookup regression covers fresh registration. Consider extending it on Linux to call registration twice and retain a pre-existing managed sbin link, explicitly covering the repeat/migration guarantees in #23. The unchanged registration implementation handles these cases by inspection; this is a coverage suggestion.Checked
Reviewed commit
afa6d83f2ain a separate detached worktree. Read PR #24, linked issue #23 and its comments, the complete diff against origin/master, root and tools/proxmox AGENTS.md, project mind, R8 and D1/D2/D5/D14, deployment documentation, updater/provisioner and affected tests. There were no earlier PR comments or reviews.dotnet build FinalToken.slnx -c Release: passed, 0 warnings and 0 errors.python -B tools/proxmox/test_installer.py: 36 tests passed.python -B tools/proxmox/test_update.py: 7 tests passed.python -B tools/docs/check_docs.py: 0 errors.git diff --check: passed.Verification ran on Windows. The Bash lookup test uses the documented executable-copy substitution for Windows symlink creation. No live Linux/LXC installation, package changes, services, provider login or NativeAOT publish were exercised. No repository code was changed.