public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] strange apache service dependency
@ 2007-03-09 21:12 Enrico Weigelt
  2007-03-09 22:04 ` Dan Farrell
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Enrico Weigelt @ 2007-03-09 21:12 UTC (permalink / raw
  To: gentoo-user


Hi folks,


I've just seen that the apache2 service has an dependecy to 
the mysql service. Most likely it's an bug.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] strange apache service dependency
  2007-03-09 21:12 [gentoo-user] strange apache service dependency Enrico Weigelt
@ 2007-03-09 22:04 ` Dan Farrell
  2007-03-18 17:03   ` Enrico Weigelt
  2007-03-10  2:43 ` Bo Ørsted Andresen
  2007-03-10  8:04 ` [gentoo-user] " Anno v. Heimburg
  2 siblings, 1 reply; 6+ messages in thread
From: Dan Farrell @ 2007-03-09 22:04 UTC (permalink / raw
  To: gentoo-user

On Fri, 9 Mar 2007 22:12:54 +0100
Enrico Weigelt <weigelt@metux.de> wrote:

> 
> Hi folks,
> 
> 
> I've just seen that the apache2 service has an dependecy to 
> the mysql service. Most likely it's an bug.
> 
> 
> cu
probably if you compile it with mysql support, it assumes it should
insist upon it.  if you desire it differently ,edit the depends line
in /etc/init.d/apache
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] strange apache service dependency
  2007-03-09 21:12 [gentoo-user] strange apache service dependency Enrico Weigelt
  2007-03-09 22:04 ` Dan Farrell
@ 2007-03-10  2:43 ` Bo Ørsted Andresen
  2007-03-10  8:04 ` [gentoo-user] " Anno v. Heimburg
  2 siblings, 0 replies; 6+ messages in thread
From: Bo Ørsted Andresen @ 2007-03-10  2:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

On Friday 09 March 2007 22:12:54 Enrico Weigelt wrote:
> I've just seen that the apache2 service has an dependecy to
> the mysql service. Most likely it's an bug.

It's not a hard dependency. It's just using it which means mysql will be 
started before apache2. Why do you think that's a bug?

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user]  Re: strange apache service dependency
  2007-03-09 21:12 [gentoo-user] strange apache service dependency Enrico Weigelt
  2007-03-09 22:04 ` Dan Farrell
  2007-03-10  2:43 ` Bo Ørsted Andresen
@ 2007-03-10  8:04 ` Anno v. Heimburg
  2 siblings, 0 replies; 6+ messages in thread
From: Anno v. Heimburg @ 2007-03-10  8:04 UTC (permalink / raw
  To: gentoo-user

Enrico Weigelt wrote:
> I've just seen that the apache2 service has an dependecy to
> the mysql service. Most likely it's an bug.

I don't think so. At least on my computer, mysql is a 'use' dependency
rather than a 'need' dependency. That is, if mysql is present, it will be
started before apache, if mysql is not present, then apache starts
regardless.

Why do you think that's a bug?

Anno.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] strange apache service dependency
  2007-03-09 22:04 ` Dan Farrell
@ 2007-03-18 17:03   ` Enrico Weigelt
  2007-03-19 14:00     ` Dan Farrell
  0 siblings, 1 reply; 6+ messages in thread
From: Enrico Weigelt @ 2007-03-18 17:03 UTC (permalink / raw
  To: gentoo-user

* Dan Farrell <dan@spore.ath.cx> wrote:

Hi,

> probably if you compile it with mysql support, it assumes it 
> should insist upon it.  

I didn't build in any mysql-related stuff (ie. mod_auth_mysql).

> if you desire it differently ,edit the depends line
> in /etc/init.d/apache

I already did, had no other chance. 
When stopping mysql kills httpd, it's an very bad bug for 
production systems. 


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] strange apache service dependency
  2007-03-18 17:03   ` Enrico Weigelt
@ 2007-03-19 14:00     ` Dan Farrell
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Farrell @ 2007-03-19 14:00 UTC (permalink / raw
  To: gentoo-user

On Sun, 18 Mar 2007 18:03:32 +0100
Enrico Weigelt <weigelt@metux.de> wrote:

> 
> I already did, had no other chance. 
> When stopping mysql kills httpd, it's an very bad bug for 
> production systems. 
> 
> 
> cu

FWIW, this doesn't happen to me... however I didn't see a use flag for
mysql:

 net-www/apache-2.0.58-r2  USE="apache2 ssl -debug -doc -ldap -mpm-itk
-mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker
(-selinux) -static-modules -threads"
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-03-19 14:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09 21:12 [gentoo-user] strange apache service dependency Enrico Weigelt
2007-03-09 22:04 ` Dan Farrell
2007-03-18 17:03   ` Enrico Weigelt
2007-03-19 14:00     ` Dan Farrell
2007-03-10  2:43 ` Bo Ørsted Andresen
2007-03-10  8:04 ` [gentoo-user] " Anno v. Heimburg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox