Commit 795cfbc
committed
logging: fix FSS journal rotation after key setup
Per systemd documentation, journalctl --rotate is required after
--setup-keys to create a new journal file that uses the FSS keys.
Without rotation, entries in the existing journal remain unsealed.
Changes:
- Add journalctl --rotate after FSS key generation
- Update test script to use verification key for sealed journals
- Simplify service dependencies (no socket ordering needed)
Signed-off-by: Julius Koskela <julius.koskela@unikie.com>1 parent 86f7c16 commit 795cfbc
File tree
2 files changed
+37
-10
lines changed- modules/common/logging
- tests/logging/test_scripts
2 files changed
+37
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
160 | 169 | | |
161 | 170 | | |
162 | 171 | | |
| |||
414 | 423 | | |
415 | 424 | | |
416 | 425 | | |
| 426 | + | |
417 | 427 | | |
418 | 428 | | |
419 | 429 | | |
420 | 430 | | |
421 | | - | |
422 | | - | |
423 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
424 | 434 | | |
425 | 435 | | |
426 | | - | |
427 | | - | |
428 | 436 | | |
429 | 437 | | |
430 | | - | |
431 | | - | |
432 | 438 | | |
433 | 439 | | |
434 | 440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
144 | 165 | | |
145 | 166 | | |
146 | 167 | | |
147 | | - | |
| 168 | + | |
148 | 169 | | |
149 | 170 | | |
150 | 171 | | |
| |||
174 | 195 | | |
175 | 196 | | |
176 | 197 | | |
177 | | - | |
| 198 | + | |
178 | 199 | | |
179 | 200 | | |
180 | 201 | | |
| |||
0 commit comments