[et-mgmt-tools] cobbler_syslogd question

Jim Wildman jim at rossberry.com
Tue Mar 27 19:59:38 UTC 2007


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 at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>

------------------------------------------------------------------------
Jim Wildman, CISSP, RHCE       jim at rossberry.com 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




More information about the et-mgmt-tools mailing list