Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925310 - www-servers/apache: typo in initscript
Summary: www-servers/apache: typo in initscript
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-23 08:34 UTC by A. Wilcox (awilfox)
Modified: 2024-02-27 23:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.