Bug#405773: Mysql auth how then?

2008-02-28 Thread Peter Scott
Thanks so much for your email. 


Ive spent 2 full days on this. I tried both suggested workarounds[1] and with 
wild and weird results.

Attempting to get mod_authn_dbd to go, as per the apache2 documentation just 
brought apache to a grinding halt ( does not recognise mod_dbd (paraphrased) 
load failed. Updated box which brought apache to 2.2.3-4+etch4 .Didnt help.

Compiling and patching mod_auth_mysql-3.0.0.tar.gz simply produced a thousand 
errors at compile time

libapache2-mod-auth-pam + libpam-mysql NEARLY worked, but refused to let mysql 
be authoritative even after:
- specifying AuthBasicAuthoritative Off
- using auth sufficient in /etc/pam.d/apache2
- removing pam-unix includes from ditto

The pam-mysql auth passes according to the logs, but then pam-unix stops it if 
there is no system account with the same username. Password didnt seem to 
matter.

Pam seems almost there to me, but my queries to pam-list have gone unanswered I 
think mod_auth_pam has died.

Im nearly to the point of tears on this one[2], and im normally a robust sort.
Its a moderately production box (intranet), so the soln has to be stable, and 
compatible with LAM(Php). I might be willing to give lenny a go if it means i 
can just use either mod_authn_dbd or mod_auth_mysql out of the box(package).

Which do you think is going to be the best route. How far is lenny away from stable? Go back to sarge? Would another db solve the problem? Creating a mirror dbm or flatfile?  


Regards

Peter Scott
NZ

[1] http://dev.e-taxonomy.eu/trac/wiki/ApacheMySQLAuthentication
[2] Jeeps i thought debian was supposed to be a server friendly stable "works" 
kind of thing.





Stefan Fritsch wrote:


On Thursday 28 February 2008, Peter Scott wrote:


Can somebody please, please tell me HOW YOU DO auth with etch
apache 2.2 mysql?



You can't, unfortunately.

Your best bet is probably to grab the apr-util 1.2.12+dfsg-2 source 
package from testing, add --with-mysql to the configure line in 
debian/rules, install the libmysqlclient15-dev package, and recompile 
it on etch.


This has some caveats, however:

- it is not compatible with the php mysql extensions as they are 
compiled in etch (might lead to segfaults)


- mod_dbd from apache2 2.2.3 has some bugs that were fixed in 2.2.6, 
so I am not sure it works at all, see e.g.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434562

- apr-util 1.2.12 has a bug that might make apache segfault if you 
serve files larger than 2GB on a 32bit system



If you decide to try it, though, I would be interested to hear whether 
it works.


Cheers,
Stefan






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



ssl-cert 1.0.16 MIGRATED to testing

2008-02-28 Thread Debian testing watch
FYI: The status of the ssl-cert source package
in Debian's testing distribution has changed.

  Previous version: 1.0.15
  Current version:  1.0.16

-- 
This email is automatically generated; [EMAIL PROTECTED] is responsible.
See http://people.debian.org/~henning/trille/ for more information.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#468289: apache2.2-common: Segfault when checking BalancerMember status via handler balancer-manager

2008-02-28 Thread Jason J. Rodrigues
On Thu, Feb 28, 2008 at 09:47:14PM +0100, Stefan Fritsch wrote:
> On Thursday 28 February 2008, Jason Rodrigues wrote:
> > After upgading to the latest build of apache2 (From a Build in Sept
> > 2007), visiting a BalancerMember's status page to
> > enable/disable/see details results in a segfault in apache.
> 
> Sigh.
> 
> Can you please try if the packages from 
> 
> http://people.debian.org/~sf/468289/
> 
> fix the problem? If you prefer, you can just replace the extracted
> /usr/lib/apache2/modules/mod_proxy_balancer.so .

Yes, that seems to fix the problem.  What was the problem, out of
curiosity?  Was this fix published elsewhere, I checked a few databases
and coulden't find anything like it.

Thanks again for the fix, let me know if there's anything else I can do
to help.

Jason

-- 
Jason Jay Rodrigues - Systems Administrator
The Conference Exchange
(401) 334-0220 x211


signature.asc
Description: Digital signature


Bug#468289: apache2.2-common: Segfault when checking BalancerMember status via handler balancer-manager

2008-02-28 Thread Stefan Fritsch
On Thursday 28 February 2008, Jason Rodrigues wrote:
> After upgading to the latest build of apache2 (From a Build in Sept
> 2007), visiting a BalancerMember's status page to
> enable/disable/see details results in a segfault in apache.

Sigh.

Can you please try if the packages from 

http://people.debian.org/~sf/468289/

fix the problem? If you prefer, you can just replace the extracted
/usr/lib/apache2/modules/mod_proxy_balancer.so .

Here are the md5sums for reference.

475558d179bf687eb4788f2be23f7435  apache2-mpm-event_2.2.3-4+etch4+sf1_i386.deb
354bb7368189e671684fbcdcd3b93d47  apache2-mpm-perchild_2.2.3-4+etch4+sf1_all.deb
5dc3e509273d2f51f7888f702a3c05bf  apache2-mpm-prefork_2.2.3-4+etch4+sf1_i386.deb
012ee1d63bd0f0092fbf45469c337258  apache2-mpm-worker_2.2.3-4+etch4+sf1_i386.deb
508f44b6a0df777ab3d50494d25b5987  apache2-prefork-dev_2.2.3-4+etch4+sf1_i386.deb
df55ae22b3e9ee1b538904d85ebf27bc  
apache2-threaded-dev_2.2.3-4+etch4+sf1_i386.deb
dcf7b6e57901945cd0b1a561ef1eaf61  apache2-utils_2.2.3-4+etch4+sf1_i386.deb
0af81c78f505301ca0a3aab9ea89c2f8  apache2.2-common_2.2.3-4+etch4+sf1_i386.deb
80e52ed800fdf90accd25243c4acc1b0  apache2_2.2.3-4+etch4+sf1.diff.gz
f3a64d0375aabc7e05addf4a337b758f  apache2_2.2.3-4+etch4+sf1.dsc
4e20ed44f09bc44b5ae9558fb4151487  apache2_2.2.3-4+etch4+sf1_all.deb
85aa1c339e354e497846f8c98b9000ec  mod_proxy_balancer.so

Cheers,
Stefan


signature.asc
Description: This is a digitally signed message part.


Bug#405773: Mysql auth how then?

2008-02-28 Thread Stefan Fritsch
On Thursday 28 February 2008, Peter Scott wrote:
> Can somebody please, please tell me HOW YOU DO auth with etch
> apache 2.2 mysql?

You can't, unfortunately.

Your best bet is probably to grab the apr-util 1.2.12+dfsg-2 source 
package from testing, add --with-mysql to the configure line in 
debian/rules, install the libmysqlclient15-dev package, and recompile 
it on etch.

This has some caveats, however:

- it is not compatible with the php mysql extensions as they are 
compiled in etch (might lead to segfaults)

- mod_dbd from apache2 2.2.3 has some bugs that were fixed in 2.2.6, 
so I am not sure it works at all, see e.g.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434562

- apr-util 1.2.12 has a bug that might make apache segfault if you 
serve files larger than 2GB on a 32bit system


If you decide to try it, though, I would be interested to hear whether 
it works.

Cheers,
Stefan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#405773: Mysql auth how then?

2008-02-28 Thread Peter Scott

Can somebody please, please tell me HOW YOU DO auth with etch apache 2.2 mysql?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#468332: marked as done (global CustomLog overwritten by virtual one)

2008-02-28 Thread Debian Bug Tracking System

Your message dated Thu, 28 Feb 2008 15:28:18 +0100 (CET)
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#468332: global CustomLog overwritten by virtual one
has caused the Debian Bug report #468332,
regarding global CustomLog overwritten by virtual one
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
468332: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468332
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: apache2
Version: 2.2.3-4+etch3
Severity: normal

I can have multiple CustomLog directives for a single vhost, and
that creates multiple files. However, if I have a CustomLog inside
a vhost and one in the global namespace, the vhost log overwrites
the global one, causing it to be ignored. This is neither documented
nor wanted.

Then again, implementing/fixing this might make #313430 harder...

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
--- End Message ---
--- Begin Message ---
> I can have multiple CustomLog directives for a single vhost, and
> that creates multiple files. However, if I have a CustomLog inside
> a vhost and one in the global namespace, the vhost log overwrites
> the global one, causing it to be ignored. This is neither documented
> nor wanted.

This is documented at

http://httpd.apache.org/docs/2.2/en/logs.html#virtualhost

Since this works as intended by upstream, I am closing the bug.

Cheers,
Stefan



--- End Message ---


Bug#468332: global CustomLog overwritten by virtual one

2008-02-28 Thread martin f krafft
Package: apache2
Version: 2.2.3-4+etch3
Severity: normal

I can have multiple CustomLog directives for a single vhost, and
that creates multiple files. However, if I have a CustomLog inside
a vhost and one in the global namespace, the vhost log overwrites
the global one, causing it to be ignored. This is neither documented
nor wanted.

Then again, implementing/fixing this might make #313430 harder...

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Bug#314606: consider moving NameVirtualHost option

2008-02-28 Thread Sam Morris
I usually move this to /etc/apache2/ports.conf. Another alternative
would be /etc/apache2/vhost.conf, along with the addition of another
Include directive to /etc/apache2/apache2.conf.

-- 
Sam Morris <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part