Your message dated Fri, 2 Sep 2016 12:54:48 +0200
with message-id 
<caoumq31wdkqsmksbg8uvx+2t16k2zfcygbuvb4fcfw68gqa...@mail.gmail.com>
and subject line Re: Bug#822558: Further information
has caused the Debian Bug report #822558,
regarding connmand crashes if a config file is present at /etc/connman/main.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
822558: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822558
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: connman
Version: 1.21-1.2+b2
Severity: important

Dear Maintainer,

I need to disable the automatic hostname change of connman, so i took a look at
the manpage of connman.conf(5) which states, that a config file at
/etc/connman/main.conf with the following content should do the trick:
    [General]
    AllowHostnameUpdates=false

But instead, connman crashes now (reproduceable!) if the config file or even a
empty folder called /etc/connman is present:

Apr 25 13:06:26 cebalrai connmand[3706]: Connection Manager version 1.21
Apr 25 13:06:26 cebalrai connmand[3706]: Adding configuration tunet
Apr 25 13:06:26 cebalrai connmand[3706]: Adding service configuration tunet
Apr 25 13:06:26 cebalrai connmand[3706]: Adding configuration eduroam
Apr 25 13:06:26 cebalrai connmand[3706]: Adding service configuration eduroam
Apr 25 13:06:27 cebalrai connmand[3706]: Failed to bind UDP listener socket
Apr 25 13:06:27 cebalrai connmand[3706]: Failed to bind UDP listener socket
Apr 25 13:06:27 cebalrai connmand[3706]: Couldn't create listener for index 1
err -5
Apr 25 13:06:27 cebalrai connmand[3706]: Aborting (signal 11)
[/usr/sbin/connmand]
Apr 25 13:06:27 cebalrai connmand[3706]: ++++++++ backtrace ++++++++
Apr 25 13:06:27 cebalrai connmand[3706]: +++++++++++++++++++++++++++


The services tunet and eduroam are from my university wifi.

I'm not sure if I do something terribly wrong but I checked the man page now
several times and think the config is on the right place.

Thanks for your help!

regards
sebastian



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages connman depends on:
ii  dbus                 1.10.8-1
ii  init-system-helpers  1.29
ii  libc6                2.22-6
ii  libdbus-1-3          1.10.8-1
ii  libglib2.0-0         2.48.0-1
ii  libgnutls30          3.4.10-4
ii  libreadline6         6.3-8+b4
ii  libxtables11         1.6.0-2
ii  lsb-base             9.20160110

Versions of packages connman recommends:
ii  bluez          5.36-1
ii  ofono          1.15-3
ii  wpasupplicant  2.3-2.3

Versions of packages connman suggests:
pn  indicator-network  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1.32-0.1


Thanks. Closing for sid version.

2016-09-02 10:58 GMT+02:00 Sebastian Bachmann <[email protected]>:
> Hi!
> I reinstalled my laptop with debian stretch and applied the same
> configuration there. It seems that fixes the issue.
> I'm running connman 1.32-0.1 now.
>
> Either it was fixed in this version or my laptop's setup was broken...
>
> regards
> sebastian
>
> On 09/02/2016 10:39 AM, Alexander Sack wrote:
>> tags 822558 + moreinfo
>> severity 822558 important
>> thanks
>>
>> Hi,
>>
>> by any chance did you check the latest version in sid/testing and
>> could that you still see those crashes there?
>>
>>  - Alexander
>>
>>
>> 2016-04-25 20:28 GMT+02:00 Sebastian Bachmann <[email protected]>:
>>> Hi!
>>>
>>> I tried some more things here:
>>> first of all i used systemd-sysv and found out that the same error
>>> happens there too.
>>> Then I added the config option "--config=/etc/connman/main.conf" to the
>>> systemd startup file /lib/systemd/system/connman.service. This seems to
>>> work after a reboot.
>>>
>>> The only problem I see, is that i can not restart connman via systemctl
>>> restart connman.service, without crashing it.
>>> The curious part ist, that it crashed before, even after a reboot and
>>> now it's not.
>>>
>>> So summarize what I did:
>>>
>>> using sysvinit
>>> 1) create the directory /etc/connman as root
>>> 2) create the file /etc/connman/main.conf as root with the content of
>>> the first mail
>>> 3) run /etc/init.d/connman restart
>>> 4) got the crash from above
>>> 5) reboot, connman would not start
>>>
>>> using systemd
>>> 1) create folder and config file (same as with sysvinit)
>>> 2) run systemctl restart connman.service
>>> 3) got the same crash again
>>> 4) reboot, connman would not start
>>> 5) Add explicit config option in service file
>>> 6) run systemctl restart connman.service again
>>> 7) connman would crash again
>>> 8) reboot: connman starts
>>>
>>> regards
>>> sebastian
>>>
>

--- End Message ---

Reply via email to