Displaying 20 results from an estimated 38 matches for "inotify_add_watch".
2016 Jan 28
1
[PATCH] inotify_add_watch: pass IN_ALL_EVENTS as mask for test
...ion(+), 1 deletion(-)
diff --git a/generator/actions.ml b/generator/actions.ml
index 0d227cf..24c6eb7 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -7274,7 +7274,7 @@ per libguestfs instance." };
InitScratchFS, Always, TestResult (
[["mkdir"; "/inotify_add_watch"];
["inotify_init"; "0"];
- ["inotify_add_watch"; "/inotify_add_watch"; "1073741823"];
+ ["inotify_add_watch"; "/inotify_add_watch"; "4095"];
["touch"; "/inotify_a...
2020 Jun 24
1
inotify_add_watch returned Permission denied
...w trying to integrate new NFS Shares from an archive provider, but samba gets crashed when a client tries to access files on these shares. New start of samba is required! In the smbd.log, I see these entries:
[2020/06/24 17:58:23.118208, 1] ../../source3/smbd/notify_inotify.c:442(inotify_watch)
inotify_add_watch returned Permission denied
[2020/06/24 17:58:23.120298, 1] ../../source3/smbd/notifyd/notifyd.c:473(notifyd_apply_rec_change)
notifyd_apply_rec_change: sys_notify_watch for [/lfs/EDA/DATA/SHARES/austausch/qx10311/EDA_TEST] returned Permission denied
[2020/06/24 17:58:25.519569, 1] ../../source3...
2019 May 07
0
Symlinked mailboxes and dovecot-uidlist.lock
...tc folders are rwxrwx--- or
rw-rw----.? All mail gets created and delivered correctly, both users
can move and create files, and everything generally seems to be working
fine.? However, I did notice one error showing up in the system logs:
May 2 11:35:13 userserver dovecot: imap(user1): Error:
inotify_add_watch(/home/user1/Maildir/dovecot-uidlist.lock) failed:
Permission denied
May 2 11:36:27 userserver dovecot: imap(user2): Error:
inotify_add_watch(/home/user2/Maildir/dovecot-uidlist.lock) failed:
Permission denied
May 3 10:10:11 userserver dovecot: imap(user2): Error:
inotify_add_watch(/home/user2/M...
2006 Dec 22
1
Correct usage of NFS mounted Maildirs
...8.26.64.5
dovecot: Dec 22 11:23:24 Info: imap-login: Login: user=<nfsuser1>,
method=plain, rip=138.26.64.50, lip=138.26.64.5
dovecot: Dec 22 11:24:48 Info: imap-login: Login: user=<nfsuser1>,
method=plain, rip=138.26.64.50, lip=138.26.64.5
dovecot: Dec 22 11:26:43 Error: IMAP(nfsuser1):
inotify_add_watch(/nethome/facstaff/nfsuser1/Maildir/.Trash/new) failed:
Stale NFS file handle
dovecot: Dec 22 11:26:43 Error: IMAP(nfsuser1):
inotify_add_watch(/nethome/facstaff/nfsuser1/Maildir/new) failed: Stale
NFS file handle
To be honest, I'm not 100% sure this is a dovecot problem, because I
also see tha...
2007 Jun 13
4
subdir disappeared
I have an installation that sometimes acts strangely:
Jun 12 11:28:00 mail dovecot: imap-login: Login: user=<nadia>,
method=PLAIN, rip=10.10.10.103, lip=10.10.10.254
Jun 12 11:53:59 mail dovecot: IMAP(nadia):
inotify_add_watch(/var/spool/mail/nadia/new) failed: No such file or
directory
Jun 12 11:53:59 mail dovecot: IMAP(nadia):
stat(/var/spool/mail/nadia/new) failed: No such file or directory
Jun 12 11:56:14 mail last message repeated 5 times
Jun 12 11:58:14 mail last message repeated 2 times
Jun 12 12:00:14 mail last...
2005 Aug 22
2
Re: Dovecot inotify problem
...164 in src/lib/ioloop-notify-inotify.c)
ctx->inotify_fd = inotify_init();
+ i_warning("inotify_init returned fd %d", ctx->inotify_fd);
if (ctx->inotify_fd == -1) {
and line 106:
IN_CLOSE | IN_MODIFY);
+ i_warning("inotify_add_watch returned %d", watchdescriptor);
if (watchdescriptor < 0) {
and line 145:
}
+ inotify_rm_watch("removing wd %d from inotify fd %d", io->notify_context, ctx->inotify_fd);
if (inotify_rm_watch(ctx->inotify_fd, io->notify_context) < 0)
Or someth...
2015 Nov 14
0
inotify* APIs
We have these APIs that cannot possibly work by design. Obviously
adding them was a mistake, but here we are.
http://libguestfs.org/guestfs.3.html#guestfs_inotify_add_watch
The guestfs_inotify_add_watch API has started to fail in Rawhide. I'm
trying to find the details, but the test error message is:
libguestfs: error: inotify_add_watch: /inotify_add_watch: Invalid argument
I wonder if we should just replace these APIs with ones that return
-ENOTSUP, saving...
2005 Aug 08
3
[PATCH] add inotify system calls
...f
+++ b/klibc/klibc/SYSCALLS.def
@@ -114,6 +114,9 @@ int lchown32,lchown::lchown(const char *
int getcwd::__getcwd(char *, size_t)
<?> int utime(const char *, const struct utimbuf *)
<?> int utimes(const char *, const struct timeval *)
+<?> int inotify_init(void)
+<?> int inotify_add_watch(int, const char *, __u32)
+<?> int inotify_rm_watch(int, __u32)
;
; I/O operations
2013 Nov 29
1
Samba4 git pull of today (11/28/2013) link error on FreeBSD 9.2 RELEASE
...ence to `inotify_init'
default/source4/ntvfs/sysdep/inotify_1.o: In function `watch_destructor':
inotify.c:(.text+0x883): undefined reference to `inotify_rm_watch'
default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_watch':
inotify.c:(.text+0x956): undefined reference to `inotify_add_watch'
inotify.c:(.text+0x9ba): undefined reference to `inotify_rm_watch'
inotify.c:(.text+0xa47): undefined reference to `inotify_rm_watch'
Waf: Leaving directory `/usr/local/samba-master/bin'
Build failed: -> task failed (err #1):
{task: cc_link
inotify_1.o,vfs_smb2_6.o,vfs_...
2013 Nov 30
1
Samba4 git pull(11/30/2013) link error on FreeBSD 9.2
...ence to `inotify_init'
default/source4/ntvfs/sysdep/inotify_1.o: In function `watch_destructor':
inotify.c:(.text+0x8d4): undefined reference to `inotify_rm_watch'
default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_watch':
inotify.c:(.text+0x9ad): undefined reference to `inotify_add_watch'
inotify.c:(.text+0xa06): undefined reference to `inotify_rm_watch'
inotify.c:(.text+0xaa5): undefined reference to `inotify_rm_watch'
Waf: Leaving directory `/usr/local/samba-master/bin'
Build failed: -> task failed (err #1):
{task: cc_link
inotify_1.o,vfs_smb2_6.o,vfs_...
2013 Mar 11
1
samba 4.0.3 compiling fails on freebsd 9.1
...ence to `inotify_init'
default/source4/ntvfs/sysdep/inotify_1.o: In function `watch_destructor':
inotify.c:(.text+0x8d4): undefined reference to `inotify_rm_watch'
default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_watch':
inotify.c:(.text+0x9c5): undefined reference to `inotify_add_watch'
inotify.c:(.text+0xa21): undefined reference to `inotify_rm_watch'
inotify.c:(.text+0xac6): undefined reference to `inotify_rm_watch'
Waf: Leaving directory `/root/samba-4.0.3/bin'
Build failed: -> task failed (err #1):
{task: cc_link
inotify_1.o,vfs_smb2_6.o,vfs_ipc_12...
2015 Apr 16
4
Samba 4 slow write
...ocket
0.00 0.000064 8 8 sendto
0.00 0.000061 7 9 ioctl
0.00 0.000052 52 1 restart_syscall
0.00 0.000049 25 2 fsetxattr
0.00 0.000044 11 4 inotify_add_watch
0.00 0.000020 10 2 openat
0.00 0.000018 18 1 fchown
0.00 0.000007 7 1 statfs
0.00 0.000006 6 1 getpeername
------ ----------- ----------- --------- --------- -----------...
2007 Nov 02
2
*notify config for 1.0.x doesn't enable inotify
hi,
the current code has changed include linux/inotify.h to sys/inotify.h since
2006-01-17, but that won't work with inotify*.h as documented in the wiki.
One has to either revert back to linux/inotify.h, or add
#include <sys/inotify-syscalls.h>
to both configure.in and src/lib/ioloop-notify-inotify.c
Or, just symlink sys/inotify.h -> linux/inotify.h.
That's on Debian 3.1
2015 May 02
2
Samba 4 slow write
...47 getpeername
0.00 0.000230 5 46 1 flock
0.00 0.000152 152 1 unlink
0.00 0.000130 14 9 connect
0.00 0.000122 31 4 msync
0.00 0.000101 9 11 inotify_add_watch
0.00 0.000093 6 16 ioctl
0.00 0.000088 10 9 socket
0.00 0.000080 9 9 sendto
0.00 0.000079 40 2 utime
0.00 0.000053 13 4 munmap
0.00 0...
2006 Jan 23
1
Compiling Dovecot with-notify=inotify
...b -lgssapi_krb5 -lkrb5 -lk5crypto
-lcom_err -lresolv -lldap -lpq /usr/lib/libmysqlclient.so -lz -ldl
../lib/liblib.a(ioloop-notify-inotify.o)(.text+0x185): In function
`io_loop_notify_add':
/home/nico/sources/dovecot/dovecot-1.0.beta2/src/lib/ioloop-notify-inotify.c:102:
undefined reference to `inotify_add_watch'
../lib/liblib.a(ioloop-notify-inotify.o)(.text+0x26d): In function
`io_loop_notify_remove':
/home/nico/sources/dovecot/dovecot-1.0.beta2/src/lib/ioloop-notify-inotify.c:145:
undefined reference to `inotify_rm_watch'
../lib/liblib.a(ioloop-notify-inotify.o)(.text+0x2de): In function
`io...
2013 Sep 25
3
Dovecot extremely slow!
...254 write(11, "* 189 FETCH (UID 190 FLAGS (\\See"..., 61) = 61
18:30:37.537349 epoll_wait(9, {{EPOLLIN, {u32=1413012688, u64=139759648824528}}}, 6, 1800000) = 1
18:30:37.763416 read(11, "11 IDLE\r\n", 7988) = 9
18:30:37.763715 time(NULL) = 1380144637
18:30:37.763994 inotify_add_watch(13, "/home/pato/mail/Astro/conferences", IN_MODIFY|IN_CLOSE_WRITE|IN_CLOSE_NOWRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF) = 3
18:30:37.764617 epoll_ctl(9, EPOLL_CTL_ADD, 13, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=1413125552, u64=139759648937392}}) = 0
18:30:37.76...
2015 Apr 23
2
Samba 4 slow write
Hi Jones,
many thanks again four your help and your time.
Thanks for the patch too - I'll check it up.
On my Ubuntu, there is a Samba 4.1.6. I'll install the samba
source package, and will try to apply the patch, then - I hope -
the package will be compiled as well.
I'll notify to you about the result. (First, I need to upgrade
that server.)
Thanks again,
Ervin
On Thu, Apr
2024 Jan 11
1
Share access permission errors after upgrade from 4.12.14
...(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_ACCESS_DENIED] || at ../../source3/smbd/smb2_server.c:3253
[2024/01/07 21:52:43.357809, 10, pid=91942, effective(0, 0), real(0, 0)] ../../source3/smbd/notify_inotify.c:446(inotify_watch)
inotify_add_watch for /mnt/user/PublicShare mask 210003c6 returned wd 1
[2024/01/07 21:52:43.357834, 10, pid=93992, effective(1278739538, 1278738945), real(1278739538, 0), class=smb2] ../../source3/smbd/smb2_server.c:3847(smbd_smb2_request_done_ex)
smbd_smb2_request_done_ex: mid [15] idx[1] status[NT_STATUS_ACCESS...
2023 Jan 14
1
[klibc:time64] time: Use 64-bit time types on all architectures
...d(char *, size_t);
-int utimensat(int, const char *, const struct timespec *, int);
+<32> int utimensat_time64::utimensat(int, const char *, const struct timespec *, int);
+<64> int utimensat(int, const char *, const struct timespec *, int);
<?> int inotify_init();
<?> int inotify_add_watch(int, const char *, __u32);
<?> int inotify_rm_watch(int, __u32);
@@ -165,9 +166,11 @@ int dup3(int, int, int);
<!i386,ppc64> int fcntl64,fcntl::fcntl(int, int, unsigned long);
int ioctl(int, int, void *);
int flock(int, int);
-int pselect6::__pselect6(int, fd_set *, fd_set *, fd_set...
2016 Jan 26
2
Notification of file modification in subdirectories not working
...fy.c:250(smbd_smb2_notify_send)
smbd_smb2_notify_send: notify change called on watchfolder/test, filter =
FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
[2016/01/26 10:09:07.131470, 10, pid=12027, effective(1001, 1006),
real(1001, 0)] ../source3/smbd/notify_inotify.c:382(inotify_watch)
inotify_add_watch for /home/matr/localshare/watchfolder/test mask
210003c6 returned wd 3
[2016/01/26 10:09:07.131484, 10, pid=12027, effective(1001, 1006),
real(1001, 0)] ../source3/smbd/notify.c:334(change_notify_add_request)
change_notify_add_request: Adding request for watchfolder/test: max_param
= 32
But I co...