Displaying 20 results from an estimated 300 matches similar to: "Issue with child process exits"
2005 Jan 24
0
AW: sshd hangs
hello
applied the patch described below - unfortunately we still experience
rare hangs of the remote sshd. not surprising as the patch only changes
a few lines in server_loop() - but not in server_loop2() which i used
for non-interactive sessions.
process id of hanging sshd: 26110
process is sleeping forever in poll (why does server_loop2() sleep
forever?):
root at XXX:~# truss -fp 26110
26110:
2005 Jan 19
1
sshd hangs
using openssh-3.8.1p1 from sunfreeware.com on a SunOS XXX 5.8
Generic_117000-03 sun4u sparc SUNW,Sun-Fire-V240.
sshd seems to ignore or miss SIGCLD. this is a rare behaviour we observe
about once per week in a ssh intensive environment.
the process hangs here:
truss:
24453: poll(0xFFBEEF28, 2, -1) (sleeping...)
gcore, mdb:
libc.so.1`_poll+4(b, 0, 0, ffbeef38, 6fc40,
2001 Oct 31
2
suggested fix for the sigchld race
comments?
alternatives: sigsetjmp(ugly) and pselect(not portable, available)
drawback: additional filedescriptors.
Index: serverloop.c
===================================================================
RCS file: /home/markus/cvs/ssh/serverloop.c,v
retrieving revision 1.82
diff -u -r1.82 serverloop.c
--- serverloop.c 10 Oct 2001 22:18:47 -0000 1.82
+++ serverloop.c 11 Oct 2001 18:06:33 -0000
@@
2001 Oct 10
7
OpenSSH solaris: bad return code after exec of remote command
Hi OpenSSH developers,
I am using openSSH (now 2.9.9p2, but prob occurs in 2.9p2 also) to execute
commands on a remote machine which outputs data to stdout then pipes it to
another invocation of ssh which connects back to the first machine in the same
way, where it starts a program to read and store the output from the command on
the second machine. I am using the "command" option in
2000 Oct 27
1
Typo in 2.2.0p1 ??
I don't already figure out what is the real impact of this but I think there is
a typo in function sigchld_handler() in serverloop.c (l 75).
It is written
if (WIFEXITED(child_wait_status) ||
WIFSIGNALED(child_wait_status))
child_terminated = 1;
child_has_selected = 0;
But I think one actually means:
if (WIFEXITED(child_wait_status) ||
WIFSIGNALED(child_wait_status)) {
2001 Jul 09
1
sshd problem on Solaris 7: Control-C hangs shell
I have a strange problem with sshd (from openssh-2.9p2) on Solaris 7. My shell is bash. When I open an ssh session , and type a Control-C to bash's prompt, the shell hangs. (But, if I for instance run "sleep 10" (during which time the pty is in cooked mode) and press Control-C, the sleep command is interrupted quite normally, and the bash prompt returns.)
Adding some debugging
2009 Oct 09
1
[PATCH node] validify ipv4/ipv6 static/dhcp choice else loop
If you select an option that's not listed during ipv4/ipv6 setup it will accept it without verification. This corrects that behavior and forces a valid option to be picked.
---
scripts/ovirt-config-networking | 106 +++++++++++++++++++++------------------
1 files changed, 58 insertions(+), 48 deletions(-)
diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking
index
2009 Jul 13
1
[PATCH node] Adds vlan support to auto-installations for the node. bz#511056
If the vlan kernel argument is provided, then it is used during
networking auto-configuration.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-networking | 56 ++++++++++++++++++++++++++++++++------
scripts/ovirt-early | 7 ++++-
2 files changed, 53 insertions(+), 10 deletions(-)
diff --git a/scripts/ovirt-config-networking
2001 Oct 25
2
SIGCHLD race *trivial* patch
Yes, this is a patch against an older version of OpenSSH with other
stuff anyways, BUT, it's so TRIVIAL(*), that you can see how it would
apply to newer versions (which I've not tried).
Here's the gist: server_loop2() has a race condition with respect to
reception of SIGCHLD and checking/setting child_terminated. This patch
does two things: wait_until_can_do_something() adds a 1
2008 Sep 01
1
linebreak in mathematical anotation?
Hi
I am using mathematical anotation to make the labels in a barplot in
italics. as an example (adapted from
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/129808.html):
tt <- c("italic(First~~set)", "italic(Second~~set)", "italic(third~~set")
barplot(1:3, names.arg=parse(text=tt))
But I would like to have it with "set" in a second column, like
tt
2001 Sep 18
1
SIGCHLD race condition?
We use ssh (RedHat 2.5.2p2-5) heavily in non-interactive mode, for
managing servers from central controllers, and transferring applications/
data around networks.
Very occasionally we've seen the situation where the ssh client and
server are both stuck in select, both selecting on only the tcp socket
of the connection, and with no timeout. No children of sshd remain (even
as zombies), and it
2009 Jun 25
1
[PATCH node] Rerunning network config resets all network config. bz#507393
When the user runs o-c-networking then it ensures that all features of
networking that we configure are reset and only those settings touched
are applied.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-networking | 46 +++++++++++++++++++++++++-------------
1 files changed, 30 insertions(+), 16 deletions(-)
diff --git a/scripts/ovirt-config-networking
2009 May 22
0
[PATCH node] Restricts network configuration to a single NIC.
If an existing set of configuration files exist they are deleted. While
in the configuration menu, only one NIC is configured. If the user
selects a second network card to configure then the previous
configuration is discarded and only the new one saved.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-networking | 29 ++++++++++++++++++++++++++---
1 files
2001 Jan 18
1
sigchld_handler2.
On 2.3.0p1, we have been experiencing the SSH2 stdout truncation problem
that was reported by a few users.
I built the 20010115 snapshot. It seems to correct the problem but
before I was able to test it, I had to change sigchld_handler2 so it
would not reset the signal handler before waitpid is called. On Irix, it
seems a SIGCHLD is delivered for ever...
I haven't tried the last snapshots so
2016 Feb 16
0
[PATCH] fish: reset the console on ^Z RHBZ#1213844
Patch registers SIGTSTP hook where it sends reset terminal color
control sequence.
---
fish/fish.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/fish/fish.c b/fish/fish.c
index d26f8b3..b579898 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -73,6 +73,11 @@ static void cleanup_readline (void);
static char *decode_ps1 (const char
2003 Mar 17
1
Changes to OpenSSH for NetWare
I have attached a diff file with the changes to existing OpenSSH source
files to
accomodate the NetWare platform. All changes are #ifdef wrapped using
one in
one of the following defines:
HAVE_NETWARE - Building for NetWare
USE_EDIR - Using eDirectory(TM) for authentication.
NICI - Using Novell International Cryptography Infrastructure
(NICI)
I have successfully built the OpenSSH-3.5p1
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
Added a new function, "ask_yes_or_no", to ovirt-functions. It contains a
default prompt if none is provided.
Changed all prompts that ask for yes, no and/or abort to use this new
method.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-boot-wrapper | 8 ++---
scripts/ovirt-config-collectd | 39 +++++++++++++++-----------
2009 Nov 11
1
[PATCH] Static IPv4 addresses entered are validated when they're entered.
If the address is not blank then it is validated. Only those that are
properly formed are accepted. Otherwise an error message is displayed
and the user is prompted again.
Resolves: rhbz#536912 - validation for static IP should be optimized
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-networking | 28 +++++++++++++++++++++++++---
1 files changed, 25
2004 Apr 06
0
Accuracy Bug (PR#1228), (PR#6743)
>>>>> "daheiser" == daheiser <daheiser@gvn.net>
>>>>> on Tue, 6 Apr 2004 04:24:35 +0200 (CEST) writes:
daheiser> It is an error in the algorithm.
"it" being the behavior reported in bug report PR#1228 ---
[too bad you didn't use the whole string "PR#1228" in your subject;
if you had, no new report would have
2010 Oct 25
0
[PATCH node] add network.py script
---
scripts/network.py | 207 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 207 insertions(+), 0 deletions(-)
create mode 100644 scripts/network.py
diff --git a/scripts/network.py b/scripts/network.py
new file mode 100644
index 0000000..28e32f2
--- /dev/null
+++ b/scripts/network.py
@@ -0,0 +1,207 @@
+#!/usr/bin/python
+
+from ovirtfunctions import *
+import tempfile