drakkar-lig / walt-python-packages

Home of walt-node, walt-server, walt-client and walt-common python packages.
https://walt-project.liglab.fr
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Screen session of a virtual node may not be killed on daemon stop. #21

Closed eduble closed 5 years ago

eduble commented 5 years ago

If we have 2 nodes vnode1 and vnode10, the daemon will send the following commands before ending:

screen -S walt.node.vnode1 -X kill
screen -S walt.node.vnode10 -X kill

But substring walt.node.vnode1 will actually match the two screen sessions (it is a substring of walt.node.vnode10 too!) and fail. Thus the session will not be killed.