[Bug 308696] [NEW] partimaged refuse clients connections (socket CLOSE_WAIT nerver ends)
Viéville
nicolas.vieville at univ-valenciennes.fr
Tue Dec 16 18:35:46 UTC 2008
Public bug reported:
Binary package hint: partimage
Hello,
After constating this symptom:
http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/c6ff02ec8fa54778
(bug#491081 in linux.debian.bugs.dist) on last partimage-server-0.6.7-1
package on Ubuntu Hardy 8.04.1 LTS (description file is
partimage_0.6.7-1.dsc), disabling the ability of partimaged to respond
on client's requests once the MAX_CLIENT was reached, I've search for a
workaround.
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.bugs.dist
- 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/netserver.cpp
- /src/server/netserver.h
- /src/server/partimaged-client.cpp
- /src/server/partimaged-client.h
- /src/server/partimaged.cpp
- /src/server/partimaged-gui_newt.cpp
- /src/server/partimaged-gui_newt.h
- /src/server/partimaged.h
- /src/server/partimaged-main.cpp
- /src/shared/structures.h
All these modifications are propositions and should not be considered
as strong fixes/additions before Guru's validations.
-- Nicolas Viéville <nicolas.vieville at univ-valenciennes.fr> Tue, 16
Dec 2008 18:10:07 +0100
I hope this could help and be useful.
Regards,
--
Nicolas Viéville
** Affects: partimage (Ubuntu)
Importance: Undecided
Status: New
--
partimaged refuse clients connections (socket CLOSE_WAIT nerver ends)
https://bugs.launchpad.net/bugs/308696
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list