You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: ocx service install on Linux always suggests loginctl enable-linger, even when linger is already on #6946
After a successful ocx service install on Linux, the CLI always prints For auto-start on boot: loginctl enable-linger $USER, including when loginctl show-user $USER -p Linger already reports Linger=yes. The line comes from src/service/cli.ts (around L339), which checks only process.platform === "linux". It reads as if the service will not start at boot.
Reproduction
On Ubuntu 24.04 with loginctl show-user $USER -p Linger → Linger=yes.
ocx service install.
The output ends with the enable-linger hint.
Expected: print the hint only when linger is off, or say that linger is already enabled.
Version
2.83.0 (Linux deb)
Operating system
Ubuntu 24.04 x86_64
Provider and model
No response
Logs or error output
✅ opencodex service installed and serving on port 10100.
For auto-start on boot: loginctl enable-linger $USER
Screenshots and supporting files
No response
Redacted configuration
No response
Checks
I searched existing issues and documentation.
I removed secrets, tokens, account details, request credentials, and personal data.
Fixed on dev by #6954 (squash 862b8f1). Exact-head CI on 55f665e was green (PR CI and Cross-platform CI lane=all 38147206772); an independent review passed on that head.
Activity
lidge-jun commentedon Oct 11, 2026
Fixed on dev by #6954 (squash 862b8f1). Exact-head CI on 55f665e was green (PR CI and Cross-platform CI lane=all 38147206772); an independent review passed on that head.