Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228925 - www-servers/apache-2.2.9 apache2ctl symlink to init script does not work correctly
Summary: www-servers/apache-2.2.9 apache2ctl symlink to init script does not work corr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-22 17:05 UTC by Tobias Klausmann (RETIRED)
Modified: 2008-10-25 14:46 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 Tobias Klausmann (RETIRED) gentoo-dev 2008-06-22 17:05:36 UTC
apache2ctl is a symlink to /etc/init.d/apache2, breaking when used as usual:

[root@eric ~]# apache2ctl graceful
/lib64/rc/sh/runscript.sh: line 117: .: /etc/init.d: is a directory
 * init.d: unknown function `graceful'
[root@eric ~]# /etc/init.d/apache2 graceful
 * Gracefully restarting apache2 ...                                      [ ok ]

Also not how the help of the initscript isn't complete:
[root@eric ~]# /etc/init.d/apache2 
Usage: apache2 [options] stop | start | restart | describe | zap

Options: [dDsvChqv]
  -d, --debug                       set xtrace when running the script
  -s, --ifstarted                   only run commands when started
  -D, --nodeps                      ignore dependencies
  -h, --help                        Display this help output
  -C, --nocolor                     Disable color output
  -v, --verbose                     Run verbosely
  -q, --quiet                       Run quietly
[root@eric ~]# /etc/init.d/apache2 describe
 * No description for apache2
 * configdump: no description
 * configtest: no description
 * fullstatus: no description
 * graceful: no description
 * gracefulstop: no description
 * modules: no description
 * reload: no description
[root@eric ~]# 

All of those might be openrc bugs, not apache bugs; they need to be fixed anyway, IMO.
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2008-10-25 14:46:10 UTC
fixed, thanks