Add rtkit-daemon trick

This commit is contained in:
Rodolphe Bréard 2024-12-31 18:13:57 +01:00
parent 7807204a07
commit 155cb46dc0
Signed by: rodolphe
SSH key fingerprint: SHA256:3rodCKnk1MUOfSlIKY0nHbBtvFyQx4EqjS+JIy69lN0

View file

@ -75,3 +75,28 @@ LC_PAPER=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
EOF
```
## rtkit-daemon
Par défaut, [rtkit-daemon][rtkit] a tendance à inonder les journaux systèmes de notifications peu intéressantes :
```
déc. 31 14:16:56 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
déc. 31 14:16:56 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
déc. 31 14:17:00 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
déc. 31 14:17:00 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
```
La solution est de lui fixer un niveau de journalisation plus adapté :
```
sudo mkdir "/etc/systemd/system/rtkit-daemon.service.d"
echo "[Service]\nLogLevelMax=4" | sudo tee /etc/systemd/system/rtkit-daemon.service.d/log.conf >/dev/null
sudo systemctl daemon-reload
sudo systemctl restart rtkit-daemon.service
```
Ainsi, `journalctl -f` n'est plus surchargé.
[rtkit]: https://archlinux.org/packages/extra/x86_64/rtkit/