** Description changed:

  Cobbler used to advertise itself via avahi, if possible.. However, the
  code which did this is now commented out.
+ 
+ It was disabled by upstream as part of:
+ commit f24ffa0d4d997d6c536ca7d89d6bfbc1b9dce07f
+ Author: Michael DeHaan <[email protected]>
+ Date:   Fri Jan 23 16:40:10 2009 -0500
+ 
+     Consolidating services to use just one port, removed syslog logging
+ since we have anamon
+ 
+ 
(https://github.com/rubenk/cobbler/commit/f24ffa0d4d997d6c536ca7d89d6bfbc1b9dce07f)
+ 
+ Specifically:
  
  cobbler/cobblerd.py:
  ...
  
  #def do_other_tasks(bootapi, settings, syslog_port, logger):
  #
  #    # FUTURE: this should also start the Web UI, if the dependencies
  #    # are available.
- # 
+ #
  #    if os.path.exists("/usr/bin/avahi-publish-service"):
  #        pid2 = os.fork()
  #        if pid2 == 0:
  #           do_syslog(bootapi, settings, syslog_port, logger)
  #        else:
  #           do_avahi(bootapi, settings, logger)
  #           os.waitpid(pid2, 0)
  #    else:
  #        do_syslog(bootapi, settings, syslog_port, logger)
  ...
  
  #def do_avahi(bootapi, settings, logger):
  #    # publish via zeroconf.  This command will not terminate
  #    log(logger, "publishing avahi service")
  #    cmd = [ "/usr/bin/avahi-publish-service",
  #            "cobblerd",
  #            "_http._tcp",
  #            "%s" % settings.xmlrpc_port ]
  #    proc = sub_process.Popen(cmd, shell=False, stderr=sub_process.PIPE, 
stdout=sub_process.PIPE, close_fds=True)
  #    proc.communicate()[0]
  #    log(logger, "avahi service terminated")

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893189

Title:
  avahi advertisement support disabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/893189/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to