Displaying 20 results from an estimated 2000 matches similar to: "[nbdkit PATCH] sh: Don't let child inherit SIGPIPE ignored"
2002 May 28
2
rsync 2.5.4 (probably 2.5.5 too) server handles SIGPIPE very poorly
(I am not on the rsync mailing list, so if you send a response to this
message to the list, please be sure to CC me.)
I first reported this bug go Red Hat in
<URL:https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=65350>.
If you run rsync with a subshell through ssh.com's ssh and sshd and
then kill the client with ctrl-C, the rsync server process running on
the remote machine grows
2008 Jul 07
1
SIGPIPE in assorted apps after "yum update"
Hello,
I have several systems which I recently updated with
yum -y update
to all the latest packages. These systems use yum-priorities and use
the CentOS (priority 1) EPEL (priority 5) and rpmforge (priority 10)
repositories. After the updates, dhcpd stopped working with a SIGPIPE
error which occurs shortly after it attempts to fork into the
background. I worked around that problem by building
2012 Jul 27
1
Samba 3.6.x: smbd receives sigpipe and crashes
Hello,
I've got problems with Samba 3.6.0 up to 3.6.6. Forked smbd processes
are closing unexpectedly and sometimes smbd server exits. (In Samba
3.5.16 everything works).
When invoke smbd from gdb and turn off SIGPIPE passing (by command
"handle SIGPIPE nostop nopass") everything works fine. I found out that
SigBlk flag of forked smbd processes in /proc/*/status is:
2001 May 21
1
ignoring SIGPIPE causing problems in pipes
Hi. I'm writing an article on network backups, and instead of using
my old ssh1 software, I decided to go with openssh all the way. I got
the hang of the openssh way of doing protocol 2 public key
authentication, but ssh is failing to terminate when a pipe is broken.
I am ssh-ing to a remote host and doing a cat or zcat of a dump file,
then on the localhost, I'm using restore to extract
2000 Dec 11
1
OpenSSH 2.3.0p1: Broken pipe / SIGPIPE
Dear OpenSSH gurus! ;-)
I recently upgraded from "OpenSSH 2.1.1p4" to "OpenSSH 2.3.0p1"
on my Linux 2.2.17 box with OpenSSL 0.9.5a (RedHat 7.0).
According to the "ChangeLog", there was a change in SIGPIPE
handling:
| 20000930
| [...]
| - (djm) Ignore SIGPIPEs from serverloop to child. Fixes crashes with
| very short lived X connections. Bug report from
2004 Aug 24
3
smbd+ldapsam infinite loop, cpu=100%
Hello,
We have been running samba v2 for quite some time without any problems.
But after the upgrade to samba-3.0.5 some anomalies have come out. I've
compiled it with LDAP authentication support; the LDAP server is
installed on the same machine and the communication is done via sockets.
After working fine for some time, and as usual creating multiple threads
from the smbd proccess, it
2012 Dec 11
1
library(tcltk) v. SIGPIPE BUG (?!?)
Hi R-devel, tcltk devel, and sqldf devel,
The transcript below shows how loading the tcl/tk library in under R causes subprocesses to ignore SIGPIPE.
I am including the developer of the (wonderful) sqldf package since it requires tcltk and you might like to make this dependence optional to the user (at least until this is fixed in tcltk).
Am I mistaken in calling this a 'bug'?
Any
2019 Dec 06
2
Error in close.connection(p) : ignoring SIGPIPE signal
Not sure if this is a bug, so posting here first. If I run:
?? cnt <- 0L
?? while (TRUE) {
? ? ?? cnt <- cnt + 1L
? ? ?? p <- pipe("echo /dev/stdin > /dev/null", open = "w")
? ? ?? writeLines("foobar", p)
? ? ?? tryCatch(close(p), error = function(e) { print(cnt); stop(e)})
?? }
then once cnt gets to around 650, it fails with:
?? [1] 654
??
2020 Apr 15
0
[PATCH nbdkit 8/9] eval, sh: Set $tmpdir before running the command, instead of globally.
The $tmpdir environment variable is used by the eval and sh plugins to
communicate the path to the temporary directory created by the plugin
for shell scripts to use for temporary files.
Previously we set this environment variable globally (in .load()), but
this means the environment variable can be leaked into undesirable
places, eg. into the --run script:
$ nbdkit sh - --run 'echo
2019 Aug 02
5
[nbdkit PATCH 0/3] sh plugin fixes
I'm pushing the first one as blatantly obvious.
The second one is also simple enough, but not enough of a bug for me
to push tonight.
The third is something I noticed while working on sh, but is really
more about docs vs. plugins in general. There, we could either change
the code to match the docs (breaking backwards behavior for a plugin
that set .errno_is_preserved=2) [what my patch did],
2004 Mar 26
1
nmbd dying
nmbd has been dying on me occasionally. I'm running mandrake 9.2 with
samba3-server-3.0.0-2mdk. We've got our users in ldap but I'd seen this
symptom previously when I was using an earlier version of samba that didn't
support ldap. There is nothing useful in the logs and a PS shows a nmb
process still running.
This last time around, I had a ptrace running on both nmbd
2019 Aug 02
0
[nbdkit PATCH v2 14/17] sh: Use pipe2 with CLOEXEC when possible
Technically, as long as our thread model is SERIALIZE_ALL_REQUESTS, we
don't have to be very careful about atomic CLOEXEC on any of the pipes
we create for communication with the child. However, the next patch
wants to promote sh plugin to parallel when possible, which requires
the use of pipe2 to avoid fd leaks. Also, add an assert to ensure
that we avoid dup2(n, n) (which would fail to
2019 Dec 06
1
Error in close.connection(p) : ignoring SIGPIPE signal
Andreas,
How right you are! Still, I find it curious that in the context of the
while(TRUE) loop, I am allowed to do this 653 times, with failure on the
654th attempt. Perhaps there is something asynchronous going on? If I
eliminate the looping, it does indeed fail (as expected) on the first
attempt to close the pipe.
Regards
Ben
On 12/6/19 2:04 AM, Andreas Kersting wrote:
> Hi
2023 Aug 22
0
[RFC PATCH v1 1/2] vsock: send SIGPIPE on write to shutdowned socket
On Mon, Aug 14, 2023 at 10:46:05PM +0300, Arseniy Krasnov wrote:
>
>
>On 04.08.2023 17:28, Stefano Garzarella wrote:
>> On Fri, Aug 04, 2023 at 03:46:47PM +0300, Arseniy Krasnov wrote:
>>> Hi Stefano,
>>>
>>> On 02.08.2023 10:46, Stefano Garzarella wrote:
>>>> On Tue, Aug 01, 2023 at 05:17:26PM +0300, Arseniy Krasnov wrote:
>>>>>
2023 Aug 04
0
[RFC PATCH v1 1/2] vsock: send SIGPIPE on write to shutdowned socket
On Fri, Aug 04, 2023 at 03:46:47PM +0300, Arseniy Krasnov wrote:
>Hi Stefano,
>
>On 02.08.2023 10:46, Stefano Garzarella wrote:
>> On Tue, Aug 01, 2023 at 05:17:26PM +0300, Arseniy Krasnov wrote:
>>> POSIX requires to send SIGPIPE on write to SOCK_STREAM socket which was
>>> shutdowned with SHUT_WR flag or its peer was shutdowned with SHUT_RD
>>> flag.
2023 Aug 04
0
[RFC PATCH v1 1/2] vsock: send SIGPIPE on write to shutdowned socket
On Fri, Aug 04, 2023 at 05:34:20PM +0300, Arseniy Krasnov wrote:
>
>
>On 04.08.2023 17:28, Stefano Garzarella wrote:
>> On Fri, Aug 04, 2023 at 03:46:47PM +0300, Arseniy Krasnov wrote:
>>> Hi Stefano,
>>>
>>> On 02.08.2023 10:46, Stefano Garzarella wrote:
>>>> On Tue, Aug 01, 2023 at 05:17:26PM +0300, Arseniy Krasnov wrote:
>>>>>
1997 Jan 12
9
dos-attack on inetd.
Hi.
I don''t know if this one is known, but I can''t recall seeing anything
about it. If it is old news I apologize.
I discovered a bug in the inetd that comes with NetKit-B-0-08 and older.
If a single SYN is sent to port 13 of the server, inetd will die of Broken
Pipe:
write(3, "Sun Jan 12 21:50:35 1997\r\n", 26) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
2023 Aug 22
0
[RFC PATCH v1 1/2] vsock: send SIGPIPE on write to shutdowned socket
On Mon, Aug 14, 2023 at 10:40:17PM +0300, Arseniy Krasnov wrote:
>
>
>On 04.08.2023 18:02, Stefano Garzarella wrote:
>> On Fri, Aug 04, 2023 at 05:34:20PM +0300, Arseniy Krasnov wrote:
>>>
>>>
>>> On 04.08.2023 17:28, Stefano Garzarella wrote:
>>>> On Fri, Aug 04, 2023 at 03:46:47PM +0300, Arseniy Krasnov wrote:
>>>>> Hi Stefano,
2019 Aug 02
0
[nbdkit PATCH 2/3] sh: Avoid setenv after fork
setenv() is not async-signal-safe and as such should not be used
between fork/exec of a multi-threaded app: if one thread is
manipulating the current environment (which may entail obtaining a
malloc() mutex) when another thread calls fork(), the resulting
child's attempt to use setenv() could deadlock or see a broken environ
because the thread owning the lock no longer exists to release it.
2023 Aug 31
2
[nbdkit PATCH] sh: Allow pwrite to not consume all data
On 8/31/23 10:02, Richard W.M. Jones wrote:
>
> On Wed, Aug 30, 2023 at 05:21:19PM -0500, Eric Blake wrote:
>> I hit another transient failure in libnbd CI when a poorly-written
>> eval script did not consume all of stdin during .pwrite. As behaving
>> as a data sink can be a somewhat reasonable feature of a
>> quickly-written sh or eval plugin, we should not be so