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

Package: connman; Reported by: Vernon Van Steenkist <[email protected]>; Keywords: debian; Forwarded to https://bugs.debian.org/966138; Maintainer for connman is (unknown).
Set bug forwarded-to-address to 'https://bugs.debian.org/966138'. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 495) by bugs.devuan.org; 23 Jul 2020 16:20:12 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 23 Jul 2020 16:20:12 +0000 (UTC)
Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 8448BF60B2E
	for <[email protected]>; Thu, 23 Jul 2020 18:08:37 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="kaknrEtN";
	dkim-atps=neutral
Received: by mail-qt1-f180.google.com with SMTP id 6so4809379qtt.0
        for <[email protected]>; Thu, 23 Jul 2020 09:08:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-transfer-encoding:content-language;
        bh=lJx1qIqdiJ/81QElwOg+Ow2CZH/hjnzeWxaE+pFhlAo=;
        b=kaknrEtNsU+4KLrbJhK0EbDGhsCMDnXY8yJg9nlwc6YENVGkOr39aWmooqiq8m48K4
         LkRv09PoPJhFG9zQqCsr4zGb+meBnjckfqLZvGE5Jtv7w1182siUDXrigwoAwk1llh8X
         4+a6e8hQ6KYvqz8wzCupcHwy3iDEi4SxkCgtsVf2GygowNEvgJQkQq0kSXUFxCbnCA/4
         m4afPotbI6AY9hPbA5F9HdNGZJdaD5bmsDOfRBrlTMHeWinBIrqj24Ou7rcw2HzpYBja
         P6ed4b+zSCcgZ/RBNmEskeGYPsXLivAwZYG8pygsRUPbGLRGR3p70cw4XiPz/pJCNC3R
         t10Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding
         :content-language;
        bh=lJx1qIqdiJ/81QElwOg+Ow2CZH/hjnzeWxaE+pFhlAo=;
        b=uUu9apNkzrz+tagLxbSd+3BVsBXu6lmZdZpxpLAydgrXfH7BPAKBytbJ2B45uKJk1z
         W60dpHUCOBICtKw6PUOuilJLXT7F39PYAzu20tIjVaBk2axmC8f+NY6n855tAeSH2NMN
         BdJjRKqe5PRy/GKPk9ForS6Xdggu33y2Tn+0tADz90Haou1GUYxomrswAHKnh8v4Rcm8
         YlPYnUcjykbMnnvwA6TKije59oQRMPCubm/Lc5L9L9g+5clTMV5urg+wnEtMCOZl4JkA
         D2ToOPQCLm78vov7tNPSsbIrudlAAYXG6h4u51GnPVYpky82mZKfPJJ8yVWLlLLlEUxf
         aK3Q==
X-Gm-Message-State: AOAM53326FOjHMQNg90vsYVKXUzbTM61jPQccaOigEiLfgFMUU2EVszs
	IuvKUPDIdazFZR+L9UDpKU53ybUfrUU=
X-Google-Smtp-Source: ABdhPJwpFAhVtEpScC7UVrE1ErcMHCXV7mYMEMgHKbXrka5ssd5QANZd6JHPQ3mKJc+X9OU4FE46sw==
X-Received: by 2002:ac8:777a:: with SMTP id h26mr4941414qtu.141.1595520515134;
        Thu, 23 Jul 2020 09:08:35 -0700 (PDT)
Received: from [192.168.0.32] (rrcs-72-43-221-6.nys.biz.rr.com. [72.43.221.6])
        by smtp.gmail.com with ESMTPSA id p202sm580323qke.97.2020.07.23.09.08.34
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Thu, 23 Jul 2020 09:08:34 -0700 (PDT)
Subject: Re: [devuan-dev] bug#495: Package: connman sysvint script disables
 DNS lookups when resolvconf package installed
To: Mark Hindley <[email protected]>, [email protected]
References: <[email protected]>
 <[email protected]>
From: Vernon Van Steenkist <[email protected]>
Message-ID: <[email protected]>
Date: Thu, 23 Jul 2020 12:08:33 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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

Acknowledgement sent to Vernon Van Steenkist <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#495; Package connman. Full text available.
Added tag(s) debian. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 495) by bugs.devuan.org; 23 Jul 2020 14:10:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 23 Jul 2020 14:10:02 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 3ED3CF60B06
	for <[email protected]>; Thu, 23 Jul 2020 16:02:16 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1jybna-0007Vi-M1; Thu, 23 Jul 2020 15:02:14 +0100
Received: (nullmailer pid 20599 invoked by uid 1000);
	Thu, 23 Jul 2020 14:02:14 -0000
Date: Thu, 23 Jul 2020 15:02:14 +0100
From: Mark Hindley <[email protected]>
To: Vernon Van Steenkist <[email protected]>, [email protected]
Subject: Re: [devuan-dev] bug#495: Package: connman sysvint script disables
 DNS lookups when resolvconf package installed
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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

Information forwarded to [email protected], [email protected]:
bug#495; Package connman. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 22 Jul 2020 21:00:06 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 22 Jul 2020 21:00:06 +0000 (UTC)
Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 4AE02F604E1
	for <[email protected]>; Wed, 22 Jul 2020 22:51:00 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="nLxbSOQy";
	dkim-atps=neutral
Received: by mail-qk1-f175.google.com with SMTP id j187so3351735qke.11
        for <[email protected]>; Wed, 22 Jul 2020 13:51:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=to:from:subject:message-id:date:user-agent:mime-version
         :content-language;
        bh=dSmrf07Boo9GTFBcBW33TCM3x5FqKynLlALYCQwe6NE=;
        b=nLxbSOQyq3azurwTNe9SiGKyaoZX5oaUU+U4h+NNwkGkBgjDweWwtHOEmdde+KCcjQ
         Yz+Lxw8QOd7RlyD5mYHN94H2BLBrWAePqNursfT+1SRm5yaW6BrCiJ8rLb2voVSK+TyB
         1aUdq5xrTlVKGki1V1G4S3XkF+LJb2g+i9p7pvMzrQSRf3gWd5y6FhbOXWxjvveoTIye
         tBHTpk4dDlVo/4E0mmoFSgJDYPj9GaFtymui5zx36+Kcox0Yfl/SXHzRjLusUYt+jNVu
         EBc25wvW/u455LInB6jlP5Q8uCjpvzqexme/PUtY1fX+EItQheX53twhiLRwC6PUZI9X
         310g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:to:from:subject:message-id:date:user-agent
         :mime-version:content-language;
        bh=dSmrf07Boo9GTFBcBW33TCM3x5FqKynLlALYCQwe6NE=;
        b=KiCaXxJ5SDCxE9KIQngP7VOaRmRGJnOGwyRGubBNzGvw+3HGevY78rOdwDh5a7osCl
         LJwjS6eI8+5X/ciXlXnxMm4zWJSZm96QMwjtDS8LJCnO7/9gX/YgkWcadPWius5fPcvw
         ahXWyuAIBQYxMSzkq0tIU73pZJ4g4czQIOegzMwurBUq9ZZI0y9WY7SV7QY/sLeCB5HV
         FCCfQ+9LIu5dQJLzv/CYNfEbwhrl2zEWSgRk9qsl/AtE+iGvVqDYiIYjRCdN0WSyvAQI
         2yVHrBBXuFtqN7G1jPvHeOLdbNvW2afR+0sBH3agVQW4HI2Ns+XweeISh+76BV/MjBKC
         /a6A==
X-Gm-Message-State: AOAM5318UQTj7UL+qrmmpfrJX3+j1OUGMrxto8bosYpGe0FUc9IrF3ze
	OuTCW6NRsRYw0VTwBYBBe08JZQGqw+Nr0w==
X-Google-Smtp-Source: ABdhPJwRkX+zT+T6TkubX4V9btkw+ZrS+KpSaxD4sTGt0pN358fnyqJC7/+T57JRGmMuSLKvQHM8/w==
X-Received: by 2002:a05:620a:149a:: with SMTP id w26mr1857508qkj.432.1595451058092;
        Wed, 22 Jul 2020 13:50:58 -0700 (PDT)
Received: from [192.168.0.32] (rrcs-72-43-221-6.nys.biz.rr.com. [72.43.221.6])
        by smtp.gmail.com with ESMTPSA id f54sm742384qte.76.2020.07.22.13.50.57
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Wed, 22 Jul 2020 13:50:57 -0700 (PDT)
To: [email protected]
From: Vernon Van Steenkist <[email protected]>
Subject: Package: connman sysvint script disables DNS lookups when resolvconf
 package installed
Message-ID: <[email protected]>
Date: Wed, 22 Jul 2020 16:50:56 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="------------5628E0563F626B0907E7DE59"
Content-Language: en-US
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

This is a multi-part message in MIME format.
--------------5628E0563F626B0907E7DE59
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

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


--------------5628E0563F626B0907E7DE59
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <pre>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
</pre>
  </body>
</html>

--------------5628E0563F626B0907E7DE59--

Acknowledgement sent to Vernon Van Steenkist <[email protected]>:
New bug report received and forwarded. Copy sent to [email protected].

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.

Full text available.


Report forwarded to [email protected], [email protected]:
bug#495; Package connman. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Thu, 13 Mar 2025 14:39:01 UTC