clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
521 stars 29 forks source link

ConnMan service fails to start #24

Closed gvancuts closed 5 years ago

gvancuts commented 6 years ago

The ConnMan service fails to start in Clear Linux (version 21400). This is on a bare-metal installation. I tried to start connmand manually but got the following error:

Connection ":1.157" is not allowed to own the service "net.connman" due to security policies in the configuration file

Here is the complete output of journactl -b -x -u connman*:

-- Logs begin at Mon 2018-03-19 11:46:03 UTC, end at Mon 2018-03-19 19:46:28 UTC. --
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Create a symlink to /etc/resolv.con for ConnMan...
-- Subject: Unit connman-resolvconf.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has begun starting up.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Connection service...
-- Subject: Unit connman.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has begun starting up.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Started Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has finished starting up.
-- 
-- The start-up result is done.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Main process exited, code=exited, status=1/FAILURE
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service.
-- Subject: Unit connman.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Create a symlink to /etc/resolv.con for ConnMan...
-- Subject: Unit connman-resolvconf.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has begun starting up.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Started Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has finished starting up.
-- 
-- The start-up result is done.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Service hold-off time over, scheduling restart.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Create a symlink to /etc/resolv.con for ConnMan...
-- Subject: Unit connman-resolvconf.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has begun starting up.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Stopped Connection service.
-- Subject: Unit connman.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has finished shutting down.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Connection service...
-- Subject: Unit connman.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has begun starting up.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Started Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has finished starting up.
-- 
-- The start-up result is done.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Main process exited, code=exited, status=1/FAILURE
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service.
-- Subject: Unit connman.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Create a symlink to /etc/resolv.con for ConnMan...
-- Subject: Unit connman-resolvconf.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has begun starting up.
Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Started Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has finished starting up.
-- 
-- The start-up result is done.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Service hold-off time over, scheduling restart.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Stopped Connection service.
-- Subject: Unit connman.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has finished shutting down.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Connection service...
-- Subject: Unit connman.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has begun starting up.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Create a symlink to /etc/resolv.con for ConnMan...
-- Subject: Unit connman-resolvconf.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has begun starting up.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Started Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has finished starting up.
-- 
-- The start-up result is done.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Main process exited, code=exited, status=1/FAILURE
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service.
-- Subject: Unit connman.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Unit entered failed state.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Service hold-off time over, scheduling restart.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Stopped Connection service.
-- Subject: Unit connman.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has finished shutting down.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Connection service...
-- Subject: Unit connman.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has begun starting up.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Main process exited, code=exited, status=1/FAILURE
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service.
-- Subject: Unit connman.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Service hold-off time over, scheduling restart.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Stopped Connection service.
-- Subject: Unit connman.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has finished shutting down.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Connection service...
-- Subject: Unit connman.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has begun starting up.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Main process exited, code=exited, status=1/FAILURE
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service.
-- Subject: Unit connman.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Service hold-off time over, scheduling restart.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Stopped Connection service.
-- Subject: Unit connman.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has finished shutting down.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Start request repeated too quickly.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service.
-- Subject: Unit connman.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'.
Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly.
Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan.
-- Subject: Unit connman-resolvconf.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman-resolvconf.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'.
Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Start request repeated too quickly.
Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service.
-- Subject: Unit connman.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit connman.service has failed.
-- 
-- The result is failed.
Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'.
fenrus75 commented 6 years ago

hmm I wonder why we have connman, since we ship systemd-network for ethernet and NM for wifi

On Mon, Mar 19, 2018 at 9:38 AM, Geoffroy Van Cutsem < notifications@github.com> wrote:

The ConnMan service fails to start in Clear Linux (version 21400). This is on a bare-metal installation. I tried to start connmand manually but got the following error:

Connection ":1.157" is not allowed to own the service "net.connman" due to security policies in the configuration file

Here is the complete output of journactl -b -x -u connman*:

-- Logs begin at Mon 2018-03-19 11:46:03 UTC, end at Mon 2018-03-19 19:46:28 UTC. -- Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Create a symlink to /etc/resolv.con for ConnMan... -- Subject: Unit connman-resolvconf.service has begun start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has begun starting up. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Connection service... -- Subject: Unit connman.service has begun start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has begun starting up. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Started Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has finished start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has finished starting up.

-- The start-up result is done. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Main process exited, code=exited, status=1/FAILURE Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service. -- Subject: Unit connman.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has failed.

-- The result is failed. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Create a symlink to /etc/resolv.con for ConnMan... -- Subject: Unit connman-resolvconf.service has begun start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has begun starting up. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Started Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has finished start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has finished starting up.

-- The start-up result is done. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Service hold-off time over, scheduling restart. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Create a symlink to /etc/resolv.con for ConnMan... -- Subject: Unit connman-resolvconf.service has begun start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has begun starting up. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Stopped Connection service. -- Subject: Unit connman.service has finished shutting down -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has finished shutting down. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Connection service... -- Subject: Unit connman.service has begun start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has begun starting up. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Started Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has finished start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has finished starting up.

-- The start-up result is done. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Main process exited, code=exited, status=1/FAILURE Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service. -- Subject: Unit connman.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has failed.

-- The result is failed. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Create a symlink to /etc/resolv.con for ConnMan... -- Subject: Unit connman-resolvconf.service has begun start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has begun starting up. Mar 19 16:05:03 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Started Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has finished start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has finished starting up.

-- The start-up result is done. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Service hold-off time over, scheduling restart. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Stopped Connection service. -- Subject: Unit connman.service has finished shutting down -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has finished shutting down. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Connection service... -- Subject: Unit connman.service has begun start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has begun starting up. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Create a symlink to /etc/resolv.con for ConnMan... -- Subject: Unit connman-resolvconf.service has begun start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has begun starting up. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Started Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has finished start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has finished starting up.

-- The start-up result is done. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Main process exited, code=exited, status=1/FAILURE Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service. -- Subject: Unit connman.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has failed.

-- The result is failed. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has failed.

-- The result is failed. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Unit entered failed state. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Service hold-off time over, scheduling restart. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has failed.

-- The result is failed. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Stopped Connection service. -- Subject: Unit connman.service has finished shutting down -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has finished shutting down. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Connection service... -- Subject: Unit connman.service has begun start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has begun starting up. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Main process exited, code=exited, status=1/FAILURE Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service. -- Subject: Unit connman.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has failed.

-- The result is failed. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has failed.

-- The result is failed. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Service hold-off time over, scheduling restart. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has failed.

-- The result is failed. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Stopped Connection service. -- Subject: Unit connman.service has finished shutting down -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has finished shutting down. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Starting Connection service... -- Subject: Unit connman.service has begun start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has begun starting up. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Main process exited, code=exited, status=1/FAILURE Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service. -- Subject: Unit connman.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has failed.

-- The result is failed. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has failed.

-- The result is failed. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Service hold-off time over, scheduling restart. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Stopped Connection service. -- Subject: Unit connman.service has finished shutting down -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has finished shutting down. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Start request repeated too quickly. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service. -- Subject: Unit connman.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has failed.

-- The result is failed. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Unit entered failed state. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has failed.

-- The result is failed. Mar 19 16:05:04 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'. Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Start request repeated too quickly. Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Create a symlink to /etc/resolv.con for ConnMan. -- Subject: Unit connman-resolvconf.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman-resolvconf.service has failed.

-- The result is failed. Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman-resolvconf.service: Failed with result 'start-limit-hit'. Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Start request repeated too quickly. Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: Failed to start Connection service. -- Subject: Unit connman.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit connman.service has failed.

-- The result is failed. Mar 19 16:05:12 clr-85b6357ca741449d9f79ca1da6a499fd systemd[1]: connman.service: Failed with result 'exit-code'.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/24, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPeFS4k0I1IUw_duCAgR4JJZ7RALYSiks5tf97ygaJpZM4Swf2m .

gvancuts commented 6 years ago

hmm I wonder why we have connman, since we ship systemd-network for ethernet and NM for wifi

I wondered about that too. All I know was that it was added recently and based on the message, this was done to Allow users to manually configure wifi devices at installation time by adding connman to the os-installer bundle - see https://lists.clearlinux.org/pipermail/dev/2018-January/001247.html

ahkok commented 6 years ago

We've always had connman and it's cli is somewhat intuitive and easy to use, compared to nmcli where the man page "examples" doesn't even contain a section "connect to a wifi network" (for crying out loud), nmcli --help is useless, and you have to go down into man nmcli to the bottom 30 lines to see that the 15th example is a horribly overcomplexified way of connecting to a wifi network.

I am not bitter or anything, but NM without a decent frontend is almost useless for the installer case.

So the proper solution here is to remove connman and add nmcli, but it isn't going to help anyone. The installer needs to support connecting to a simple wifi network and this work is planned, but we haven't gotten to it yet.

gvancuts commented 6 years ago

Is NetworkManager considered a core components or rather something that got pulled when we added the GNOME desktop to Clear Linux? The reason I ask is we have always preferred ConnMan for OS that target embedded/IoT. The proper solution you describe above changes that (and I can't help but see a different solution which would be to have GNOME be able to use ConnMan instead of NM... although I have no idea how hard this would be).

fenrus75 commented 6 years ago

gnome to use connman hasn't happened in the last 5+ years and is unlikely to happen... NM is pretty well hard coded.

THere's no reason to not use NM for IOT tbh

On Mon, Mar 19, 2018 at 11:49 AM, Geoffroy Van Cutsem < notifications@github.com> wrote:

Is NetworkManager considered a core components or rather something that got pulled when we added the GNOME desktop to Clear Linux? The reason I ask is we have always preferred ConnMan for OS that target embedded/IoT. The proper solution you describe above changes that (and I can't help but see a different solution which would be to have GNOME be able to use ConnMan instead of NM... although I have no idea how hard this would be).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/24#issuecomment-374324265, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPeFZF5ispp67OEig_7Vp5sSF_wNfZuks5tf_20gaJpZM4Swf2m .

gvancuts commented 6 years ago

gnome to use connman hasn't happened in the last 5+ years and is unlikely to happen... NM is pretty well hard coded.

OK, that's kind of the response I expected.

THere's no reason to not use NM for IOT tbh

OK, I haven't played with NM (beyond using it through the GNOME applet) so I really don't know much about its capabilities. ConnMan seems fairly well accepted in the Embedded/IoT space (inc. automotive) so I hope that NM provides (at least most of) the features they care for.

It would be good to document this at some point (and remove whatever is not necessary from the stack). As an embedded/IoT person, I naturally tried to use ConnMan since it's part of the stack (and also since NM is not installed in the core OS) but realizing that it's broken was surprising (and disappointing).

ahkok commented 6 years ago

Before we throw out babies with bathwater, what's the output of the connmand daemon actually? It exits with -1, so there should be some major error messaging.

Please enable telemetry as well if you can, it will significantly help us spot issues and resolve them.

gvancuts commented 6 years ago

Don't get me wrong, I'm not advocating to throw away any baby (nor even the bathwater for that matter). Without having done a thorough analysis of the situation, the most sensible thing to do for me would be to have NM for the GNOME desktop and ConnMan for Clearlinux images that are more geared towards embedded/IoT. Is there a way with bundles to have ConnMan by default and have it being replaced by NM when you install the GNOME Desktop? It seems like the GNOME desktop is the key driver for keeping NM in there. It's a valid reason but for all other use cases, we could use ConnMan?

I pasted the output as given by journalctl on my first posting (I couldn't see anything interesting there) and there is also the one-line error connmand spits out when I attempt to start it manually - see https://github.com/clearlinux/distribution/issues/24#issue-306539951 . That's all I get even when attempting to start it manually with -d. Is there some other log I could collect to help you?

fenrus75 commented 6 years ago

can we at least talk about embedded and iot separately please? iot tends to have a UI and full connectivity etc...

On Wed, Mar 21, 2018 at 5:05 PM, Arjan van de Ven arjanvandeven@gmail.com wrote:

can we at leas

On Wed, Mar 21, 2018 at 4:56 PM, Geoffroy Van Cutsem < notifications@github.com> wrote:

Don't get me wrong, I'm not advocating to throw away any baby (nor even the bathwater for that matter). Without having done a thorough analysis of the situation, the most sensible thing to do for me would be to have NM for the GNOME desktop and ConnMan for Clearlinux images that are more geared towards embedded/IoT. Is there a way with bundles to have ConnMan by default and have it being replaced by NM when you install the GNOME Desktop? It seems like the GNOME desktop is the key driver for keeping NM in there. It's a valid reason but for all other use cases, we could use ConnMan?

I pasted the output as given by journalctl on my first posting (I couldn't see anything interesting there) and there is also the one-line error connmand spits out when I attempt to start it manually - see #24 (comment) https://github.com/clearlinux/distribution/issues/24#issue-306539951 . That's all I get even when attempting to start it manually with -d. Is there some other log I could collect to help you?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/24#issuecomment-375133981, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPeFXzd8T1XlnK0OCJASDk_Grtadtflks5tguiXgaJpZM4Swf2m .

gvancuts commented 6 years ago

can we at least talk about embedded and iot separately please? iot tends to have a UI and full connectivity etc...

That would be useful if we want to drill down to the next level as both terms mean different things to different people. I don't think it will fundamentally change the fact that we may need both though.

tpleavitt commented 5 years ago

@gvancuts , can this issue be closed?

gvancuts commented 5 years ago

Yes