Bug#971050: dhcpcd5: quiet option in config file is ignored

2022-06-30 Thread Martin-Éric Racine
Does the issue still exist with dhcpcd5 version 9.4.1-2 anymore?

Martin-Éric



Bug#971050: dhcpcd5: quiet option in config file is ignored

2020-09-26 Thread Ian
Package: dhcpcd5
Version: 7.1.0-2
Severity: normal
Tags: upstream

Dear Maintainer,

when I start a global instance of dhcpcd via the initscript, I get its output
messages (about getting or renewing a lease, binding interfaces, etc.) on tty1,
mixed with the messages from sysvinit/rc. This makes the latter hard or 
impossible
to read because they scroll off.

According to the dhcpcd manpage, adding the quiet option to the config file
should silence such output, so I did  that (see included config at bottom).  
However
it makes no difference whatsoever.

Looking at the code I  can see nowhere that any action is taken on this option.
The big switch statement in parse_option() in if-options.c only has a trivial 
no-op
case for 'q' which seems to be the argument it might get in this situation.

-- System Information:
Debian Release: 10.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-10-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages dhcpcd5 depends on:
ii  libc6 2.28-10
ii  lsb-base  10.2019051400

Versions of packages dhcpcd5 recommends:
pn  openresolv | resolvconf  

Versions of packages dhcpcd5 suggests:
pn  dhcpcd-gtk  

-- Configuration Files:
/etc/dhcpcd.conf changed:
quiet
hostname
duid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option interface_mtu
require dhcp_server_identifier
slaac hwaddr
waitip 4
waitip 6


-- no debconf information