Merge lp:~free.ekanayaka/landscape-client/socket-locks-fix into lp:~landscape/landscape-client/trunk
Proposed by
Free Ekanayaka
Status: | Merged |
---|---|
Approved by: | Gavin Panella |
Approved revision: | 287 |
Merge reported by: | Free Ekanayaka |
Merged at revision: | not available |
Proposed branch: | lp:~free.ekanayaka/landscape-client/socket-locks-fix |
Merge into: | lp:~landscape/landscape-client/trunk |
Diff against target: |
195 lines (+47/-13) 10 files modified
debian/changelog (+6/-0) debian/landscape-client.init (+10/-0) landscape/broker/tests/test_service.py (+1/-0) landscape/manager/tests/test_service.py (+2/-0) landscape/monitor/tests/test_service.py (+3/-0) landscape/reactor.py (+1/-1) landscape/service.py (+2/-1) landscape/tests/helpers.py (+14/-10) landscape/tests/test_reactor.py (+7/-1) landscape/tests/test_service.py (+1/-0) |
To merge this branch: | bzr merge lp:~free.ekanayaka/landscape-client/socket-locks-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Björn Tillenius (community) | Approve | ||
Review via email: mp+32314@code.launchpad.net |
Description of the change
This branch fixes the client shutdown sequence, given Twisted the chance of unlinking sockets files and symlinks.
To post a comment you must log in.
< BjornT> free: can you expand a bit on what effect removing.
self. port.stopListen ing() does? is that what fixes the issue,.
self.port. stopListening( ) and replacing reactor.crash() with.
reactor. stop()
changelog? shouldn't it list what got fixed?
or is it lines 93-94, and the rest are just cosmetic changes?
< free> BjornT: two things fix the issues, removing.
< free> BjornT: this makes the shutdown sequence compliant with what.
Twisted requires
< free> BjornT: and cleans up the sockets
< BjornT> free: ok, sounds good. what about the addition to the.
< free> BjornT: I just added it to bump the version of the builds in the.
PPA, we will finalize it when we do the actual release with.
everything that was changed
< BjornT> free: ok, i trust you :)
< BjornT> +1