OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003964 [apache2] packaging minor always 2009-10-14 17:33 2014-02-22 11:36
Reporter japester View Status public  
Assigned To bwalton
Priority normal Resolution suspended  
Status closed  
Summary 0003964: Package does not conform to openCSW filesystem standards
Description default install breaks many packaging conventions.

config is stored in shared binary space (/opt/csw/apache/etc)
opencsw standards say they should go to /opt/csw/etc/apache for shared configurations, or to /etc/opt/csw/apache for local configuration.

default install puts log files into shared directory space.
- Log files should go into /var/<somewhere> not /opt/csw/var
- same for PID files.
Additional Information
[515][root@detritus: /root]# /var/opt/csw/svc/method/svc-cswapache2 restart
httpd not running, trying to start
(30)Read-only file system: httpd: could not open error log file /opt/csw/apache2/var/log/error_log.
Unable to open logs
[516][root@detritus: /root]#
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006856)
japester (reporter)
2009-10-14 17:37

this is out of the current tree.

[538][root@detritus: /opt/csw/apache2]# pkginfo -l CSWapache2
   PKGINST: CSWapache2
      NAME: apache2 - A high performance Unix-based HTTP server.
  CATEGORY: application
      ARCH: sparc
   VERSION: 2.2.13,REV=2009.08.22
   BASEDIR: /
    VENDOR: http://httpd.apache.org/ [^] packaged for CSW by Ihsan Dogan
    PSTAMP: ihsan@build8s-20090822164717
  INSTDATE: Oct 14 2009 23:25
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: ihsan@opencsw.org
    STATUS: completely installed

[539][root@detritus: /opt/csw/apache2]#
(0008402)
bwalton (administrator)
2010-10-26 03:13

This is on the todo list for a future release. I wanted to get an update out the door with other (smaller) changes in place first.
(0008459)
bwalton (administrator)
2010-11-16 03:53

I'll note that the PID file is properly stored in /var/run/httpd.pid with the current packages. I'm looking at moving /opt/csw/apache2/var now.
(0008544)
bwalton (administrator)
2010-12-09 03:23

Packages in the experimental repo apache2 address this issue. Config is migrated to /etc/opt/csw/apache2. Logs are in /var/opt/csw/log/apache2.

Please test. Any issues you find during the migration of files from old etc/ to new are really important to get feedback on.

I don't move log files.
(0010728)
dam (administrator)
2014-02-22 11:36

This issue will not be fixed in Apache 2.2, but the upcoming Apache 2.4 package has the OpenCSW standard layout. Feel free to give it a try at
  http://buildfarm.opencsw.org/experimental.html#apache24 [^]


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker