WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: connman on wily problems  (Read 1594 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2133
connman on wily problems
« on: November 06, 2015, 10:32:47 AM »
Hi
I'm trying wily and there are some problems on connman:
trying to execute /usr/local/tce.installed/connman I get:
Code: [Select]
addgroup: The group `messagebus' already exists.
dbus-uuidgen: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
dbus-send: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
adduser: user 'messagebus' in use
/usr/bin/dbus-uuidgen: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
insserv: Service dbus has to be enabled to start service connman
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
so I imported and loaded liblzma5, then executed again the script and:
Quote
addgroup: The group `messagebus' already exists.
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
adduser: user 'messagebus' in use
Unknown username "systemd-resolve" in message bus configuration file
Unknown username "systemd-network" in message bus configuration file
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
insserv: Service dbus has to be enabled to start service connman
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
on a third start without changing anything:
Code: [Select]
addgroup: The group `messagebus' already exists.
adduser: user 'messagebus' in use
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
insserv: Service dbus has to be enabled to start service connman
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
connmand is not started, so I started it maually and:
Code: [Select]
connmand[7007]: Connection Manager version 1.21
connmand[7007]: Adding configuration econnman
connmand[7007]: Config file /var/lib/connman/econnman.config does not contain any configuration that can be provisioned!
(null) v(null): Couldn't load target `standard':No such file or directory
I also executed connmand with debug and I saw some errors about iptables,
so I imported and loaded iptables, and then manully launching connmand works
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9668
Re: connman on wily problems
« Reply #1 on: November 07, 2015, 07:13:21 AM »
Ok, I added liblzma5 and iptables to the dependency list of connman.

Offline jls

  • Hero Member
  • *****
  • Posts: 2133
Re: connman on wily problems
« Reply #2 on: November 07, 2015, 07:19:34 AM »
Hi
thanks but it's not enough, since connmand it's not autostarting via tce.installed, I've to start it in bootlocal, while on trusty there wasn't this problem.
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9668
Re: connman on wily problems
« Reply #3 on: November 07, 2015, 10:36:01 AM »
The Debian postinst script uses Debian tools to determine whether to start connman, so I put "/etc/init.d/connman start" in the connman.deb2sce.  Hopefully that works to start it on boot or in session loading.

Offline jls

  • Hero Member
  • *****
  • Posts: 2133
Re: connman on wily problems
« Reply #4 on: November 07, 2015, 03:26:42 PM »
Hi
yes, now it works, thanks Jason :)
dCore user