Commit 532cf7c
fix(launcher): broker must never crash on its log write -> OS-control was dead
mios-launcher-daemon did os.makedirs("/var/log/mios-launcher") OUTSIDE the
try/except, but it runs as the operator (uid 992) which cannot create under
root-owned /var/log (the StateDirectory= the comment assumed is gone). So every
dispatch raised "Permission denied: /var/log/mios-launcher" and aborted BEFORE
launching -> open_app/open_url/all OS-control verbs failed even with the socket
present (operator 2026-06-21 "open notepad" then nothing). Per-dispatch log is
now best-effort to an operator-writable dir (/run/mios-launcher/log) and falls
back to DEVNULL on ANY error so the app ALWAYS launches. Live-verified: notepad
opens via the broker after this. install-robustness 2026-06-21.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 600df69 commit 532cf7c
1 file changed
Lines changed: 25 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
182 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
183 | 191 | | |
184 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
185 | 201 | | |
186 | 202 | | |
187 | 203 | | |
188 | | - | |
| 204 | + | |
189 | 205 | | |
190 | 206 | | |
191 | 207 | | |
| |||
0 commit comments