/[smeserver]/rpms/e-smith-dnscache/sme7/e-smith-dnscache-1.0.0-sigpipe.patch
ViewVC logotype

Contents of /rpms/e-smith-dnscache/sme7/e-smith-dnscache-1.0.0-sigpipe.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:01:45 2008 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-dnscache-1.0.0/root/var/service/dnscache/run mezzanine_patched_e-smith-dnscache-1.0.0/root/var/service/dnscache/run
2 --- e-smith-dnscache-1.0.0/root/var/service/dnscache/run 2007-09-06 13:01:41.000000000 -0400
3 +++ mezzanine_patched_e-smith-dnscache-1.0.0/root/var/service/dnscache/run 2007-09-06 13:01:10.000000000 -0400
4 @@ -117,6 +117,8 @@
5 $ENV{CACHESIZE} = 200000;
6 $ENV{ROOT} = '/service/dnscache/root';
7
8 +# http://marc.theaimsgroup.com/?l=djbdns&m=104812086607532&w=2
9 +$SIG{'PIPE'} = 'IGNORE';
10 exec("envuidgid", "dnscache", "softlimit", "-o250", "-d", "$datalimit",
11 "/usr/local/bin/dnscache")
12 or die "failed to execute envuidgid/softlimit/dnscache: $!";
13 diff -Nur -x '*.orig' -x '*.rej' e-smith-dnscache-1.0.0/root/var/service/dnscache.forwarder/run mezzanine_patched_e-smith-dnscache-1.0.0/root/var/service/dnscache.forwarder/run
14 --- e-smith-dnscache-1.0.0/root/var/service/dnscache.forwarder/run 2005-05-13 17:45:16.000000000 -0400
15 +++ mezzanine_patched_e-smith-dnscache-1.0.0/root/var/service/dnscache.forwarder/run 2007-09-06 13:01:23.000000000 -0400
16 @@ -1,4 +1,6 @@
17 #! /bin/sh
18 exec 2>&1
19 . ./config
20 +# http://marc.theaimsgroup.com/?l=djbdns&m=104812086607532&w=2
21 +trap "" SIGPIPE
22 exec envuidgid dnscache softlimit -o250 -d "$DATALIMIT" /usr/local/bin/dnscache

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed