You are not logged in.

#1 2014-09-06 20:54:06

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Reduce systemd spam to console with netctl service messages?

I use the console to login and for some work. Just recently install Arch on a Chromebook. I am getting lots of systemd log spam to the console, from what appears to be netctl service trying to find wireless. Is there any way to reduce the log level output to the console?

Any help appreciated.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#2 2014-09-06 21:30:10

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,505
Website

Re: Reduce systemd spam to console with netctl service messages?

You could try not using netctl.
If you have /etc/wpa_supplicant/wpa_supplicant.conf set up correctly, dhcpcd.service runs a hook (/usr/lib/dhcpcd-hooks/10-wpa_supplicant) for wpa_supplicant which should bring your connection up wihout any other services running.
See man 8 dhcpcd-run-hooks
smile


Para todos todo, para nosotros nada

Offline

#3 2014-09-06 21:46:38

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Reduce systemd spam to console with netctl service messages?

Yes, that is an option but I'd like to keep the netctl service to enable a number of different wifi connections and to auto-connect to them.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#4 2014-09-07 05:10:42

arielp
Member
Registered: 2013-02-17
Posts: 3

Re: Reduce systemd spam to console with netctl service messages?

wpa_supplicant will do all that. It's what netctl and other network managers use underneath anyway. And if your network needs are fairly simple, check out systemd-networkd instead of dhcpcd. Don't forget about resolved and timesyncd too!



Kill all the bloat!!! wink

Last edited by arielp (2014-09-07 05:13:27)

Offline

#5 2014-09-07 18:41:26

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Reduce systemd spam to console with netctl service messages?

Guys, please read the original question; nobody cares which tools _you_ use. Also, answering "get rid of netctl" is just stupid.

@lagagnon:
Are you sure that the messages are from systemd and not kernel? Can you show  an example? Also, what's the content of your /proc/sys/kernel/printk?


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#6 2014-09-07 19:19:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,265

Re: Reduce systemd spam to console with netctl service messages?

A really simple work around would be to flip over to tty2 and log in there. 
Another might be to configure journald to use a different console.

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# See journald.conf(5) for details

[Journal]
#Storage=auto
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitInterval=30s
#RateLimitBurst=1000
#SystemMaxUse=
SystemMaxUse=50M
#SystemKeepFree=
#SystemMaxFileSize=
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslog=yes
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
TTYPath=/dev/tty12
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
MaxLevelConsole=info
#MaxLevelWall=emerg

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2014-09-08 03:28:20

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Reduce systemd spam to console with netctl service messages?

ewaller: cool idea, will give that a try.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

Board footer

Powered by FluxBB