[Bug 287411] Kernel loses track of CWD of process
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=287411
--- Comment #57 from Orion Poplawski <orion(a)cora.nwra.com> 2009-05-28 12:03:30 EDT ---
Removing 05-netfs does prevent the problem from occurring.
/etc/NetworkManager/dispatcher.d/05-netfs is part of initscripts. This
approach does make more sense for the laptop case where the machine is likely
to be in another location when it wakes up. The better long term solution is
probably more graceful handling of the disappearance of NFS servers, but I'm
not sure how realistic that is. In the meantime, I'm not sure how you
distinguish between the desktop and laptop case.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
14 years, 11 months
[Bug 136141] syntax errors in syslogd.conf cause lost log messages without warning
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=136141
--- Comment #23 from Rainer Gerhards <rgerhards(a)hq.adiscon.com> 2009-05-28 10:39:05 EDT ---
I have now looked at the code (also, patch is applied). I think it probably is
not sufficient to return an exit state. There are some other (exotic)
conditions that can stop startup, like not being able to create a queue (for
whatever wild reason). In those cases, messages are emitted to stderr, too. So
it would probably make more sense to keep stderr open after the fork and
continue to emit messages to there.
What do you say?
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
14 years, 11 months
[Bug 136141] syntax errors in syslogd.conf cause lost log messages without warning
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=136141
--- Comment #21 from Tomas Heinrich <theinric(a)redhat.com> 2009-05-28 09:44:32 EDT ---
>> I forgot to mention: error messages go to stderr by default.
> Doesn't work in Fedora 10. One mistyped selector, and an entire rule is ignore
> silently. See comment 14.
By the time rsyslog parses the config file, it is already forked and without
access to stderr.
(Rainer, there's actually a bug in that rsyslog always tries to write to
stderr. :) When forked, it accidentally writes to the file opened with fd 2.
Hope the patch got to you.)
So IMO a reasonable solution is to change the code to return some non-zero
value when -N encounters an error, run rsyslog -N first, discard the output as
not to spam the screen and if retval != 0, print a warning about config file
syntax a then start the daemon.
What do you say?
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
14 years, 11 months