r44312 - in /trunk/libembperl-perl: debian/patches/new_process_group.patch debian/patches/series test/conf/startup.pl

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Sep 19 15:29:51 UTC 2009


Author: gregoa
Date: Sat Sep 19 15:29:45 2009
New Revision: 44312

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44312
Log:
split out next change into a patch

Added:
    trunk/libembperl-perl/debian/patches/new_process_group.patch
Modified:
    trunk/libembperl-perl/debian/patches/series
    trunk/libembperl-perl/test/conf/startup.pl

Added: trunk/libembperl-perl/debian/patches/new_process_group.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libembperl-perl/debian/patches/new_process_group.patch?rev=44312&op=file
==============================================================================
--- trunk/libembperl-perl/debian/patches/new_process_group.patch (added)
+++ trunk/libembperl-perl/debian/patches/new_process_group.patch Sat Sep 19 15:29:45 2009
@@ -1,0 +1,22 @@
+Description: Work around a new bug (#418067) in apache2.2 by explicitly creating a
+ new process group in startup.pl.  Should stop 'apache -X' exit from
+ SIGTERM'ing whatever the process group happens to be.
+ Really closes: #416016.
+Author: Angus Lees <gus at debian.org>
+
+--- a/test/conf/startup.pl
++++ b/test/conf/startup.pl
+@@ -60,6 +60,13 @@
+ 
+     }
+ 
++# Bug#418067: apache2.2-mpm (at least) doesn't create a new process
++# group with apache -X.  When exiting though, it SIGTERM's whatever
++# the process group happens to be, wreaking havoc.  More importantly
++# it causes 'make test' to exit with failure.  Hack around that here:
++use POSIX ();
++POSIX::setpgid(0,0);
++
+ use Embperl ;
+ use Embperl::Object ;
+ 

Modified: trunk/libembperl-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libembperl-perl/debian/patches/series?rev=44312&op=diff
==============================================================================
--- trunk/libembperl-perl/debian/patches/series (original)
+++ trunk/libembperl-perl/debian/patches/series Sat Sep 19 15:29:45 2009
@@ -1,3 +1,4 @@
 cgi_pm.patch
 perl5.10.patch
 german.patch
+new_process_group.patch

Modified: trunk/libembperl-perl/test/conf/startup.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libembperl-perl/test/conf/startup.pl?rev=44312&op=diff
==============================================================================
--- trunk/libembperl-perl/test/conf/startup.pl (original)
+++ trunk/libembperl-perl/test/conf/startup.pl Sat Sep 19 15:29:45 2009
@@ -60,13 +60,6 @@
 
     }
 
-# Bug#418067: apache2.2-mpm (at least) doesn't create a new process
-# group with apache -X.  When exiting though, it SIGTERM's whatever
-# the process group happens to be, wreaking havoc.  More importantly
-# it causes 'make test' to exit with failure.  Hack around that here:
-use POSIX ();
-POSIX::setpgid(0,0);
-
 use Embperl ;
 use Embperl::Object ;
 




More information about the Pkg-perl-cvs-commits mailing list