OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004793 [apache2] regular use tweak always 2011-06-24 01:33 2011-09-07 02:27
Reporter AirOnSkin View Status public  
Assigned To bwalton
Priority normal Resolution fixed  
Status closed  
Summary 0004793: Apache2 init script doesn't support use of different config file
Description The OpenCSW Apache2 init script under /etc/opt/csw/init.d/cswapache2 does not support starting the server with a different config file defined with variable CONF_FILE.

The CONF_FILE variable is only used to test if the apache config exists and is a regular file.

Editing the last line in the script and changing it from:
exec $APACHECTL -k $cmd 2>&1
to
exec $APACHECTL -f $CONF_FILE -k $cmd 2>&1

solves the problem.
Additional Information
Tags No tags attached.
Attached Files

- Relationships
has duplicate 0003773closedbwalton svc method script does not use config file variable 

-  Notes
(0009134)
bwalton (administrator)
2011-06-24 02:52

Change committed. I'll work to get some test packages ready...

Thanks
-Ben
(0009179)
bwalton (administrator)
2011-07-04 03:08

Test packages available here: http://buildfarm.opencsw.org/experimental.html#apache2 [^]
(0009251)
bwalton (administrator)
2011-09-07 02:27

Update pushed for release.

- Issue History
Date Modified Username Field Change
2011-06-24 01:33 AirOnSkin New Issue
2011-06-24 02:51 bwalton Status new => assigned
2011-06-24 02:51 bwalton Assigned To => bwalton
2011-06-24 02:52 bwalton Note Added: 0009134
2011-07-03 23:23 bwalton Relationship added has duplicate 0003773
2011-07-04 03:08 bwalton Note Added: 0009179
2011-09-07 02:27 bwalton Note Added: 0009251
2011-09-07 02:27 bwalton Status assigned => closed
2011-09-07 02:27 bwalton Resolution open => fixed


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker