Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 925310

Summary: www-servers/apache: typo in initscript
Product: Gentoo Linux Reporter: A. Wilcox (awilfox) <awilfox.gentoo>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: IN_PROGRESS ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description A. Wilcox (awilfox) 2024-02-23 08:34:47 UTC
When an address is specified for a VirtualHost directive, the initscript tries to be helpful and note that I should add rc_need="net.FOO":


host02 /etc/apache2/vhosts.d # rc-service apache2 restart
 * Caching service dependencies ...
 * You are binding an interface in you virtual hosts.
 * You must add rc_need="net.FOO" to your /etc/conf.d/apache2
 * where FOO is the interface(s) providing the following address(es):
 * 172.16.11.1:8443                                                                                                         [ ok ]
 * Stopping apache2 ...                                                                                                     [ ok ]
 * Starting apache2 ...                                                                                                     [ ok ]


This should say "your virtual hosts", not "you".  I would have opened a PR, but I can't find a source Git repository for gentoo-apache.
Comment 1 Hans de Graaff gentoo-dev Security 2024-02-23 10:19:25 UTC
(In reply to A. Wilcox (awilfox) from comment #0)

> This should say "your virtual hosts", not "you".  I would have opened a PR,
> but I can't find a source Git repository for gentoo-apache.

https://gitweb.gentoo.org/proj/apache.git/ but that doesn't allow pull requests.

I've fixed it there and it will be in the next apache release or revision (I'll leave the bug open so I won't forget).

Thanks for reporting.