#983593 connman: Missing "conflict" dependency information?

Package:
connman
Source:
connman
Description:
Intel Connection Manager daemon
Submitter:
Troy Telford
Date:
2021-02-26 21:21:04 UTC
Severity:
normal
#983593#5
Date:
2021-02-26 21:17:58 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

I do apologize if this is routed poorly, but I figure I have to start
somewhere.

   * What led up to the situation?

I've had an unstable/sid server system working well for decades - its
configuration has overall been pretty stable.

On 2021-02-23, the unattended-upgrades system installed connman (among others)
on my system. connman was never on my system before. I do not know how/why
unattended-upgrades decided to install the package, and I don't even know
who/where to file that bug. (Suggestions welcome... but not your problem)

But it did expose a problem with the connman package: It doesn't appear to
conflict with other interface configuration systems. Having multiple things
changing the network configuration was deeply confusing and hard to debug.

My system would not boot, and there were many network configuration errors. The
package appears to behave quite poorly with ifupdown:
    * Classic /etc/network/interfaces.d/ network configurations were being
      configured twice:
        * Ifupdown was told to give an interface a static IPv4 address (as
        * expected)
        * wide-dhcpv6-client was able to initially configure IPv6 for the
          address, but then couldn't upon fixing the static ipv4 address.
        * For whatever reason connman was trying a DHCP, not getting it, and
          re-assigned the interface to the 169.254 automatic private ip
          addresses.
    * Because of the dual-configuration "race", the system was rendered
      unbootable and unusable, as the two configuration systems appeared to be
      "fighting" each other.
        * I couldn't even login locally as root
        * often, the system never even reached a login prompt
        * It wasn't easy to diagnose the source of why the system wasn't
          booting, but I eventually found it.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
        * I removed connman, clearing the conflict, so there was only one thing
          trying to configure my network interfaces.
   * What was the outcome of this action?
        * After removing connman, the system started behaving
          normally/correctly.
   * What outcome did you expect instead?
        * Ideally, unattended upgrades should not have installed connman. I
          don't have the slightest idea who to ask about that situation,
          though. If you could point me in the right direction, I'd be
grateful.
        * I imagine a "conflict" in the connman package for other incompatible
          interface configuration systems would be good in general. Having
          multiple interface configuration systems modifying the same
          interfaces seems like a guaranteed race condition.

*** End of the template - remove these template lines ***