search for: sa_restart

Displaying 20 results from an estimated 138 matches for "sa_restart".

2001 Feb 18
3
OpenSSH 2.5.0p1 vs. SA_RESTART
Not all OSes have SA_RESTART (for instance, SunOS does not). Also, for the non-SA_RESTART case in scp.c sa.sa_flags was not being initialized (noted by dworkin at village.org). - todd --- scp.c.DIST Sat Feb 17 17:56:33 2001 +++ scp.c Sat Feb 17 17:57:59 2001 @@ -1224,8 +1224,9 @@ struct sigaction sa; sa.sa_handler = u...
2006 Jun 06
1
Asterisk 1.2.7.1 bad file descriptor
...isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {0x4003e1a0, [], 0}, {0x80a6420, [INT], SA_RESTART}, 8) = 0 rt_sigaction(SIGTERM, {0x4003e1a0, [], 0}, {0x80a6420, [TERM], SA_RESTART}, 8) = 0 rt_sigaction(SIGQUIT, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGALRM, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTSTP, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTTOU, {...
2008 Jan 30
3
newfs locks entire machine for 20seconds
----- Original Message ----- From: "Ivan Voras" <ivoras@freebsd.org> >> The machine is running with ULE on 7.0 as mention using an Areca 1220 >> controller over 8 disks in RAID 6 + Hotspare. > > I'd suggest you first try to reproduce the stall without ULE, while > keeping all other parameters exactly the same. Ok tried with an updated 7 world / kernel as
2004 Feb 08
3
Re: klibc - setenv broken
Kay Sievers wrote: > Hi, > this simple program compiled with klibc: > > #include <stdio.h> > int main(int argc, char* argv[]) > { > setenv("TESTENV", "happy", 1); > printf("TESTENV='%s'\n", getenv("TESTENV")); > } > > prints: > > ./env > TESTENV='(null)' > >
2006 Mar 24
0
Hang after upgrade to 1.1RC1 and Edge
...nclude edge Rails 4021) the cpu keeps spinning (took 85%) and the rest was taken by Postgresql. Looks like Rails keep sending sql statement to the database. I did a strace and following messages repeat: send(8, "Q\0\0\0\nBEGIN\0", 11, 0) = 11 rt_sigaction(SIGPIPE, {0xb7ec06bc, [], SA_RESTART}, {SIG_IGN}, 8) = 0 poll([{fd=8, events=POLLIN|POLLERR, revents=POLLIN}], 1, -1) = 1 recv(8, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0) = 17 rt_sigaction(SIGPIPE, {SIG_IGN}, {0xb7ec06bc, [], SA_RESTART}, 8) = 0 send(8, "Q\0\0\0\vCOMMIT\0", 12, 0) = 12 rt_sigaction(SIGPIPE, {0xb...
2004 Dec 30
1
More * weirdness
...queuing up... I/O is borked somewhere: === strace =========================================================== 0.078863 --- SIGURG (Urgent I/O condition) @ 0 (0) --- 0.000052 write(1, "Urgent handler\n", 15) = 15 0.000566 rt_sigaction(SIGURG, {0x80a5d60, [URG], SA_RESTORER|SA_RESTART, 0x34aa58}, {0x80a5d60, [URG], SA_RESTORER|SA_RESTART, 0x34aa58}, 8) = 0 0.000181 sigreturn() = ? (mask now []) 0.000143 read(0, 0xbff63c2b, 1) = ? ERESTARTSYS (To be restarted) 311.584380 --- SIGURG (Urgent I/O condition) @ 0 (0) --- 0.000056 write(1, "Urgen...
2016 Feb 08
1
UPS Socomec is unavailable appears in the logs
...;GET VAR galaxy ups.status\n", 26) = 26 4275 14:08:05.689721 select(5, [4], NULL, NULL, {5, 0}) = 1 (in [4], left {4, 996929}) 4275 14:08:05.692927 read(4, "VAR galaxy ups.status \"OL\"\n", 64) = 27 4275 14:08:05.693050 rt_sigaction(SIGALRM, {SIG_IGN, [ALRM], SA_RESTORER|SA_RESTART, 0x7fdc20b471e0}, {SIG_IGN, [ALRM], SA_RESTORER|SA_RESTART, 0x7fdc20b471e0}, 8) = 0 4275 14:08:05.693108 alarm(0) = 10 4275 14:08:05.693139 rt_sigaction(SIGALRM, {SIG_IGN, [ALRM], SA_RESTORER|SA_RESTART, 0x7fdc20b471e0}, {SIG_IGN, [ALRM], SA_RESTORER|SA_RESTART, 0x7fdc20b471e0}, 8) = 0 4...
2000 Feb 14
0
[openssh-1.2.2] some porting notes for SunOS 4.1.4
...packet.c, some IP TOS related constants are undefined. I assumed the associated setsockopt calls were optional, but I may be wrong. (See patch at end of mail.) -- In ssh-agent.c, optind needs to be declared explicitly (it is not in any header file). (See patch at end of mail.) -- In scp.c, the SA_RESTART constant is undefined. SunOS is already based on BSD signal semantics; do they also apply when using signal functions from the POSIX interface? (See patch at end of mail.) That's it for now. Charles ======================================================================== ==> strerror....
2001 Feb 12
2
patches for UnixWare v2.x pty (misc.c,configure.in)
I have attached two patches to the current source code. The first addresses the pty problems with UnixWare 2.x with connecting with SSH2. It sets the sigaction to SA_RESTART. This fixes UnixWare v2.x, but haven't heard any feedback as to effects on other OS'. The first patch is against misc.c. The second patch adds a section "*-*-sysv4.2uw2*" to configure to set the TEST_MINUS_S_SH shell and define USE_PIPES. I suspect these same fixes apply to Uni...
2001 Jun 05
5
HPUX: ssh hangs after shell exit
I am aware that there have been several posts related to ssh connections hanging, i have tried to read through most of them in the archives... I am posting this in hopes that it may present something new that will further help resolve this problem. The problem i am having appears to be similar to what others have reported where after typing exit in an interactive shell the connection is not
2001 Jun 06
3
Defect: OpenSSH hangs on logout
On Wed, 6 Jun 2001, Greg Wooledge wrote: :> this is caused by select() being restarted for SIGCHLD on HP-UX due to the :> use of SA_RESTART. can you try the patch below and see if it fixes the :> problem for HP-UX and linux? i've tested on HP-UX 11.11. : :> -#if defined(SA_RESTART) :> +#if 0 : :This doesn't seem to make any difference on HP-UX 10.20. But then, :I'm using OpenSSH 2.5.2p2 instead of 2.9.x or CVS -...
2004 Aug 06
1
icecast 1.3.9
This took longer than it should have. Icecast 1.3.9 fixes all the known security problems, and also adresses many that weren't reported, thanks to a code audit by John Viega. If you for some reason have problems with 1.3.9 that prevent you from using it, please, please, please make sure you don't run icecast as root, or make sure you have patched the problem areas yourself. Along with
2004 Aug 06
1
icecast 1.3.9
This took longer than it should have. Icecast 1.3.9 fixes all the known security problems, and also adresses many that weren't reported, thanks to a code audit by John Viega. If you for some reason have problems with 1.3.9 that prevent you from using it, please, please, please make sure you don't run icecast as root, or make sure you have patched the problem areas yourself. Along with
2005 Sep 22
2
repeatable disconnections when rsyncing over ssh
...eft {59, 240000}) 28445 --- SIGCHLD (Child exited) @ 0 (0) --- 28461 read(5, "", 4) = 0 28461 write(2, "rsync: connection unexpectedly closed (579059629 bytes received so far) [receiver]\n", 83) = 8 3 28461 rt_sigaction(SIGUSR1, {SIG_IGN}, {0x80570b0, [USR1], SA_RESTART}, 8) = 0 28461 rt_sigaction(SIGUSR2, {SIG_IGN}, {0x80570e0, [USR2], SA_RESTART}, 8) = 0 28461 waitpid(28446, <unfinished ...> 28445 waitpid(-1, <unfinished ...> 28461 <... waitpid resumed> 0xbfff8fd8, WNOHANG) = -1 ECHILD (No child processes) 28445 <... waitpid resumed> [...
2004 Sep 21
2
2.6.2 rsync --daemon is not working for me
Hi! I'm unable to write with remote rsync in daemon mode. ********* My configuration: rsync 2.6.2 Linux 2.4.20-alt16-up (ALTLinux www.altlinux.org) (There is owl-patch in ALTLinux-kernel) ========== /etc/rsyncd.conf ============= log file = /var/log/rsync [routers] comment = Our Backups path = /mnt/backup/routers uid = archiver gid = archiver use chroot = true read only = false list = true
2006 Jan 24
0
errors messages : rsyncd 2.6.x + backupPC 2.1.2
...tory) [pid 12624] rt_sigaction(SIGPIPE, {0x400f5000, [], 0}, {SIG_IGN}, 8) = 0 [pid 12624] send(3, "<156>Jan 20 03:35:14 rsyncd[1262"..., 143, 0) = 143 [pid 12624] rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 [pid 12624] rt_sigaction(SIGUSR1, {SIG_IGN}, {0x8055cd0, [USR1], SA_RESTART}, 8) = 0 [pid 12624] rt_sigaction(SIGUSR2, {SIG_IGN}, {0x8055cf0, [USR2], SA_RESTART}, 8) = 0 [pid 12624] time([1137728115]) = 1137728115 [pid 12624] open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 12624] open("/etc/localtime", O_RD...
1999 Jan 24
1
HPUX 9.05 & Samba 2.0.0 & problems -> solved !
...s generally considered to be bad practice and should be avoided. SunOS provides the SA_INTERRUPT option, which is used to prevent system calls from being restarted. SA_INTERRUPT is not available on HP-UX, but is the default behavior of sigaction() on HP-UX (that is, does not restart signal calls). SA_RESTART is used on SunOS to make system calls restart. It is not available on HP-UX. Instead, the sigcontext parameter passed to the signal handler can be used within the signal handler itself to specify SIG_RESTART or SIG_RETURN after handling an interrupted system call: .. <code example>!!!! ------...
2000 Dec 05
1
Bugreport: openssh-2.3.0p1 scp to SSH2 (2.0.13) server
...gs O_WRONLY) fcntl(5, F_SETFL, O_WRONLY|O_NONBLOCK) = 0 ioctl(6, TCGETS, {B38400 opost isig icanon echo ...}) = 0 brk(0x80fd000) = 0x80fd000 gettimeofday({976017265, 12614}, NULL) = 0 brk(0x80ff000) = 0x80ff000 rt_sigaction(SIGINT, {0x8052540, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGQUIT, {0x8052540, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTERM, {0x8052540, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 select(7, [3], [3], NULL, NULL) = 1 (out [3]) write(...
2007 Dec 20
2
0.24.0 won''t start
...ile still there. I installed puppet using the latest gem from reductive labs. It works fine on what is meant to be an identical system. I tried running strace and it seems to exit after trying to write to a bad file descriptor: rt_sigaction(SIGINT, {SIG_DFL}, {0x34f2c8d0b0, [INT], SA_RESTORER|SA_RESTART, 0x3dde2300b0}, 8) = 0 close(7) = 0 munmap(0x2aaaaaaad000, 4096) = 0 close(7) = -1 EBADF (Bad file descriptor) munmap(0x2aaaaaaac000, 4096) = 0 write(7, "\25\3\1\0 -\2040\17\311F \372bz\\\10Gi\2}\344\325S\247j...
2009 Aug 11
5
Failed to retrieve current state of resource: No child processes
...t(6, [5], [], [], {0, 44025}) = 1 (in [5], left {0, 44025}) 51 10764 read(5, "", 1024) = 0 52 10764 close(5) = 0 53 10764 munmap(0xb7843000, 4096) = 0 54 10764 rt_sigaction(SIGHUP, {SIG_IGN}, {0xb7f438f0, [HUP], SA_RESTORER|SA_RESTART, 0xb7d1c128}, 8) = 0 55 10764 rt_sigaction(SIGQUIT, {SIG_IGN}, {0xb7f438f0, [QUIT], SA_RESTORER|SA_RESTART, 0xb7d1c128}, 8) = 0 56 10764 rt_sigaction(SIGINT, {SIG_IGN}, {0xb7f438f0, [INT], SA_RESTORER|SA_RESTART, 0xb7d1c128}, 8) = 0 57 10764 waitpid(10833, [{WIFEXITED(s) && WEXI...