search for: eexist

Displaying 20 results from an estimated 489 matches for "eexist".

Did you mean: exist
2010 Mar 08
1
Getting EEXIST out of make_bak_dir()
...;& make_bak_dir(backupptr) == 0) { Does make_bak_dir simply need to trap for that error, like: /* Try to find an existing dir, starting from the deepest dir. */ while (1) { if (--p == fbuf) return -1; if (*p == '/') { *p = '\0'; if (mkdir_defmode(fbuf) == 0 || errno == EEXIST) // <-- Trap for EEXIST? break; if (errno != ENOENT) { rsyserr(FERROR, errno, "make_bak_dir mkdir %s failed", full_fname(fbuf)); return -1; } } } Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba....
2009 Aug 20
1
header containing (PR#13834)
.... The R mkdir function invokes do_dircreate in platform.c. The logic in this function, when the recursive option is set, attempts to mkdir() all of the antecedent elements of the directory, including directories that may already exist. The function is configured to therefore ignore the "eexist" error returned when do_dircreate attempts to create a directory that already exists. The problem thus arises when the directory is, in fact, an automount point. Linux returns "eexist" and works. Solaris returns "enosys" and thus fails. I was able to get this to work...
2012 Mar 23
0
Getting EEXIST out of make_bak_dir()
Hello everybody, this is a reply to the discussion found at: http://comments.gmane.org/gmane.network.rsync.general/22018) I still get this error from time to time, so I suppose it is not fixed in version 3.0.9. Just downloaded the patch and recompiled will test the next days. Is there a bug report for this in bugzilla? Could not find anything. -- Best regards, Chris
2010 Jul 30
1
Problem with installing Rails 2.3.8 on Ubuntu 10.04
...nal(1, 2):Rational Exception `Gem::LoadError'' at /usr/local/lib/site_ruby/1.8/rubygems.rb: 779 - Could not find RubyGem test-unit (>= 0) Exception `Gem::LoadError'' at /usr/local/lib/site_ruby/1.8/rubygems.rb: 779 - Could not find RubyGem sources (> 0.0.1) Exception `Errno::EEXIST'' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /root/.gem/specs/rubygems.org%80 Exception `EOFError'' at /usr/lib/ruby/1.8/net/protocol.rb:135 - end of file reached Exception `Errno::EEXIST'' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /root/.gem/specs/rub...
2008 Jan 30
3
Not all mongrel starting (Errno:EEXIST)
...d and log/mongrel.8000.log for info. ** Starting Mongrel listening at 127.0.0.1:8000 ** Starting Rails with production environment... deployment/installed/ruby/lib/ruby/1.8/fileutils.rb:243:in `mkdir'': File exists - /deployment/installed/myapp/releases/20080130211150/public/bundles (Errno::EEXIST) from /deployment/installed/ruby/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'' from /deployment/installed/ruby/lib/ruby/1.8/fileutils.rb:172:in `mkdir'' from /deployment/installed/ruby/lib/ruby/1.8/fileutils.rb:171:in `each'' from /deployment/...
2013 Nov 15
7
Subvolume creation returns file exists
...has a single empty directory. I don''t know about the metadata, at this point. The problem goes away if we disable and re-enable the quota. It all seems to be some dead metadata lying around. Next are some facts about this. Since we found that it''s the ioctl call which returns EEXIST, the place to further track the problem down was into the kernel module, which assumes that the userspace tools are not generating the problem. Here is a high level traceback of the problem: ioctl.c:create_subvol() returns -EEXIST cgroup.c:btrfs_qgroup_inherit() returns -EEXIST qgr...
2007 Dec 02
1
Quick fix for nfs-workarounds.c
Hi, Under Solaris 8, the rmdir() command returns EEXIST instead of ENOTEMPTY if an rmdir() is attempted on a directory with files still in it. Dovecot 1.1beta9 currently gives tons of errors in the logfile as a result of the code not checking for the right error value. The function nfs_flush_file_handle_cache_dir() in nfs-worksarounds.c probably needs...
2004 Dec 11
1
ogg123
I have vorbis-tools 1.1 (also tested on svn version), I have problem with play any ogg vorbis file as user rmrmg: [rmrmg@slack:~$] ogg123 ./av/lep.ogg Segmentation fault All works fine as _any_ other user. I have not any ~/.libao file. What can be the reason of my problem? Do you have any idea? -- . JID: rmrmg(at)jabberpl(dot)org | Wszystko jest trudne . mail: rmrmg(at)wp(dot)pl | przy
2015 Jan 18
0
PXE Error Reporting
...in this case. Will take a look at this. Sebastian --- tftp-hpa-5.2/tftpd/tftpd.c.orig 2015-01-16 21:45:30.790798281 +0100 +++ tftp-hpa-5.2/tftpd/tftpd.c 2015-01-18 23:44:28.031177383 +0100 @@ -1504,6 +1504,8 @@ static int validate_access(char *filenam return ENOSPACE; case EEXIST: return EEXISTS; + case EACCES: + return EACCESS; default: return errno + 100; }
2015 Jan 20
3
PXE Error Reporting
...bastian Herbszt wrote: > > --- tftp-hpa-5.2/tftpd/tftpd.c.orig 2015-01-16 21:45:30.790798281 +0100 > +++ tftp-hpa-5.2/tftpd/tftpd.c 2015-01-18 23:44:28.031177383 +0100 > @@ -1504,6 +1504,8 @@ static int validate_access(char *filenam > return ENOSPACE; > case EEXIST: > return EEXISTS; > + case EACCES: > + return EACCESS; > default: > return errno + 100; > } I can't remember, but I have a vague recollection that someone specifically requested that EACCES be treated the same as...
2003 May 14
1
Creating and renaming mbox folders on NFS auto-installed partitions
...to call "access" to do this.... *** src/lib-storage/index/mbox/mbox-storage.c.orig Tue Apr 15 14:04:02 2003 --- src/lib-storage/index/mbox/mbox-storage.c Wed May 14 16:04:39 2003 *************** *** 38,44 **** p++; } ! if (mkdir(dir, CREATE_MODE) < 0 && errno != EEXIST) { t_pop(); return -1; } --- 38,44 ---- p++; } ! if ( (access(dir,F_OK) != 0) && mkdir(dir, CREATE_MODE) < 0 && errno != EEXIST) { t_pop(); return -1; } - - - (Could also remove the && errno == EEXIST part - it's redundant w...
2015 Jan 18
2
PXE Error Reporting
Hi, On 01/17/2015 12:57 AM, Sebastian Herbszt wrote: >> On 01/16/2015 12:19 AM, Sebastian Herbszt wrote: >>> Andreas Gruenbacher wrote: >>>> "Loading <FILE>... failed: No such file or directory" when the TFTP >>>> server replies with "Permission denied" for the kernel or initrd. >>> [...] >>> >>> The
2013 May 28
2
[PATCH] vhost-scsi: return -ENOENT when no matching tcm_vhost_tpg found
...c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 7014202..6325b1d 100644 --- a/drivers/vhost/scsi.c +++ b/drivers/vhost/scsi.c @@ -1219,7 +1219,7 @@ static int vhost_scsi_set_endpoint( } ret = 0; } else { - ret = -EEXIST; + ret = -ENOENT; } /* -- 1.7.1
2013 May 28
2
[PATCH] vhost-scsi: return -ENOENT when no matching tcm_vhost_tpg found
...c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 7014202..6325b1d 100644 --- a/drivers/vhost/scsi.c +++ b/drivers/vhost/scsi.c @@ -1219,7 +1219,7 @@ static int vhost_scsi_set_endpoint( } ret = 0; } else { - ret = -EEXIST; + ret = -ENOENT; } /* -- 1.7.1
2023 Mar 06
0
[PATCH drm-next v2 05/16] drm: manager to keep track of GPUs VA mappings
...m_gpuva_in_region(mgr, addr, range); >>>> + if (unlikely(!reg)) >>>> + return -EINVAL; >>>> + } >>>> + >>> >>> ----- >>> >>>> + if (unlikely(drm_gpuva_find_first(mgr, addr, range))) >>>> + return -EEXIST; >>>> + >>>> + ret = mas_store_gfp(&mas, va, GFP_KERNEL); >>> >>> mas_walk() will set the internal maple state to the limits to what it >>> finds. So, instead of an iterator, you can use the walk function and >>> ensure there is a lar...
2003 Jul 23
5
Asterisk as a stand alone voice mail server
I'm sure asterisk would make a great stand alone voice mail server. Basically I want to get rid of our voice mail system and replace it with *, but the problem is we use a cisco cluster with skinny clients. So I was thinking the way to contact a * server, would be through our 3640. But so far any attempt has failed. I am wondering if anyone has done something similar. Just want to verify the
2003 Sep 10
1
Patch for auto-creating home directories
...ail-process.c Wed Sep 10 12:16:06 2003 *************** *** 95,100 **** --- 95,136 ---- return str_c(str); } + static int create_directories(const char *directory, mode_t mask) + { + char *chunk, *slash, *path; + mode_t oldmask; + int result; + + if (mkdir(directory, 0777) == 0 || errno == EEXIST) + return TRUE; + + if (errno != ENOENT) + return FALSE; + + path = t_strdup_noconst(directory); + + oldmask = umask(mask); + + for (chunk = path; (slash = strchr(chunk, '/')); chunk = slash + 1) { + + if (slash > chunk) { + + *slash = '\0'; + result = mkdir(path,...
2020 Mar 12
3
[Bug 1413] New: Inconsistent EBUSY errors when adding a duplicate element to a map
https://bugzilla.netfilter.org/show_bug.cgi?id=1413 Bug ID: 1413 Summary: Inconsistent EBUSY errors when adding a duplicate element to a map Product: nftables Version: unspecified Hardware: x86_64 OS: Debian GNU/Linux Status: NEW Severity: normal Priority: P5
2012 Sep 06
2
[PATCH V4 01/12] Btrfs: fix error path in create_pending_snapshot()
...u64)-1; key.type = BTRFS_ROOT_ITEM_KEY; + rsv = trans->block_rsv; trans->block_rsv = &pending->block_rsv; dentry = pending->dentry; @@ -1018,10 +1016,9 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans, BTRFS_FT_DIR, index); if (ret == -EEXIST) { pending->error = -EEXIST; - dput(parent); goto fail; } else if (ret) { - goto abort_trans_dput; + goto abort_trans; } btrfs_i_size_write(parent_inode, parent_inode->i_size + @@ -1029,7 +1026,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans,...
2020 Feb 24
2
Re: [PATCH v2v v2 2/2] rhv-upload: Check that rhv-disk-uuid is not already taken (RHBZ#1789279)
...vice = connection.system_service() > disks_service = system_service.disks_service() > > + uuid = params.get('rhv_disk_uuid') > + if uuid is not None: > + try: > + disks_service.disk_service(uuid).get() > + nbdkit.set_error(errno.EEXIST) > + raise ValueError("Disk with the UUID '%s' already exists" % uuid) > + except sdk.NotFoundError: > + pass This check seems correct to me, although it is done too late: IMHO this is something to do in the precheck script, so we do not even...