Controlling terminal issues

General discussions here

Moderator: rgerhards

Controlling terminal issues

Postby charlieb00 » Fri Jun 26, 2009 12:47 am

Between 4.1.7 and 4.2.0, rsyslogd's behavior has changed:

4.1.7 - ssh to host. /etc/init.d/rsyslog restart or stop/start. Ctl-D or exit. Back to desktop session.
4.2.0 - ssh to host. /etc/init.d/rsyslog restart or stop/start. Ctl-D or exit. SSH terminal session hangs.

This usually happens when stderr is left open. Is this desired behavior for the daemon? It is causing issues with some of my configuration tools.
charlieb00
New
 
Posts: 6
Joined: Fri Jun 26, 2009 12:37 am

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: Controlling terminal issues

Postby rgerhards » Mon Jun 29, 2009 11:09 am

It is desired behavor with undesired side-effects. I knew I should have put this through the beta phase first (it always hits me if I try to shortcut changes...).

Please see this (external) bug tracker:

https://bugzilla.redhat.com/show_bug.cgi?id=136141

I will now see that I change it so that stderr is closed after the initial initialization. Sorry for the hassle, this case once more reminds me that *all* changes except *real* bug fixes belong into the master branch only. I'll see if there is an easy fix, else I remove that functionality from 4.2.0 and introduce it to 4.5.0 again.

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Re: Controlling terminal issues

Postby rgerhards » Mon Jun 29, 2009 11:33 am

I have crafted a patch:

http://git.adiscon.com/?p=rsyslog.git;a ... e363cb702f

I would appreciate if you could try it and report back.
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Re: Controlling terminal issues

Postby charlieb00 » Mon Jun 29, 2009 7:59 pm

Fantastic. Thanks for the patch!
charlieb00
New
 
Posts: 6
Joined: Fri Jun 26, 2009 12:37 am

Google Ads



Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron