resolvconf -u generates "Too few arguments." errors

Bug #1811517 reported by Thomas Gschwind
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

When adding new nameservers to /etc/resolvconf.conf (e.g., name_servers="8.8.4.4 8.8.8.8"), and running resolvconf -u, I get the following errors:
  prompt# resolvconf -u
  Too few arguments.
  Too few arguments.
  prompt#

At this time, /etc/resolv.conf has been updated and rerunning resolvconf -u does not generate the error again
  prompt# resolvconf -u
  prompt#

Only when /etc/resolvconf.conf is changed again, the above errors reappear.

As side comment, it would be nice to document the syntax for specifying multiple name servers in the resolvconf.conf. Thanks.

Revision history for this message
William Oakley (jwhoakley) wrote :

As per the description above - 2nd June 2020 - bug still extant:

rpi-1:~ $ sudo resolvconf -u
Too few arguments.
rpi-1:~ $ sudo resolvconf -u
rpi-1:~ $

Revision history for this message
William Oakley (jwhoakley) wrote :

Version of Raspberry Pi OS - buster:

rpi-1:~ $ cat /etc/debian_version
10.4

Kernel and arch:

rpi-1:~ $ uname -a
Linux master 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux

Packages fully up-to-date.

Revision history for this message
Andrea (mariofutire86) wrote :

Indeed, same version as yours.

But it seems to work anyway.
It is just a irrelevant warning?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.