Bug 15155 - hangs on pmap_dump
Summary: hangs on pmap_dump
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: portmap (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-29 21:05 MSK by Michael Shigorin
Modified: 2008-04-03 21:06 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2008-03-29 21:05:44 MSK
While upgrading the package, post_service results in calling pmap_dump:

apt-get---sh---post_service---service---portmap---pmap_dump

which then hangs on an attempt to connect to a system's external IP which is
firewalled down:

connect(3, {sa_family=AF_INET, sin_port=htons(111),
sin_addr=inet_addr("a.b.c.d")}, 16

Disabling iptables for a few seconds results in successful exit.

It was mentioned that pmap_dump should attempt a connection to 127.0.0.1, not
any other IP on the system.
Comment 1 Dmitry V. Levin 2008-04-03 20:41:05 MSD
fixed in 6.0-alt1
Comment 2 Michael Shigorin 2008-04-03 21:06:18 MSD
TNXe6 :)