search for: f_getfl

Displaying 20 results from an estimated 187 matches for "f_getfl".

Did you mean: f_getfd
2018 Oct 24
0
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
kevent(10,0x0,0,{ 7,EVFILT_READ,0x0,0x0,0x1,0x4207a140 },4,{ 2147483.000000000 }) = 1 (0x1) accept(7,{ AF_UNIX \"\" },0x7fffffffe7fc) = 11 (0xb) getsockname(11,{ AF_UNIX \"/var/run/dovecot/imap-hibe\" },0x7fffffffe7fc) = 0 (0x0) fcntl(11,F_GETFL,) = 6 (0x6) fcntl(11,F_SETFL,O_NONBLOCK|0x2) = 0 (0x0) getpid() = 3446 (0xd76) __sysctl(0x7fffffffe7b0,0x4,0x0,0x0,0x42034000,0x20) = 0 (0x0) write(5,\"v\\r\\0\\0004\\0\\0\\0\\M-g\\^C\\0\\0\",12)...
2018 Mar 30
1
Issue with a bug with imap-login
...4=94500643429872}}], 8, -1) = 1 263563 accept(9<TCP:[0.0.0.0:993]>, {sa_family=AF_INET, sin_port=htons(39552), sin_addr=inet_addr("64.142.18.25")}, [16]) = 18<TCP:[64.142.111.79:993->64.142.18.25:39552]> 263563 fcntl(18<TCP:[64.142.111.79:993->64.142.18.25:39552]>, F_GETFL) = 0x2 (flags O_RDWR) 263563 fcntl(18<TCP:[64.142.111.79:993->64.142.18.25:39552]>, F_SETFL, O_RDWR|O_NONBLOCK) = 0 263563 write(5<pipe:[1445541]>, "\213\5\4\0\223\16\0\0\0\0\0\0", 12) = 12 263563 write(2<pipe:[1445512]>, "\1\010263563 ip=64.142.18.25\n", 25...
2010 May 14
3
dovecot 2.0 vs. SELinux
...d no socket: ... geteuid() = 0 getegid() = 0 open("/dev/null", O_WRONLY) = 3 fcntl(3, F_GETFD) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/dovecot/config"}, 110) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcnt...
2004 Dec 28
1
OpenSSH 3.9p1 X11 forwarding
...9279: 9.5464 sigaction(SIGCLD, 0xFFBFF140, 0x00000000) = 0 19279: 9.5464 pipe() = 4 [5] 19279: 9.5465 fcntl(4, F_SETFD, 0x00000001) = 0 19279: 9.5465 fcntl(5, F_SETFD, 0x00000001) = 0 19279: 9.5466 fcntl(4, F_GETFL, 0x00000000) = 2 19279: 9.5466 fcntl(4, F_SETFL, 0x00000082) = 0 19279: 9.5467 fcntl(5, F_GETFL, 0x00000000) = 2 19279: 9.5467 fcntl(5, F_SETFL, 0x00000082) = 0 19279: 9.5468 poll(0xFFBFF150, 2, -1)...
2019 Mar 08
1
Dovecot v2.3.5 released
On 7.3.2019 23.37, A. Schulze via dovecot wrote: > > Am 07.03.19 um 17:33 schrieb Aki Tuomi via dovecot: > >>> test-http-client-errors.c:2989: Assert failed: FALSE >>> connection timed out ................................................. : FAILED > Hello Aki, > >> Are you running with valgrind or on really slow system? > I'm not aware my buildsystem
2001 Feb 19
1
scp doesn't work with sshd 2.5.1p1 on Solaris 2.6
...ved disconnect from x.x.x.x: Command terminated on signal 11. truss of sshd excerpt: 629: stat64("/usr/lib/security/pam_unix.so.1", 0xEFFFEB10) = 0 627: sigaction(SIGCLD, 0xEFFFF360, 0xEFFFF3E0) = 0 627: sigaction(SIGPIPE, 0xEFFFF360, 0xEFFFF3E0) = 0 627: fcntl(8, F_GETFL, 0x00000000) = 2 629: door_info(3, 0xEFFFDEA0) = 0 627: fstat64(8, 0xEFFFF2A8) = 0 629: door_call(3, 0xEFFFDE88) = 0 627: getsockopt(8, 65535, 8192, 0xEFFFF3AC, 0xEFFFF3A4) = 0 629: open("/v...
2018 Oct 24
2
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
Nothing, the same error Oct 24 10:11:16 server dovecot: imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error: kevent(-1) for notify remove failed: Bad file descriptor Oct 24 10:11:16 server dovecot: imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error: close(-1) for notify remove failed: Bad file descriptor Oct 24 10:11:16 server dovecot: imap-hibernate:
2015 Jun 21
3
dovecot auth using 100% CPU
...LHUP, {u32=850618928, u64=140128453618224}}}, 14, 12614) = 1 0.000031 read(19, "", 8192) = 0 0.000026 epoll_ctl(15, EPOLL_CTL_DEL, 19, 7fff77616870) = 0 0.000027 close(19) = 0 0.000029 socket(PF_LOCAL, SOCK_STREAM, 0) = 19 0.000027 fcntl(19, F_GETFL) = 0x2 (flags O_RDWR) 0.000028 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0 0.000029 connect(19, {sa_family=AF_LOCAL, sun_path="auth-worker"}, 110) = 0 0.000033 fstat(19, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 0.000033 lseek(19, 0, SEEK_CUR) = -1 ESPIPE (I...
2002 Aug 09
0
still seeing hangs -- strace
...3?\314"..., 8192) = 96 close(6) = 0 select(7, [3], [3], NULL, NULL) = 1 (out [3]) write(3, "\361RK\276\257\23u\2265JmI\272(|4\346b.\2760@k\237-_x\252"..., 32) = 32 ioctl(0, TCGETS, 0xbffffa08) = -1 EINVAL (Invalid argument) fcntl64(0, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl64(0, F_SETFL, O_RDWR) = 0 ioctl(1, TCGETS, 0xbffffa08) = -1 EINVAL (Invalid argument) fcntl64(1, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl64(1, F_SETFL, O_RDWR) = 0 ioctl(2, TC...
2002 May 30
0
update on hung rsyncs
...= 0x809d000 close(6) = 0 select(7, [3], [3], NULL, NULL) = 1 (out [3]) write(3, "\204\355\2058\330\360\242<\313\233QMc\311\307?\322\351"..., 32) = 32 ioctl(0, TCGETS, 0xbffffa18) = -1 EINVAL (Invalid argument) fcntl64(0, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl64(0, F_SETFL, O_RDWR) = 0 ioctl(1, TCGETS, 0xbffffa18) = -1 EINVAL (Invalid argument) fcntl64(1, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl64(1, F_SETFL, O_RDWR) = 0 ioctl(2, TC...
2002 Sep 11
0
Strange Hang over ssh
...L, {60, 0}) = 1 (in [5], left {60, 0}) read(5, "\0\0\0\0", 4) = 4 stat64("/storage2/stpaul", {st_mode=S_IFDIR|S_ISGID|0775, st_size=20, ...}) = 0 chdir("/storage2/stpaul") = 0 socketpair(PF_UNIX, SOCK_STREAM, 0, [3, 6]) = 0 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(6, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0 socketpair(PF_UNIX, SOCK_STREAM, 0, [7, 8]) = 0 fcntl64(7, F_GETFL) = 0x2 (flags O_RDWR)...
2016 Oct 13
3
Bug 6870 resurfaced in Samba 4.2.10
...DC because the IPv6 connect fails immediately before the v4 connect has a chance to succeed. I determined this by strace'ing the "net ads workgroup" command, which resulted in the following: 11:41:52 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 11 <0.000027> 11:41:52 fcntl(11, F_GETFL) = 0x2 (flags O_RDWR) <0.000015> 11:41:52 fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0 <0.000016> 11:41:52 fcntl(11, F_GETFD) = 0 <0.000015> 11:41:52 fcntl(11, F_SETFD, FD_CLOEXEC) = 0 <0.000016> 11:41:52 connect(11, {sa_family=AF_INET, sin_port=htons(389), sin_addr=inet_addr(&...
2016 Feb 16
2
BackupPC using rsync fails with "protocol version mismatch -- is your shell clean?"
...97 00:58:30 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER|SA_NOCLDSTOP, 0x7fefc6daf180}, NULL, 8) = 0 2997 00:58:30 rt_sigaction(SIGXFSZ, {SIG_IGN, [], SA_RESTORER|SA_NOCLDSTOP, 0x7fefc6daf180}, NULL, 8) = 0 2997 00:58:30 getcwd("/home/backup-user", 4095) = 13 2997 00:58:30 fcntl(0, F_GETFL) = 0 (flags O_RDONLY) 2997 00:58:30 fcntl(0, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 2997 00:58:30 fcntl(1, F_GETFL) = 0x1 (flags O_WRONLY) 2997 00:58:30 fcntl(1, F_SETFL, O_WRONLY|O_NONBLOCK) = 0 2997 00:58:30 fcntl(0, F_GETFL) = 0x800 (flags O_RDONLY|O_NONBLOCK) 2997 00:58:30...
2012 Oct 02
3
[PATCH] chowning /dev/null should be guarded against
We''ve run into this problem several times and it''s not really expected that someone is going to monkey with /dev/null. So here''s a simple patch. I am not on the mailing list, so please Cc: me. --- lib/unicorn/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb index cde2563..6b6cca2 100644 ---
2006 Oct 28
1
Cygwin rsync to RH rsync server
...name(3, {sa_family=AF_INET, sin_port=htons(3022), sin_addr=inet_addr("10.0.2.137")}, [16]) = 0 [pid 26646] getpeername(3, {sa_family=AF_INET, sin_port=htons(3022), sin_addr=inet_addr("10.0.2.137")}, [16]) = 0 [pid 26646] socket(PF_FILE, SOCK_STREAM, 0) = 5 [pid 26646] fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR) [pid 26646] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0 [pid 26646] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) [pid 26646] close(5) = 0 [pid 26646] socket(PF_FILE, SOCK_STREAM, 0...
2011 Sep 29
1
2.0.14 doveadm proxy list segfault
...0 uname({sys="Linux", node="director1", ...}) = 0 rt_sigaction(SIGPIPE, {0x1, [], SA_RESTORER|SA_RESTART, 0x3eada302d0}, NULL, 8) = 0 rt_sigaction(SIGALRM, {0x31c7648b40, [], SA_RESTORER|SA_SIGINFO, 0x3eada302d0}, NULL, 8) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/dovecot/config"...}, 110) = 0 fcntl(3, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl(3, F_SETFL, O_RDWR) = 0 write(3...
2019 Aug 27
0
[nbdkit PATCH] server: Enforce sane stdin/out/err
...ain.c b/server/main.c index 65025a62..124e19b7 100644 --- a/server/main.c +++ b/server/main.c @@ -149,6 +149,17 @@ main (int argc, char *argv[]) size_t i; const char *magic_config_key; + /* Refuse to run if stdin/out/err are closed, whether or not -s is used. */ + if (fcntl (STDERR_FILENO, F_GETFL) == -1) { + /* Nowhere we can report the error. Oh well. */ + exit (EXIT_FAILURE); + } + if (fcntl (STDIN_FILENO, F_GETFL) == -1 || + fcntl (STDOUT_FILENO, F_GETFL) == -1) { + perror ("expecting stdin/stdout to be opened"); + exit (EXIT_FAILURE); + } + threadlocal_i...
2000 Nov 08
1
socket leakage patch
...2000 +++ tinc-1.0pre2/src/net.c Wed Nov 8 09:36:05 2000 @@ -357,6 +357,7 @@ if(setsockopt(nfd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) { + close(nfd); syslog(LOG_ERR, _("setsockopt: %m")); return -1; } @@ -364,6 +365,7 @@ flags = fcntl(nfd, F_GETFL); if(fcntl(nfd, F_SETFL, flags | O_NONBLOCK) < 0) { + close(nfd); syslog(LOG_ERR, _("fcntl: %m")); return -1; } @@ -375,12 +377,14 @@ if(bind(nfd, (struct sockaddr *)&a, sizeof(struct sockaddr))) { + close(nfd); syslog(LOG_ERR,...
2011 Dec 28
1
/usr/lib/dovecot/imap ignores log settings?
...SA_RESTORER|SA_RESTART, 0x7ff03df56480}, NULL, 8) = 0 rt_sigaction(SIGALRM, {0x7ff03e7000d0, [], SA_RESTORER|SA_SIGINFO, 0x7ff03df56480}, NULL, 8) = 0 rt_sigaction(SIGINT, {0x7ff03e700160, [], SA_RESTORER|SA_SIGINFO, 0x7ff03df56480}, NULL, 8) = 0 pipe([3, 4]) = 0 fcntl(3, F_GETFL) = 0 (flags O_RDONLY) fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 fcntl(4, F_GETFL) = 0x1 (flags O_WRONLY) fcntl(4, F_SETFL, O_WRONLY|O_NONBLOCK) = 0 fcntl(3, F_GETFD) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fcntl(4, F_GETFD...
2017 Jan 13
1
Rsync tries to access unnecessary files/dirs after chrooting itself.
...5549] stat("/etc/localtime", 0x7ffdf53cd4e0) = -1 ENOENT (No such file or directory) [pid 25549] open("/etc/localtime", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 25549] write(4, "2017/01/13 03:44:20 [25549] rsyn"..., 86) = 86 [pid 25549] fcntl(3, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) [pid 25549] fcntl(3, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) [pid 25549] write(3, "\16", 1) = 1 [pid 25549] write(3, "\24MxX", 4) = 4 [pid 25549] brk(0x7fef0557c000) = 0x7fef0557c000 [pid 25549] sel...