Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2435

cfengine3 systemd units should start after networking

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 3.9.0, 3.7.3
    • Fix Version/s: 3.7.4, 3.9.1
    • Component/s: None
    • Labels:
      None

      Description

      I have observed that cf-serverd can fail to start on reboot if the network is not yet ready.

        Starting cf-serverd...
        2016-07-22T09:19:30.672163+02:00 host001 kernel: [ 10.787437] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
        2016-07-22T09:19:30.676121+02:00 host001 kernel: [ 10.788234] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
        2016-07-22T09:19:30.676128+02:00 host001 kernel: [ 10.791046] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
        2016-07-22T09:19:30.994139+02:00 host001 cfengine3[1075]: error: Unable to start server
        2016-07-22T09:19:30.994548+02:00 host001 [1127]: CFEngine(server) Unable to start server
        2016-07-22T09:19:31.006491+02:00 host001 startproc: startproc: exit status of parent of /var/cfengine/bin/cf-serverd: 1
        2016-07-22T09:19:31.007528+02:00 host001 cfengine3[1075]: ..failed
        2016-07-22T09:19:31.010194+02:00 host001 cfengine3[1075]: Starting cf-monitord...
      

      I think the service should delay start until network is available.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              a10042 Nick Anderson
              Reporter:
              a10042 Nick Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: