Package: libapache2-mod-chroot
Version: 0.4-2
Severity: important

Following the directions in the documents, specifically 
/usr/share/doc/mod-chroot-common/README.Apache20.gz, the administrator 
is instructed to link the pid file as follows:

        ln -s /var/www/var/run/httpd.pid /var/run/httpd.pid

However, with this configuration, /etc/init.d/apache2 cannot find the 
correct pid, and cannot stop the server. However, apache2ctl works fine. 
To fix the problem, one needs to do two things to modify the default 
configuration:

        1. ln -s /var/www/var/run/httpd.pid /var/run/apache2.pid

        2. Append the following to /etc/apache2/apache2.conf:
            <IfModule mod_chroot.c>
                    LoadFile /lib/libgcc_s.so.1
                    PidFile /var/run/httpd.pid
                    ChrootDir /var/www
                    DocumentRoot /
            </IfModule>

After that, both /usr/sbin/apache2ctl and /etc/init.d/apache2 will work 
properly.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libapache2-mod-chroot depends on:
ii  apache2-common              2.0.54-4     next generation, scalable, extenda
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  mod-chroot-common           0.4-2        run Apache in a secure chroot envi

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to