Description of problem: If you try to unimport imported, uncached devices the command hangs. The gnbd_recvd process is ending, looks like the gnbd_monitor process is not. Version-Release number of selected component (if applicable): How reproducible: Yes. Steps to Reproduce: 1. (exporter) gnbd_export -d /dev/GFSVG/lvol1 -e IMPORTME 2. (importer) gnbd_import -i exporter 3. (importer) gnbd_import -R Actual results: gnbd_import process hangs. Expected results: Removal of all imported devices. Additional info:
gnbd_monitor did not start up the unix socket correctly in cvs version 1.3 of gnbd_monitor.c. This is fixed now.
Verified... [root@tank-02 gnbd]# gnbd_import -i tank-01 gnbd_import: created gnbd device IMPORTME gnbd_monitor: gnbd_monitor started. Monitoring device #0 gnbd_recvd: gnbd_recvd started [root@tank-02 gnbd]# gnbd_import -R gnbd_import: removed gnbd device IMPORTME [root@tank-02 gnbd]#