partimaged refuse clients connections (socket CLOSE_WAIT nerver ends)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partimage (Debian) |
Fix Released
|
Unknown
|
|||
partimage (Fedora) |
Fix Released
|
Undecided
|
Unassigned | ||
partimage (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: partimage
Hello,
After constating this symptom: http://
I can propose the patch joined. This one seems to work correctly on one of the server I'm on charge under Fedora. This patch was also proposed to the maintainer of this software for Fedora. I also use ubuntu machines to store disks images via partimage-server. So, I would be glad if this package should be updated.
I'm not a specialist in packaging, nor in developing software, so the best I can do is to submit a patch.
To help to generated a new package (I hope that it will be back-ported to Hardy), I can provide this little description written in trying to respect changelog files rules :
* Partimaged - added patch to fix bug #491081 in linux.debian.
- Fix/workaround CLOSE_WAIT bug on socket since patch that introduced
fork in main loop.
- Added -n commutator to specify the number of MAX_CLIENT desired on
command line.
- modified files:
- /src/server/
- /src/server/
- /src/server/
- /src/server/
- /src/server/
- /src/server/
- /src/server/
- /src/server/
- /src/server/
- /src/shared/
All these modifications are propositions and should not be considered
as strong fixes/additions before Guru's validations.
-- Nicolas Viéville <email address hidden> Tue, 16 Dec 2008 18:10:07 +0100
I hope this could help and be useful.
Regards,
--
Nicolas Viéville
tags: | added: precise trusty upgrade-software-version xenial yakkety |
Changed in partimage (Debian): | |
status: | Unknown → New |
Changed in partimage (Debian): | |
status: | New → Fix Released |
Hello,
Sorry, but the patch supplied in my first post introduced a new bug (infinite loop in catch_sigchild function in partimaged- main.cpp) . This new one fix it and add more Debug messages to the server side of partimage.
This new patch replace the first one which mustn't be used anymore.
Apologies for the first buggy patch.
--
Nicolas Viéville