[Bug 606972] New: Network daemon does not report anything during boot up
http://bugzilla.novell.com/show_bug.cgi?id=606972 http://bugzilla.novell.com/show_bug.cgi?id=606972#c0 Summary: Network daemon does not report anything during boot up Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: marc@marcchamberlin.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729) None of the code to instrument and report results, from startup of the network daemon, is recorded in the system log file. This is due to the fact that the syslog daemon is started up after the network daemon. The syslog daemon is specified as being dependent on the network daemon. But this design is shortsighted and not necessary if logging can be done on the local file system and not on a networked drive. (probably the most likely scenario for most people!) Reproducible: Always Steps to Reproduce: 1. Start up a system with network interfaces 2. Look for messages from the network daemon in the system messages log file 3. Actual Results: No log messages from the network daemon are reported. Expected Results: I expect to see messages informing me as to whether the network daemon successfully started up, and what interfaces were initialized.. I suggest breaking the syslog daemon into two parts, one for logging on the local file system, and a later more expanded version that can handle logging to a networked device. Then start the first syslog daemon right after the local filesystem is initialized. In this way the network daemon can report the results of it's instrumented scripts. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c1
Dr. Werner Fink
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c2
Marc Chamberlin
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c3
Dr. Werner Fink
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c4
--- Comment #4 from Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c5
--- Comment #5 from Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c6
--- Comment #6 from Marc Chamberlin
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c7
--- Comment #7 from Marc Chamberlin
Marc,
the syslog service is already splitted -- there are two scripts:
- /etc/init.d/earlysyslog, that is responsible to log the early startup messages and - /etc/init.d/syslog, that takes over when the network is up
Does it not work for you?
Can you provide your /etc/syslog* configs and the output of: ls -1d /etc/init.d/rc*.d/S*
We are using rsyslogd by default and it supports several nice features, that I may enable for 11.3. It is able to use a disk-assisted queue.
That is, we can improve the default setup I think -- I'll test it out.
Marius - Well this sounds interesting and hopeful! I have not dug into this very far so please bear with me... I was having troubles with my laptop initializing it's network interfaces (in particular the wireless one) and was searching through the messages logs file (and others) and noted nothing was being reported from the network daemon when it is started.. This lead me to do a bit of exploring of the inet.d startup sequence when I noted that the local file system daemon is first to be started, then the network daemon, then the remote file system, and finally the rsyslog daemon. I also noted that the rsyslog daemon was dependent on the network and remote file system daemons, hence that lead me to file this bug report, as I felt logging should be done earlier to the local file system and not entirely dependent on having the remote file system daemon or the network daemon running first. (Both of these could be logging to the local file system until the remote logging is available...) So, to answer your question, no - early syslogging is not working for me. I noticed the reference to it in the scripts, but also some comment about it not being fully tested or guaranteed to be functional. I also notice another conf file - rsyslog.early.conf that looks promising, but I have not tracked down where it is used. I do not have any syslog.conf files in /etc but do have the rsyslog.conf and rsyslog.early.conf file which I will attach for you. Also attached is the output of the ls command you requested... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c8
--- Comment #8 from Marc Chamberlin
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c9
--- Comment #9 from Marc Chamberlin
http://bugzilla.novell.com/show_bug.cgi?id=606972
http://bugzilla.novell.com/show_bug.cgi?id=606972#c10
Marc Chamberlin
https://bugzilla.novell.com/show_bug.cgi?id=606972
https://bugzilla.novell.com/show_bug.cgi?id=606972#c11
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com