fix fix-vhost-user-socket-permission.patch for 16.07 89/3189/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Wed, 28 Sep 2016 12:29:52 +0000 (14:29 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Thu, 29 Sep 2016 07:13:40 +0000 (09:13 +0200)
commit87653cd9228021dc474cd21fbe3476f82a4d6c12
tree0e45e6bc050e2112208cd1886e5e4b839fa2b3db
parent06406d4770431f05f8e80e173b0dc9cf93956804
fix fix-vhost-user-socket-permission.patch for 16.07

Since preparation and actual creation of sockets was split to support
client/server sockets the call to fix up the sockets permissions has to
be moved until after the fd is created.
Otherwise the chmod/chown will fail with:
 EAL: vhost-user socket cannot set permissions to 0666 (Unknown error -1).
 EAL: vhost-user socket unable to set ownership to libvirt-qemu:kvm (Unknown
  error -1).

Change-Id: Ia91eda2f5b217a5a9aa6c2f5ddf2c882048e42b8
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
debian/patches/fix-vhost-user-socket-permission.patch