orchestra team mailing list archive
-
orchestra team
-
Mailing list archive
-
Message #00244
[Bug 893189] Re: avahi advertisement support disabled
** Branch linked: lp:~smoser/orchestra/add-avahi
--
You received this bug notification because you are a member of
orchestra, which is subscribed to orchestra in Ubuntu.
https://bugs.launchpad.net/bugs/893189
Title:
avahi advertisement support disabled
Status in “cobbler” package in Ubuntu:
Confirmed
Status in “orchestra” package in Ubuntu:
Confirmed
Bug description:
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 <mdehaan@xxxxxxxxxx>
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")
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/893189/+subscriptions