pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44458: www/ap2-chroot shouldn't be installed with apache-2.2.10+

>Number:         44458
>Category:       pkg
>Synopsis:       www/ap2-chroot shouldn't be installed with apache-2.2.10+
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 25 13:50:00 +0000 2011
>Originator:     Joel Carnat
>Release:        NetBSD 5.1_STABLE/i386
NetBSD 5.1_STABLE NetBSD 5.1_STABLE (GENERIC) #0: Sat Jan 
22 12:06:59 UTC 2011
Since version 2.2.10, Apache provides a ChrootDir directive 

The "ChrootDir" is used by both www/ap2-chroot and www/apache22.
If you enable it httpd.conf, Apache will "double-chroot" and won't be able to 
serve your files.

Install www/apache22
Install www/ap2-chroot
Configure 'ChrootDir "/somepath"' in /usr/pkg/etc/httpd/httpd.conf

Start Apache and see that it chroots in the chroot...
Don't install www/ap2-chroot with www/apache22 since v2.2.10.

The www.ap2-chroot/Makefile sets "PKG_APACHE_ACCEPTED=apache2 apache22".
It should be restricted to www/apache22<2.2.10

Home | Main Index | Thread Index | Old Index