Re: [et-mgmt-tools] cobbler_syslogd question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jim Wildman wrote:
Well, I was going to submit this as a separate bug, but since you posted
it here..

On Tue, 27 Mar 2007, Michael DeHaan wrote:

diff --git a/cobbler/syslog_watcher.py b/cobbler/syslog_watcher.py
index 64dd802..4846b3e 100644
--- a/cobbler/syslog_watcher.py
+++ b/cobbler/syslog_watcher.py
@@ -22,10 +22,11 @@ def main():
port = settings.syslog_port

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
- try:
- s.bind((socket.gethostname(), port))
- except:
- s.bind("127.0.0.1", port))
+ #try:
+ # s.bind((socket.gethostname(), port))
+ #except:
+ # s.bind("127.0.0.1", port))
^^ one of these must die
+ s.bind(("0.0.0.0", port))

buf = 1024


--Michael




_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


------------------------------------------------------------------------
Jim Wildman, CISSP, RHCE jim@xxxxxxxxxxxxx http://www.rossberry.com
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Bad testing on my part -- those running 0.4.5 andwanting syslog to work, note the missing paren. Preferably just apply the "0.0.0.0" fix...

--Michael


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux