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

Avahi support not working correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: Bootstrap
    • Labels:
      None

      Description

      The server side of Avahi seems to be working, however when I try to bootstrap a client to the server I get a segmentation fault.

      This is what I did:

      Server:
      cfengine@ubuntu:~$ sudo /var/cfengine/bin/cf-serverd -A
      2013-08-23T08:51:24+0200 notice: Generating Avahi configuration file.
      2013-08-23T08:51:24+0200 notice: Avahi configuration file generated successfuly.
      cfengine@ubuntu:~$ ps aux|grep avahi
      avahi 28442 0.0 0.1 32308 1760 ? S 08:50 0:00 avahi-daemon: running [ubuntu.local]
      avahi 28443 0.0 0.0 32180 472 ? S 08:50 0:00 avahi-daemon: chroot helper
      cfengine 28475 0.0 0.0 9388 924 pts/0 S+ 08:51 0:00 grep --color=auto avahi
      cfengine@ubuntu:~$ avahi-browse -atr | grep cfenginehub
      + eth0 IPv6 CFEngine Enterprise 3.5.2 Policy Hub on ubuntu _cfenginehub._tcp local
      + eth0 IPv4 CFEngine Enterprise 3.5.2 Policy Hub on ubuntu _cfenginehub._tcp local
      = eth0 IPv6 CFEngine Enterprise 3.5.2 Policy Hub on ubuntu _cfenginehub._tcp local
      = eth0 IPv4 CFEngine Enterprise 3.5.2 Policy Hub on ubuntu _cfenginehub._tcp local
      cfengine@ubuntu:~$

      Agent:
      cfengine@ubuntu:~$ sudo /var/cfengine/bin/cf-agent -B :avahi
      cfengine@ubuntu:~$ sudo tail -f /var/log/syslog
      Aug 23 09:02:13 ubuntu kernel: [157223.047288] cf-agent[22139]: segfault at 0 ip (null) sp bf84bcfc error 14 in cf-agent[8048000+51000]
      Aug 23 09:02:19 ubuntu avahi-daemon[22095]: Received response from host 10.100.100.11 with invalid source port 32769 on interface 'eth0.0'

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              jiraadmin Old User (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel