Skip to content

fix(systemd): stop vstimd.service self-SIGHUP and startup timeout - #64

Merged
joschaschmiedt merged 1 commit into
mainfrom
fixing-jetson-startup
Jul 6, 2026
Merged

fix(systemd): stop vstimd.service self-SIGHUP and startup timeout#64
joschaschmiedt merged 1 commit into
mainfrom
fixing-jetson-startup

Conversation

@joschaschmiedt

Copy link
Copy Markdown
Contributor

TTYVHangup=yes was killing vstimd on every start: systemd opens TTYPath as vstimd's own controlling terminal before performing the vhangup(), so the hangup lands on vstimd itself (immediate SIGHUP, Result: protocol).

Dropping TTYVHangup alone just traded that for a startup timeout, since logind's default NAutoVTs=6 auto-spawns getty@tty3 and it holds the tty open, blocking vstimd from acquiring it. Add Conflicts=/After=getty@tty3.service so starting vstimd stops the getty first via a normal SIGTERM.

TTYVHangup=yes was killing vstimd on every start: systemd opens
TTYPath as vstimd's own controlling terminal before performing the
vhangup(), so the hangup lands on vstimd itself (immediate SIGHUP,
Result: protocol).

Dropping TTYVHangup alone just traded that for a startup timeout,
since logind's default NAutoVTs=6 auto-spawns getty@tty3 and it holds
the tty open, blocking vstimd from acquiring it. Add
Conflicts=/After=getty@tty3.service so starting vstimd stops the getty
first via a normal SIGTERM.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@joschaschmiedt
joschaschmiedt merged commit 237904d into main Jul 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant