Displaying 20 results from an estimated 2000 matches similar to: "patch to fix non-echo tty on scp SIGINT"
2002 May 14
0
[Bug 241] New: When I kill scp, the underlying ssh child process remains alive
http://bugzilla.mindrot.org/show_bug.cgi?id=241
Summary: When I kill scp, the underlying ssh child process
remains alive
Product: Portable OpenSSH
Version: 3.1p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P3
Component: scp
AssignedTo: openssh-unix-dev
2020 Jun 01
0
[PATCH nbdkit 1/3] server: Disallow password=- from non-tty and fix error message (RHBZ#1842440).
This command fails with an incorrect error message:
$ nbdkit ssh host=localhost /nosuchfile password=- --run 'qemu-img info $nbd' </dev/null
password:
nbdkit: error: could not read password from stdin: Inappropriate ioctl for device
The error (ENOTTY Inappropriate ioctl for device) is actually a
leftover errno from the previous isatty call. This happens because
getline(3) can
2001 Jun 27
2
OpenSSH, Cygwin, eXceed, and SIGINT
All,
When logging into an HP-UX 10.2 system from a Windows NT machine
running Cygwin and openssh 2.9p2, control-c sends a sigint to the ssh client
on the NT system, thus killing the ssh process. Interestingly enough, this
behavior is only observed when using X11 forwarding. I can eliminate the
behavior by changing clientloop.c to ignore SIGINT (signal(SIGINT, SIG_IGN)
) but then I'm bak to
2019 Apr 30
2
Background R session on Unix and SIGINT
Hi All,
I realize that this is not a really nice reprex, but anyone has an
idea why a background R session would "remember" an interrupt (SIGINT)
on Unix?
rs <- callr::r_session$new()
rs$interrupt() # just sends a SIGINT
#> [1] TRUE
rs$run(function() 1+1)
#> Error: interrupt
rs$run(function() 1+1)
#> [1] 2
It seems that the main loop somehow stores the SIGINT it
2013 May 01
2
Catch SIGINT from user in backend C++ code
Hi,
I was wondering if anybody knew how to trap SIGINTs (ie Ctrl-C) in backend C++ code for R extensions? I'm writing a package that uses the GPU for some hefty matrix operations in a tightly coupled parallel algorithm implemented in CUDA.
The problem is that once running, the C++ module cannot apparently be interrupted by a SIGINT, leaving the user sat waiting even if they realise
2019 Apr 30
2
Background R session on Unix and SIGINT
Yeah, I get that they are async.
What happens is that the background process is not doing anything when
the process gets a SIGINT. I.e. the background process is just
listening on its standard input.
AFAICT for an interactive process such a SIGINT is just swallowed,
with a newline outputted to the terminal.
But apparently, for this background process, it is not swallowed, and
it is triggered
2019 Apr 30
2
Background R session on Unix and SIGINT
OK, I managed to create an example without callr, but it is still
somewhat cumbersome. Anyway, here it is.
Terminal 1:
mkfifo fif
R --no-readline --slave --no-save --no-restore < fif
Terminal 2:
cat > fif
Sys.getpid()
This will make Terminal 1 print the pid of the R process, so we can
send a SIGINT:
Terminal 3:
kill -INT pid
The R process is of course still running happily.
Terminal 2
2007 Oct 02
3
[PATCH] SIGTERM and SIGINT handler to flush xentop -b outputs
# HG changeset patch
# User inakoshi.hiroya@jp.fujitsu.com
# Date 1191287395 -28800
# Node ID 5543e74774a826b1781893982ed5052312b820fc
# Parent 83239b2890723e0c06bad507bb273a970784b18e
Flush stdout when xentop -b gets SIGINT and SIGTERM.
It is useful when you stop xentop -b by keyboard interrupt or by other
programs such as killall from a batch script.
You would have missed the bottom part of
2019 Apr 30
2
[External] Re: Background R session on Unix and SIGINT
Unfortunately --interactive also makes the session interactive(),
which is bad for me, as it is a background session.
In general, I don't want the interactive behavior, but was wondering
if I could send as SIGINT to try to interrupt the computation of the
background process, and if that does not work, then I would send a
SIGKILL and start up another process. It all works nicely, except for
2007 Apr 13
1
spec''ing out a trap/SIGINT
How would you spec out a call to Signal.trap (a ^C or a unix SIGINT)?
Scott
2014 Jan 16
1
SIGINT is a bad choice for changing log levels
Guus,
I would like to ask you to reconsider using SIGINT for logging change. It?s a pain to kill tincd when started from the command line. Ctrl-C does not work as expected. Great for debugging perhaps, but in normal use cases, when trying to make a connection work and test changes it?s a pain.
On BSD there is SIGINFO (29), which can be sent by pressing Ctrl-T, but I am not sure whether that
2009 Dec 29
1
Error Code: 20. Error Desc: Received SIGUSR1 or SIGINT
Hi Rsync Support,
Recently we encountered issue on our prod environment because the rsync seems hanging, it took time building the list.Previously the rsync process was working before 10:24am not until 10:25am. See sample log below.
We have one source server and the data files will be rsync to 2 webservers. Please advise what could be the cause of the issue.
Please let me know if you need
2001 Nov 27
2
3.0.1p1 losing tty modes?
Hello,
openssh-3.0.1p1 appears to transmit and parse tty modes correctly,
but later in the code it uses vhangup() to close all tty references and
reset the tty to default modes. I don't think that vhangup() should be
needed on Unix98 ptys, possibly not even on BSD ptys, and I am probably
wrong, so please tell me where. Of course vhangup() clears all tty modes,
so you need to save them
2002 Feb 13
2
large file error is now SIGUSR1 or SIGINT error
I just ran this again and got this error:
leelab/NCBI_Data_old/GenBank/htg
write failed on leelab/NCBI_Data_old/GenBank/htg : Error 0
rsync error: error in file IO (code 11) at receiver.c(243)
Received signal 16. (no core)
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
The command I am running is:
/usr/local/bin/rsync -auv --delete --rsh=/usr/bin/ssh
lpgfs104:/share/group/*
2004 Oct 06
2
[LLVMdev] Compiling errors from UnixLocalInferiorProcess.cpp when compiling on MinGW
Hi
When compiling UnixLocalInferiorProcess.cpp, I get these errors:
-----------------------
C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:41:22:
sys/wait.h: No such file or directory
C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:
In
member function `void <unnamed>::IP::startChild(llvm::Module*, const
2002 Feb 12
1
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
Trying to rsync between win2k machines.
rsync version is 2.5.3pre (downloaded today)
This is the message after 368100 files have been checked:
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
My cmdline is :
c:\sbin\rsync\rsync -az /cygdrive/d/Home
xxx@xxx.skelleftea.se::dropZone/GY/ba-disk01 --stats -v -P --timeout=84600
I have tried with both with and without -z (-az or -a)
2009 Nov 11
1
v2.0.tip master: service(auth): kill(pid, SIGINT) failed: Operation not permitted
Hi Timo,
I've configured the user nobody for the the service auth. doveconf -n
# 2.0.alpha3: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.30-1-amd64 x86_64 Debian squeeze/sid
?
service auth {
user = nobody
}
?
The other processes are executed by root (or logged in user):
root 8758 0.0 0.0 2604 1052 ? Ss 07:21 0:00 /usr/local/sbin/dovecot
root 8759 0.0
2002 Feb 05
5
SIGUSR1 or SIGINT error
Howdy,
We occassionally get the following error when running our nightly
backups:
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
This happens more on one or two machines than on any of the others. We've
looked high and low to see if we're mistakenly sending these signals, but
nothing is that we can find.
Does anyone know what this might be from? Is it the server
2002 May 30
1
tty settings with rsync -e ssh interrupt
best described here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=64689
Confirmed also present with the rpm build at
http://rsync.samba.org/ftp/rsync/binaries/redhat/rsync-2.4.6-1.i386.rpm
Please cc: me on replies (I'm not on the list, yet - my procmailrc's
in a major state of flux as I'm switching machines) and/or add comments
to the above bugzilla entry
James
--
James
2004 Oct 06
0
[LLVMdev] Compiling errors from UnixLocalInferiorProcess.cpp when compiling on MinGW
This file (UnixLocalInferiorProcess.cpp) is due for porting and placement in
lib/System but I haven't gotten there yet. If you come up with something that
works on MINGW, please let me know.
Thanks,
Reid.
Henrik Bach wrote:
> Hi
>
> When compiling UnixLocalInferiorProcess.cpp, I get these errors:
> -----------------------
>