Devuan bug report logs - #495
Package: connman sysvint script disables DNS lookups when resolvconf package installed

Package: connman; Maintainer for connman is (unknown); Source for connman is src:connman.

Reported by: Vernon Van Steenkist <vernonjvs@gmail.com>

Date: Wed, 22 Jul 2020 21:03:01 UTC

Severity: normal

Tags: debian

Forwarded to https://bugs.debian.org/966138

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#495; Package connman. (Wed, 22 Jul 2020 21:03:01 GMT) (full text, mbox, link).


Acknowledgement sent to Vernon Van Steenkist <vernonjvs@gmail.com>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org.

Your message had a Version: pseudo-header with an invalid package version:

1.36-2 i386

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

(Wed, 22 Jul 2020 21:03:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Vernon Van Steenkist <vernonjvs@gmail.com>
To: submit@bugs.devuan.org
Subject: Package: connman sysvint script disables DNS lookups when resolvconf package installed
Date: Wed, 22 Jul 2020 16:50:56 -0400
[Message part 1 (text/plain, inline)]
Package: connman
Version: 1.36-2 i386

Beowulf connman 1.36-2 i386 sysvinit script conflicts with resolvconf 1.79 package leaving the system in a state unable to do DNS lookups.

Problem one:

sed -n "22,25p" /etc/init.d/connman

if [ "CONNMAN_RUNSTATEDIR_RESOLVCONF" != "no" ] ; then
    mkdir -p /run/connman
    ln -sf /run/connman/resolv.conf /etc/
fi

Since string CONNMAN_RUNSTATEDIR_RESOLVCONF will never be equal to string no, the following line will always be executed
ln -sf /run/connman/resolv.conf /etc/


So, I am not what conditional

if [ "CONNMAN_RUNSTATEDIR_RESOLVCONF" != "no" ]

is supposed to accomplish.

Problem Two:

This creates a problem when using the resolvconf package. Package resolvconf links /etc/resolv.conf to
/run/resolvconf/resolv.conf However, after re-boot, /etc/init.d/connman overwrites this link and links
/etc/resolv.conf to /run/connman/resolv.conf
once again leaving the system in a state unable to do DNS look-ups.

I have brute forced a fix by commenting out the line
ln -sf /run/connman/resolv.conf /etc/ in /etc/init.d/connman

sed -n "22,25p" /etc/init.d/connman

if [ "CONNMAN_RUNSTATEDIR_RESOLVCONF" != "no" ] ; then
    mkdir -p /run/connman
#    ln -sf /run/connman/resolv.conf /etc/
fi

and re-linking /etc/resolv.conf to /run/resolvconf/resolv.conf

I am not sure what the correct fix should be.

Please don't hesitate to contact me if you have any questions.

Thanks,
Vernon

[Message part 2 (text/html, inline)]

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#495; Package connman. (Thu, 23 Jul 2020 14:18:02 GMT) (full text, mbox, link).


Message #8 received at 495@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Vernon Van Steenkist <vernonjvs@gmail.com>, 495@bugs.devuan.org
Subject: Re: [devuan-dev] bug#495: Package: connman sysvint script disables DNS lookups when resolvconf package installed
Date: Thu, 23 Jul 2020 15:02:14 +0100
Control: tags -1 debian

On Wed, Jul 22, 2020 at 04:50:56PM -0400, Vernon Van Steenkist wrote:
> Package: connman
> Version: 1.36-2 i386
> 
> Beowulf connman 1.36-2 i386 sysvinit script conflicts with resolvconf 1.79 packa
> ge leaving the system in a state unable to do DNS lookups.

Vernon,

Many thanks for this. Devuan does not fork connman and we use Debian's packages
directly. Please report this directly to Debian's BTS.

Thanks

Mark

Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 495-submit@bugs.devuan.org. (Thu, 23 Jul 2020 14:18:09 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#495; Package connman. (Thu, 23 Jul 2020 16:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Vernon Van Steenkist <vernonjvs@gmail.com>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. (Thu, 23 Jul 2020 16:33:04 GMT) (full text, mbox, link).


Message #15 received at 495@bugs.devuan.org (full text, mbox, reply):

From: Vernon Van Steenkist <vernonjvs@gmail.com>
To: Mark Hindley <mark@hindley.org.uk>, 495@bugs.devuan.org
Subject: Re: [devuan-dev] bug#495: Package: connman sysvint script disables DNS lookups when resolvconf package installed
Date: Thu, 23 Jul 2020 12:08:33 -0400
Mark,

Thanks for you prompt response. Done

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966138

On 7/23/20 10:02 AM, Mark Hindley wrote:
> Control: tags -1 debian
>
> On Wed, Jul 22, 2020 at 04:50:56PM -0400, Vernon Van Steenkist wrote:
>> Package: connman
>> Version: 1.36-2 i386
>>
>> Beowulf connman 1.36-2 i386 sysvinit script conflicts with resolvconf 1.79 packa
>> ge leaving the system in a state unable to do DNS lookups.
> Vernon,
>
> Many thanks for this. Devuan does not fork connman and we use Debian's packages
> directly. Please report this directly to Debian's BTS.
>
> Thanks
>
> Mark

Set bug forwarded-to-address to 'https://bugs.debian.org/966138'. Request was from Mark Hindley <mark@hindley.org.uk> to control@bugs.devuan.org. (Thu, 23 Jul 2020 20:03:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue Apr 23 16:05:53 2024;