Richard W.M. Jones
2017-Apr-13 16:06 UTC
Re: [Libguestfs] [PATCH v2 1/2] daemon: run 'udevadm settle' with --exit-if-exists option
On Thu, Apr 13, 2017 at 07:01:09PM +0300, Pavel Butsykin wrote:> I missed that that reply_with_error is not just error output, but may > lead to termination of the client. Agree.That's right -- reply_with_error sends a protocol message back to the client, so it's important to only call it when the client (ie. the library) is expecting it. In this case, just ignore the error or call perror or fprintf (stderr, ...). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Maybe Matching Threads
- Re: [PATCH v2 1/2] daemon: run 'udevadm settle' with --exit-if-exists option
- Re: [PATCH 1/2] daemon: run 'udevadm settle' with --exit-if-exists option
- Re: [PATCH 2/2] daemon: add udev_settle_file to is_root_device
- Re: [PATCH v2 2/2] daemon: add udev_settle_file to is_root_device
- [PATCH] daemon/RHEL: Choose correct udev settle script.