[Bug 470761] New: rpcinfo -p $SOMEHOST hangs and can't be interrupted
https://bugzilla.novell.com/show_bug.cgi?id=470761 Summary: rpcinfo -p $SOMEHOST hangs and can't be interrupted Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5 If $SOMEHOST is up but firewalled off (as most are due to SuSEfirewall2 - a good thing!), rpcinfo will *hang* and *can't* be interrupted (control-c does not interrupt, control-z won't background it, etc....) Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470761 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |nfbrown@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470761 User nfbrown@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470761#c1 Neil Brown <nfbrown@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|nfbrown@novell.com |pbaudis@novell.com --- Comment #1 from Neil Brown <nfbrown@novell.com> 2009-01-29 20:14:47 MST --- Yes. This is very easy to reproduce. You can simply try to "rpcinfo -p' a non-existent address like rpcinfo -p 1.1.1.1 and find that nothing but SIGKILL (or a 3 minute wait) will kill it. An 'strace' of rpcinfo shows: 15:58:21 rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0 15:58:21 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=8*1024}) = 0 15:58:21 mmap2(NULL, 397312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e27000 15:58:21 getpeername(3, 0xbff951a8, [128]) = -1 ENOTCONN (Transport endpoint is not connected) 15:58:21 connect(3, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("192.168.1.3")}, 16) = -1 ETIMEDOUT (Connection timed out) 16:01:30 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 16:01:30 --- SIGTERM (Terminated) @ 0 (0) --- 16:01:30 +++ killed by SIGTERM +++ So it is using rt_sigprocmask to block all signals other than RTmin and RT_1. This clearing include SIGINT, SIGTERM SIGSTOP etc. All of this code (rpcinfo, the rpc libraries, and everything else) is in the glibc package, so I'll reassign to the maintainer of glibc. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470761 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470761#c2 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pbaudis@novell.com |mkoenig@novell.com --- Comment #2 from Petr Baudis <pbaudis@novell.com> 2009-01-30 02:44:57 MST --- rpcinfo -> rpcbind maintainer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470761 User hvogel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470761#c4 Hendrik Vogelsang <hvogel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM --- Comment #4 from Hendrik Vogelsang <hvogel@novell.com> 2009-03-09 08:22:42 MST --- please report upstream. http://sourceforge.net/tracker/?group_id=183075 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com