[Pkg-utopia-maintainers] Bug#784587: Bug#784587: network-manager: does not set up resolv.conf

Michael Biebl biebl at debian.org
Thu May 7 01:28:49 UTC 2015


Control: tags -1 = confirmed

> On Thu, 07 May 2015 02:30:16 +0200 Michael Biebl <biebl at debian.org> wrote:
>> Am 07.05.2015 um 01:55 schrieb Michael Biebl:
>> > Am 07.05.2015 um 01:32 schrieb Andrea Capriotti:

>> >> # grep resolvconf /var/log/syslog
>> >> May  7 01:16:15 nb-capriotti NetworkManager[13437]: <warn>  could
> not commit DNS changes: /sbin/resolvconf is not executable
>> >>
>> >> I fixed it installing resolvconf.
>> >

>> NM should fallback to non-resolvconf mode, if the resolvconf binary was
>> not found during runtime.

Actually, the faulty commit is ba593c9d9d2492e221e759fa5d54f2a04adf81d2


The attached patch should fix the issue. Will poke upstream for a review
and upload tomorrow.

I think we need to clear the GError before passing it on to
dispatch_netconfig() and update_resolv_conf().
Otherwise we might return an error even if update_resolv_conf() was
successful.

Then again, I don't quite see the point in setting error in
dispatch_resolvconf() and dispatch_netconfig() in the first place.

Maybe Dan can comment on this.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nm-dns-manager.diff
Type: text/x-patch
Size: 661 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20150507/342c899c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20150507/342c899c/attachment-0001.sig>


More information about the Pkg-utopia-maintainers mailing list