Commit a2845f4
fix(motd): break getty.target ordering cycle + clean dashboard rendering
Three fixes from the latest WSL2 boot log:
1. mios-dashboard-issue.service was creating an ordering cycle:
multi-user.target -> mios-dashboard-issue.service -> getty.target -> multi-user.target
...because getty.target is WantedBy=multi-user.target, and the unit
had `After=multi-user.target` AND `Before=getty.target`. systemd
broke the cycle by deleting getty.target's start job:
"Job getty.target/start deleted to break ordering cycle"
Net effect: NO console getty spawned at boot. Operators got into the
distro via wsl.exe's /init bypass; bare-metal/Hyper-V/QEMU deploys
would have had no login prompt.
Removed `Before=getty.target serial-getty@.service getty@.service`
entirely. The 2-minute OnBootSec timer + getty's Restart=always pick
up the fresh issue.d snippet within minutes of boot anyway.
2. Dashboard double-rendered with the ASCII art bleeding into the
MiOS module column:
:cllllllllccclcllllllllllllcc; MiOS
Self-replication loopcccccccc:.
Caused by fastfetch embedding mios-dashboard.sh --services-only as
a custom command-module inside its side-by-side column layout, then
the wrapper printing the services block again at the bottom.
- Removed the MiOS custom module from fastfetch config; fastfetch
now shows ONLY standard system info.
- mios-dashboard.sh's default mode flow:
header -> fastfetch (system info) -> services block -> loop hint
Each block is full-width, no column collision.
- Renamed print_services -> print_services_block (no loop hint
embedded); --services-only mode prints services_block alone (used
by /etc/issue.d/ and any future embedded contexts).
3. Loop hint no longer prints twice.
Open from this boot, NOT addressed in this commit:
- podman-system-generator failed exit status 1 -- still happening,
all Quadlets render as "missing" in the dashboard. Need the
generator's stderr (`journalctl -u podman-system-generator` or
manual invocation) to identify which .container file has bad
syntax.
- "Failed to connect to system scope bus" at user login despite
dbus-daemon-wsl now showing [OK] Started -- timing or socket-path
drift; needs a separate diagnosis pass.
- "Credential name or glob \"tty.virtual.mios/dashboard/issue.agetty.*\"
not valid" warnings from getty@.service:48-49 -- upstream systemd
259 credential validator complaining about path-shaped names from
the issue.d glob; informational only ("ignoring"), not fatal.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 293da16 commit a2845f4
3 files changed
Lines changed: 29 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | 196 | | |
198 | 197 | | |
199 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
200 | 203 | | |
201 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
202 | 208 | | |
203 | 209 | | |
204 | 210 | | |
205 | 211 | | |
206 | 212 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
229 | 224 | | |
230 | 225 | | |
231 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 39 | + | |
45 | 40 | | |
46 | 41 | | |
0 commit comments