Commit Graph
7 Commits
Author SHA1 Message Date
Mike Yuan 41e675996d mute-console: io.systemd.MuteConsole requires 'more' 2026-02-16 09:44:54 +01:00
Mike Yuan 01c6565548 mute-console: don't unmute twice when not running as varlink service
This also avoids the spurious "not restoring" logs if we fail
to dispatch varlink call.
2025-10-07 13:38:21 +02:00
Mike Yuan 39305cf974 mute-console: if muting is disabled, suppress "not restoring" messages 2025-10-07 13:38:21 +02:00
Mike Yuan a5592a2e00 mute-console: honor Context rather than arg_* 2025-10-07 13:38:21 +02:00
Mike Yuan 5f7e04dd35 mute-console: fix typo 2025-10-07 13:38:21 +02:00
Antonio Alvarez Feijoo 13abd21c9f mute-console: remove unimplemented option
```
$ build/systemd-mute-console -q
Code should not be reached at src/mute-console/mute-console.c:103, function parse_argv(). Aborting. 💥
Aborted (core dumped)
```
2025-10-06 16:11:39 +02:00
Lennart Poettering ac63a04bd6 mute-console: add simple varlink service that can disable log/status spew to kernel console
For "wizard" style interactive tools it's very annoying if they are
interrupted by kernel log output or PID1's status output. let's add some
infra to disable this temporarily. I decided to implement this as an IPC
service so that we can make this robust: if the client request the
muting dies we can automatically unmute again.

This is hence a tiny varlink service, but it can also be started
directly from the cmdline.
2025-09-26 09:42:13 +02:00