Bug#827296: #827296 - connman: Connman slow down the boot when no network available

2016-09-05 Thread oz

On Mon, 5 Sep 2016 16:24:00 +0200 Alexander Sack  wrote:

I am not sure I understand this one... do you know what the problem is
that triggers the start delay? Does connman crash? Does the dbus
service not come up/respond etc.?


Hello Alexander,

a libgnutls30 >= 3.5.3-2 triggers, that connman does not start and waits 
the DefaultTimeoutStartSec=90s. With libgnutls30 3.5.2-2 connman is not 
waiting and starts. - I have no indication from journalctl or syslog, 
that connman crashes. D-Bus is running successfully. After the automatic 
"scheduling restart" connman starts without crashing, please see my 
journalctl above. - In [1] ist written, that GnuTLS is used for "WISPr 
hotspot logins" in connman.


[1] http://git.kernel.org/cgit/network/connman/connman.git/about/



Bug#827296: #827296 - connman: Connman slow down the boot when no network available

2016-09-05 Thread Alexander Sack
2016-09-03 23:34 GMT+02:00 oz :
> On Fri, 2 Sep 2016 10:53:45 +0200 Alexander Sack  wrote:
>>
>> tags 827296 + moreinfo
>> severity 827296 normal
>> thanks
>>
>> Hi,
>>
>> this seems to be a feature. Seems you were able to resolve this issue?
>> Anything you think that should be done here?
>>
>> Network Manager also has a similar wait job. timeout there is 30
>> seconds. connman just seem to have a higher default timeout in code
>> (120 seconds).
>>
>> You could customize the job with --timeout=30 or we could use that as
>> the default in the package if we feel there is strong reason to
>> believe that majority of debian users will want the shorter timeout.
>>
>> Let me know if you are happy with the ability to tweak by yourself...
>>
>> Thanks,
>>
>>  - Alexander
>
>
> Hi Alexander,
>
> thanks for responding. The problem is twofold. One problem is, that connman
> is buggy with libgnutls30 >= 3.5.3-2. Because of this bug a global, default
> timeout is triggered, located in Debian's /etc/systemd/system.conf as
> "DefaultTimeoutStartSec=90s". This slows down *every* boot unnecessary. I
> was able to resolve this bug only by a forced downgrade to 3.5.2-2. This bug
> should be fixed.

I am not sure I understand this one... do you know what the problem is
that triggers the start delay? Does connman crash? Does the dbus
service not come up/respond etc.?

>
> The second aspect is, that I don't use TLS-Tunnels or
> Hotspot-Captive-Portals. A new option in Debian's connmand binary to switch
> off TLS at boottime would be helpful against TLS-related bugs & security
> holes and would give back the control to the user.
>
> Thank you.



Bug#827296: #827296 - connman: Connman slow down the boot when no network available

2016-09-03 Thread oz

On Fri, 2 Sep 2016 10:53:45 +0200 Alexander Sack  wrote:

tags 827296 + moreinfo
severity 827296 normal
thanks

Hi,

this seems to be a feature. Seems you were able to resolve this issue?
Anything you think that should be done here?

Network Manager also has a similar wait job. timeout there is 30
seconds. connman just seem to have a higher default timeout in code
(120 seconds).

You could customize the job with --timeout=30 or we could use that as
the default in the package if we feel there is strong reason to
believe that majority of debian users will want the shorter timeout.

Let me know if you are happy with the ability to tweak by yourself...

Thanks,

 - Alexander


Hi Alexander,

thanks for responding. The problem is twofold. One problem is, that 
connman is buggy with libgnutls30 >= 3.5.3-2. Because of this bug a 
global, default timeout is triggered, located in Debian's 
/etc/systemd/system.conf as "DefaultTimeoutStartSec=90s". This slows 
down *every* boot unnecessary. I was able to resolve this bug only by a 
forced downgrade to 3.5.2-2. This bug should be fixed.


The second aspect is, that I don't use TLS-Tunnels or 
Hotspot-Captive-Portals. A new option in Debian's connmand binary to 
switch off TLS at boottime would be helpful against TLS-related bugs & 
security holes and would give back the control to the user.


Thank you.



Bug#827296: #827296 - connman: Connman slow down the boot when no network available

2016-09-02 Thread Kristian Klausen
Hi

Yes it was changed in June, see 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812209

- Kristian


> Subject: Bug#827296: #827296 - connman: Connman slow down the boot when no 
> network available
> From: a...@debian.org
> Date: Fri, 2 Sep 2016 13:55:21 +0200
> To: klausenb...@hotmail.com
> CC: 827...@bugs.debian.org; flor...@biree.name; cont...@bugs.debian.org
>
> Hi,
>
> so NM does enable the wait job by default also? Just timeout
> difference? If not I tend to agree that whatever the NM default is
> this one should have as well (assuming folks are happy with NM boot
> behaviour).
>
> Let me know,
>
> - Alexander
>
> 2016-09-02 11:05 GMT+02:00 Kristian Klausen <klausenb...@hotmail.com>:
>> Never mind, maybe I should reread the bug report next time before I
>> respond..
>>
>>
>> 
>> From: klausenb...@hotmail.com
>> To: a...@debian.org; 827...@bugs.debian.org
>> CC: flor...@biree.name; cont...@bugs.debian.org
>> Subject: RE: Bug#827296: #827296 - connman: Connman slow down the boot when
>> no network available
>> Date: Fri, 2 Sep 2016 11:03:15 +0200
>>
>>
>> Hello Alexander
>>
>> NetworkManager don't enable it as default which Connman does.
>> I think that is what the bug report is about :)
>>
>> Regards
>> Kristian Klausen
>>
>>> Subject: Bug#827296: #827296 - connman: Connman slow down the boot when no
>>> network available
>>> From: a...@debian.org
>>> Date: Fri, 2 Sep 2016 10:53:45 +0200
>>> To: 827...@bugs.debian.org
>>> CC: flor...@biree.name; cont...@bugs.debian.org
>>>
>>> tags 827296 + moreinfo
>>> severity 827296 normal
>>> thanks
>>>
>>> Hi,
>>>
>>> this seems to be a feature. Seems you were able to resolve this issue?
>>> Anything you think that should be done here?
>>>
>>> Network Manager also has a similar wait job. timeout there is 30
>>> seconds. connman just seem to have a higher default timeout in code
>>> (120 seconds).
>>>
>>> You could customize the job with --timeout=30 or we could use that as
>>> the default in the package if we feel there is strong reason to
>>> believe that majority of debian users will want the shorter timeout.
>>>
>>> Let me know if you are happy with the ability to tweak by yourself...
>>>
>>> Thanks,
>>>
>>> - Alexander
>>>
>
  


Bug#827296: #827296 - connman: Connman slow down the boot when no network available

2016-09-02 Thread Alexander Sack
Hi,

so NM does enable the wait job by default also? Just timeout
difference? If not I tend to agree that whatever the NM default is
this one should have as well (assuming folks are happy with NM boot
behaviour).

Let me know,

  - Alexander

2016-09-02 11:05 GMT+02:00 Kristian Klausen <klausenb...@hotmail.com>:
> Never mind, maybe I should reread the bug report next time before I
> respond..
>
>
> 
> From: klausenb...@hotmail.com
> To: a...@debian.org; 827...@bugs.debian.org
> CC: flor...@biree.name; cont...@bugs.debian.org
> Subject: RE: Bug#827296: #827296 - connman: Connman slow down the boot when
> no network available
> Date: Fri, 2 Sep 2016 11:03:15 +0200
>
>
> Hello Alexander
>
> NetworkManager don't enable it as default which Connman does.
> I think that is what the bug report is about :)
>
> Regards
> Kristian Klausen
>
>> Subject: Bug#827296: #827296 - connman: Connman slow down the boot when no
>> network available
>> From: a...@debian.org
>> Date: Fri, 2 Sep 2016 10:53:45 +0200
>> To: 827...@bugs.debian.org
>> CC: flor...@biree.name; cont...@bugs.debian.org
>>
>> tags 827296 + moreinfo
>> severity 827296 normal
>> thanks
>>
>> Hi,
>>
>> this seems to be a feature. Seems you were able to resolve this issue?
>> Anything you think that should be done here?
>>
>> Network Manager also has a similar wait job. timeout there is 30
>> seconds. connman just seem to have a higher default timeout in code
>> (120 seconds).
>>
>> You could customize the job with --timeout=30 or we could use that as
>> the default in the package if we feel there is strong reason to
>> believe that majority of debian users will want the shorter timeout.
>>
>> Let me know if you are happy with the ability to tweak by yourself...
>>
>> Thanks,
>>
>> - Alexander
>>



Bug#827296: #827296 - connman: Connman slow down the boot when no network available

2016-09-02 Thread Kristian Klausen
Hello Alexander

NetworkManager don't enable it as default which Connman does.
I think that is what the bug report is about :)

Regards
Kristian Klausen

> Subject: Bug#827296: #827296 - connman: Connman slow down the boot when no 
> network available
> From: a...@debian.org
> Date: Fri, 2 Sep 2016 10:53:45 +0200
> To: 827...@bugs.debian.org
> CC: flor...@biree.name; cont...@bugs.debian.org
> 
> tags 827296 + moreinfo
> severity 827296 normal
> thanks
> 
> Hi,
> 
> this seems to be a feature. Seems you were able to resolve this issue?
> Anything you think that should be done here?
> 
> Network Manager also has a similar wait job. timeout there is 30
> seconds. connman just seem to have a higher default timeout in code
> (120 seconds).
> 
> You could customize the job with --timeout=30 or we could use that as
> the default in the package if we feel there is strong reason to
> believe that majority of debian users will want the shorter timeout.
> 
> Let me know if you are happy with the ability to tweak by yourself...
> 
> Thanks,
> 
>  - Alexander
> 
  

Bug#827296: #827296 - connman: Connman slow down the boot when no network available

2016-09-02 Thread Kristian Klausen
Never mind, maybe I should reread the bug report next time before I respond..


From: klausenb...@hotmail.com
To: a...@debian.org; 827...@bugs.debian.org
CC: flor...@biree.name; cont...@bugs.debian.org
Subject: RE: Bug#827296: #827296 - connman: Connman slow down the boot when no 
network available
Date: Fri, 2 Sep 2016 11:03:15 +0200




Hello Alexander

NetworkManager don't enable it as default which Connman does.
I think that is what the bug report is about :)

Regards
Kristian Klausen

> Subject: Bug#827296: #827296 - connman: Connman slow down the boot when no 
> network available
> From: a...@debian.org
> Date: Fri, 2 Sep 2016 10:53:45 +0200
> To: 827...@bugs.debian.org
> CC: flor...@biree.name; cont...@bugs.debian.org
> 
> tags 827296 + moreinfo
> severity 827296 normal
> thanks
> 
> Hi,
> 
> this seems to be a feature. Seems you were able to resolve this issue?
> Anything you think that should be done here?
> 
> Network Manager also has a similar wait job. timeout there is 30
> seconds. connman just seem to have a higher default timeout in code
> (120 seconds).
> 
> You could customize the job with --timeout=30 or we could use that as
> the default in the package if we feel there is strong reason to
> believe that majority of debian users will want the shorter timeout.
> 
> Let me know if you are happy with the ability to tweak by yourself...
> 
> Thanks,
> 
>  - Alexander
> 

  

Bug#827296: #827296 - connman: Connman slow down the boot when no network available

2016-09-02 Thread Alexander Sack
tags 827296 + moreinfo
severity 827296 normal
thanks

Hi,

this seems to be a feature. Seems you were able to resolve this issue?
Anything you think that should be done here?

Network Manager also has a similar wait job. timeout there is 30
seconds. connman just seem to have a higher default timeout in code
(120 seconds).

You could customize the job with --timeout=30 or we could use that as
the default in the package if we feel there is strong reason to
believe that majority of debian users will want the shorter timeout.

Let me know if you are happy with the ability to tweak by yourself...

Thanks,

 - Alexander