Fixed: libvirt/libvirt#3167 (master - f16663d)

Travis CI builds at travis-ci.org
Tue Feb 25 10:56:23 UTC 2020


Build Update for libvirt/libvirt
-------------------------------------

Build: #3167
Status: Fixed

Duration: 40 mins and 24 secs
Commit: f16663d (master)
Author: Michal Privoznik
Message: security: Don't fail if locking a file on NFS mount fails

The way that our file locking works is that we open() the file we
want to lock and then use fcntl(fd, F_SETLKW, ...) to lock it.
The problem is, we are doing all of these as root which doesn't
work if the file lives on root squashed NFS, because if it does
then the open() fails. The way to resolve this is to make this a
non fatal error and leave callers deal with this (i.e. disable
remembering) - implemented in the previous commit.

https://bugzilla.redhat.com/show_bug.cgi?id=1804672

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
Reviewed-by: Peter Krempa <pkrempa at redhat.com>

View the changeset: https://github.com/libvirt/libvirt/compare/6eb9bb9cf152...f16663d58f7a

View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/654826911?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the libvirt/libvirt repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=4872032&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-ci/attachments/20200225/cfb464e3/attachment.htm>


More information about the Libvirt-ci mailing list