[ ssic-linux-Bugs-2997880 ] ssi-addnode doesn't work if dhcp server logs to wrong place

"SourceForge.net" <[email protected]> Fri, 07 May 2010 08:48:05 +0000
Newsgroups gmane.linux.cluster.ssic.devel
Message-ID <[email protected]>
Bugs item #2997880, was opened at 2010-05-06 22:47
Message generated for change (Comment added) made by hughesj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=405834&aid=2997880&group_id=32541

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Networking
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: John Hughes (hughesj)
>Summary: ssi-addnode doesn't work if dhcp server logs to wrong place

Initial Comment:

Debian lenny 5.0.4 "DISC 1" (not netinst) and OpenSSI 1.9.6 preview for x86.

I tried a few other systems, making sure everyone has link lights, before plugging one ethernet port into the other and running dhclient eth1 while tail -f'ing /var/log/daemon.log.  Nothing.  Especially nothing matching 'DHCPDISCOVER'.  Running dhcpd3 -d, DHCPDISCOVER's do go to stdout or stderr, so it's probably a log level problem.  rsyslog.conf looks like it's configured to send daemon.* to /var/log/daemon.log (but with these wonky hacked up flavor of the week quasi-drop in replacements, it's impossible to tell what's going on).  Aha!  /etc/dhcpd3/dhcpd.info has a line specifying "log-facility: local7".  Changing that to "daemon" and re-running mkdhcpd.conf gets ssi-addnode rolling again.  By the way, my email is [email protected].  Last go, I expected this bug tracker to ask me more in
 fo in a next screen but instead it accepted a half-arsed bug report with no contact info or version info and wouldn't let me edit it.  Sorry about that.

----------------------------------------------------------------------

>Comment By: John Hughes (hughesj)
Date: 2010-05-07 10:48

Message:
(from submitter - wrong logging location was specified in dhcpd.proto).

ssi-addnode assumes that dhcp server is logging into /var/log/daemon.log
(Debian) or /var/log/messages (redhat), no checking is done.

Question - who put the wrong logging facility into dhcpd.proto?

On OpenSSI install we move current dhcpd.conf to dhcpd.proto, so if
existing dhcpd.conf has "wrong" logging parameters we're in trouble.

dhcp3-server package (since at least version 3.1.1-6+lenny4) ships with a
config that sets log-facility to local7.

Maybe we should check log-facility on install, or not use existing
dhcpd.conf as dhcpd.proto.








----------------------------------------------------------------------

Comment By: John Hughes (hughesj)
Date: 2010-05-06 22:56

Message:
I don't  understand.  What exactly is your complaint?

What are you trying to do?  If you are installing the OpenSSI preview on
Debian Lenny how far have you got?




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=405834&aid=2997880&group_id=32541

------------------------------------------------------------------------------