Description of problem: If you run gnbd_import without the device /dev/gnbd_ctl, the tool errors out trying to unlink this nonexistent file. cluster/gnbd/tools/gnbd_import/gnbd_import.c: get_dev() needs to handle this case better. [root@link-12 root]# modprobe gnbd [root@link-12 root]# gnbd_import gnbd_import: ERROR cannot remove /dev/gnbd_ctl : No such file or directory [root@link-12 root]# ls -l /dev/gnbd* ls: /dev/gnbd*: No such file or directory [root@link-12 root]# Version-Release number of selected component (if applicable): [root@link-12 gnbd_import]# gnbd_import -V gnbd_import DEVEL.1088451293 (built Jun 28 2004 14:41:24) Copyright (C) Red Hat, Inc. 2004 All rights reserved. How reproducible: Steps to Reproduce: 1. modprobe gnbd 2. gnbd_import 3. Actual results: Expected results: Additional info:
There was a check in gnbd_import that tried to remove a file if it wasn't present. It no longer does this, as it was pretty obviously not correct. The update has been checked in to cvs on s.r.c
Verified