Bug#398223: Acknowledgement (apache2: [notice] caught SIGTERM, shutting down)
After enduring seven consecutive Sunday morning Apache2 shutdowns (ie. this is REALLY reproducible on my end) I commented out the following in my one SSL-enabled virtual host: NameVirtualHost *:443 VirtualHost *:443 DocumentRoot /var/www/langex ServerName www.langex.net ServerAlias server langex.net *.langex.net CustomLog /var/log/apache2/access.log combined # SSLEngine on # SSLCertificateFile /etc/apache2/ssl/langex.self.crt # SSLCertificateKeyFile /etc/apache2/ssl/langex.net.key /VirtualHost No more spontaneous shutdowns. In other words, with the SSL stuff above turned on, Apache2 shuts down every Sunday morning. With it commented out as above, I have now gotten through two Sundays without a shutdown. Sure looks like SSL has something to do with this, at least tangentially. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#398223: Acknowledgement (apache2: [notice] caught SIGTERM, shutting down)
On Sun, 2007-01-07 at 23:06 +0800, Clayton wrote: After enduring seven consecutive Sunday morning Apache2 shutdowns (ie. this is REALLY reproducible on my end) I commented out the following in my one SSL-enabled virtual host: NameVirtualHost *:443 VirtualHost *:443 DocumentRoot /var/www/langex ServerName www.langex.net ServerAlias server langex.net *.langex.net CustomLog /var/log/apache2/access.log combined # SSLEngine on # SSLCertificateFile /etc/apache2/ssl/langex.self.crt # SSLCertificateKeyFile /etc/apache2/ssl/langex.net.key /VirtualHost No more spontaneous shutdowns. In other words, with the SSL stuff above turned on, Apache2 shuts down every Sunday morning. With it commented out as above, I have now gotten through two Sundays without a shutdown. Sure looks like SSL has something to do with this, at least tangentially. Hmm, apache2 invokes logrotate weeky, so maybe there's a bug in the logrotate script. I'd change /etc/logrotate/apache2 to: /var/log/apache2/*.log { weekly missingok rotate 52 compress delaycompress notifempty create 640 root adm sharedscripts postrotate if [ -f /var/run/apache2.pid ]; then echo --- `date` /var/log/apache2/logrotate /etc/init.d/apache2 restart /var/log/apache2/logrotate 21 fi endscript } and see what happens. HTH, Ralf Mattes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: license clarification
On Sun, 2007-01-07 at 01:54 -0600, Peter Samuelson wrote: Hi, I'm writing on behalf of a potential redistributor of your 'apr_dbd_mysql' add-on to apr-util. As you probably know, there have been questions raised by the FSF about compatibility between the GPL and the Apache License 2.0, used by apr-util. The ASF believes there is no problem. MySQL A.B. has sidestepped the question by providing a GPL compatibility exemption covering many such cases. As your code is intended for use with apr-util, I assume you see no license compatibility problem either. Can I get a quick confirmation of this from you as copyright holders of the GPL work? Your reply will go into our public copyright notice file for apr-util. Thanks, Peter, for the Debian Apache maintainers Peter, I'm aware of the Debian issue. A couple of weeks ago I posted to your bugs database in an effort to resolve this. It's documented in my blog, at http://bahumbug.wordpress.com/2006/12/18/apacheaprmysql-packaging/ (which also links to the relevant Debian bugzilla entries). In brief, yes, I'm happy for you to package this in Debian under the GPL. If you prefer, you may instead invoke MySQL's exception and include it in an APR-UTIL package under the Apache License 2.0. Regards, -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/ signature.asc Description: This is a digitally signed message part
Re: license clarification
[Nick Kew] I'm aware of the Debian issue. A couple of weeks ago I posted to your bugs database in an effort to resolve this. It's documented in my blog, at http://bahumbug.wordpress.com/2006/12/18/apacheaprmysql-packaging/ Ah, indeed you did. I'm sorry for not noticing your earlier post - I think at the time I wasn't subscribed to the list that receives bug updates. In brief, yes, I'm happy for you to package this in Debian under the GPL. If you prefer, you may instead invoke MySQL's exception and include it in an APR-UTIL package under the Apache License 2.0. So, to be sure I understand - even if you relicense apr_dbd_mysql.c as Apache License 2.0, the ASF will still not want to ship it due to its use of libmysqlclient? Regardless, I think relicensing apr_dbd_mysql.c as AL2.0 is probably the best solution, certainly that would make it easiest to explain the situation to an outsider. I'm satisfied with your email to declare your dual-license intent, but some people would be more convinced with an equivalent declaration in the source code itself. Does this look reasonable? Thanks, Peter --- apr_dbd_mysql.c +++ apr_dbd_mysql.c @@ -4,16 +4,19 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. +(at your option) any later version, or (at your option) the Apache +License 2.0 as published by the Apache Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. +GNU General Public License or the Apache License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +You may obtain a copy of the Apache License 2.0 at: +http://www.apache.org/licenses/LICENSE-2.0 */ signature.asc Description: Digital signature
Re: license clarification
On Sun, 7 Jan 2007 17:29:36 -0600 Peter Samuelson [EMAIL PROTECTED] wrote: [Cc: dev@apr.apache.org added. People with an interest in this - particularly Bojan - please speak up if you have any comments] [Nick Kew] I'm aware of the Debian issue. A couple of weeks ago I posted to your bugs database in an effort to resolve this. It's documented in my blog, at http://bahumbug.wordpress.com/2006/12/18/apacheaprmysql-packaging/ Ah, indeed you did. I'm sorry for not noticing your earlier post - I think at the time I wasn't subscribed to the list that receives bug updates. In brief, yes, I'm happy for you to package this in Debian under the GPL. If you prefer, you may instead invoke MySQL's exception and include it in an APR-UTIL package under the Apache License 2.0. So, to be sure I understand - even if you relicense apr_dbd_mysql.c as Apache License 2.0, the ASF will still not want to ship it due to its use of libmysqlclient? Regardless, I think relicensing apr_dbd_mysql.c as AL2.0 is probably the best solution, certainly that would make it easiest to explain the situation to an outsider. I'm satisfied with your email to declare your dual-license intent, but some people would be more convinced with an equivalent declaration in the source code itself. Does this look reasonable? [chop] I've drafted a patch based on your suggestion. Does it look OK to you? It's too late at night to think through whether it's fully compatible with both licenses, but I'll invite comment from you and your colleagues. Index: apr_dbd_mysql.c === --- apr_dbd_mysql.c (revision 77) +++ apr_dbd_mysql.c (working copy) @@ -4,16 +4,21 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. +(at your option) any later version. Alternatively, where this program +is aggregated with the Apache APR-UTIL package version 1.2 or later, +it may be distributed under the terms of the Apache License 2.0 +as published by the Apache Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. +applicable License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. +You may obtain a copy of the Apache License 2.0 at: +http://www.apache.org/licenses/LICENSE-2.0 -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Talking through packaging issues
Hi, Exchanging email with you reminds me of another issue. Any Debian/Apache people planning to attend ApacheCon/EU in May, would you be interested in participating in a panel discussion on the subject of packaging Apache, and the support issues it raises? See http://bahumbug.wordpress.com/2006/12/05/apachecon-raising-the-support-issue/ This follows my provocative article at http://www.regdeveloper.co.uk/2006/11/04/apache_packages_support_vacuum/ and feedback summarised at http://bahumbug.wordpress.com/2006/11/06/the-support-vacuum-feedback/ -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: license clarification
Quoting Nick Kew [EMAIL PROTECTED]: [Cc: dev@apr.apache.org added. People with an interest in this - particularly Bojan - please speak up if you have any comments] I don't hold copyright here, so I cannot speak of a licence change. This is something only Nick can do. I would personally be thrilled to see this happen (although the driver still wouldn't be distributed by ASF) and I would make sure I bug Joe to build new APU with the driver included for all Fedora folks out there :-) -- Bojan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: license clarification
[Nick Kew] --- apr_dbd_mysql.c (revision 77) +++ apr_dbd_mysql.c (working copy) @@ -4,16 +4,21 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. +(at your option) any later version. Alternatively, where this program +is aggregated with the Apache APR-UTIL package version 1.2 or later, +it may be distributed under the terms of the Apache License 2.0 ^^^you can distribute and/or modify it under the terms of the Apache License 2.0 That's just for consistency with the first sentence. I don't think it really matters, as it's the license texts themselves that actually determine the recipient's rights, but you may as well be consistent. Thanks for doing this, Peter signature.asc Description: Digital signature