systemd: serve kernel-log, the kernel's messages of one boot (issue 1975)
journalctl --dmesg --boot=N under the same escalation, window, priority, fixed-string match, 2000-line cap and redaction as the journal verb (shapeLines is the one filter both use); a boot is 0 or a negative whole number, refused otherwise before anything runs. No scope: the kernel belongs to no manager. Builds: issue 1975, the operator's request of 2026-11-12 (the lead's handover; no design line names the verb) Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
@@ -274,8 +274,8 @@ func TestAGlobIsRefusedAsAUnitByEveryVerb(t *testing.T) {
|
||||
m.State = t.TempDir()
|
||||
for _, tool := range tools(m) {
|
||||
verb := strings.TrimPrefix(tool.Name, seat+".")
|
||||
if verb == "units" || verb == "failed" {
|
||||
continue // a pattern, and no unit
|
||||
if verb == "units" || verb == "failed" || verb == "kernel-log" {
|
||||
continue // a pattern, or no unit at all
|
||||
}
|
||||
_, err := tool.Run(map[string]any{"unit": "*", "scope": "user", "why": "test"})
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user