[systemd-devel] udevd and "quiet"

Colin Guthrie gmane at colin.guthr.ie
Mon Nov 10 02:11:25 PST 2014


Hi,

Not sure how long this has been the case, but in a dracut initrd that is
NOT using systemd, udevd will print out "starting version 217" even when
"quiet" is used on the command line.

This isn't ideal as it should be mostly silent when quiet is used and
indeed this is the only output from the initrd.

So question is, what is the correct fix.

I don't really like the idea of udevd parsing "quiet" directly as this
should really only apply to pid1.

So perhaps dracut (as PID1 at that stage) should parse the "quiet"
command line and set SYSTEMD_LOG_LEVEL=warning (or err?) before starting
udevd (it doesn't seem that udevd takes any --log-level= (and friends)
arguments, so the environment seems the only way).

Is this the right approach or am I maybe missing something?

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the systemd-devel mailing list