On Mon, Jul 30, 2012 at 03:18:17PM -0700, Ben Pfaff wrote: > open() with O_CREAT|O_EXCL yields EEXIST if the name passed in is a > symlink, but we would like "ovsdb-tool create /etc/openvswitch/conf.db" to > work if /etc/openvswitch/conf.db is a symlink to elsewhere in the file > system. This commit fixes the problem. It introduces a theoretical race, > but no one should be doing "ovsdb-tool create" in parallel anyhow; O_EXCL > is just an idiot check here, not required to be fail-safe. > > Debian bug #681880. > CC: 681...@bugs.debian.org > Reported-by: Bastian Blank <wa...@debian.org> > Signed-off-by: Ben Pfaff <b...@nicira.com>
Reviewed-by: Simon Horman <ho...@verge.net.au> -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org