Well. Provide a piece of code as a workaround. compile the following C code:
========================
#include "signal.h"

int main( int argc, char ** argv )
{

        sigset_t oldset, newset;
        sigfillset( &newset );
        sigprocmask( SIG_UNBLOCK, &newset, &oldset );
        int pid = fork();
        if ( pid == 0 )
        {
                execvp( argv[1], &(argv[1]) );
                perror("\n");
        }
        else
        {
                printf("father return;\n");
        }
}
=========================
gcc -o sigwapper thisfile.c
=========================
Use the program to fix the problem as workaround. need root privilege :
=========================
$ ./sigwapper /etc/init.d/ssh restart
=========================
Check if the C + c is back or not.

-- 
sshd zombie processes and strange behavior after karmic upgrade
https://bugs.launchpad.net/bugs/407428
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to