Package: libapache2-mod-chroot
Version: 0.5-7
Severity: important

my mod_chroot.conf is:
<IfModule mod_chroot.c>
    LoadFile /lib/libgcc_s.so.1
    LoadFile /lib/libnss_dns.so.2
    PidFile /var/run/apache2.pid
    ChrootDir /chroot
</IfModule>

after upgrade from lenny to squeeze apache does not start:

[notice] mod_chroot: changed root to /chroot.
[alert] (2)No such file or directory: Can't chdir to /chroot
[notice] Apache/2.2.16 (Debian) PHP/5.3.3-6 with Suhosin-Patch mod_chroot/0.5 
configured -- resuming normal operations
[info] Server built: Nov 14 2010 18:43:04
[debug] prefork.c(1013): AcceptMutex: sysvsem (default: sysvsem)
[alert] (2)No such file or directory: Can't chdir to /chroot
[alert] (2)No such file or directory: Can't chdir to /chroot
[alert] (2)No such file or directory: Can't chdir to /chroot
[alert] (2)No such file or directory: Can't chdir to /chroot
[alert] Child 17804 returned a Fatal error... Apache is exiting!

when i move /chroot to /chroot - "/" will be "/chroot/chroot" - then apache 
starts again.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libapache2-mod-chroot depends on:
ii  apache2.2-common              2.2.16-6   Apache HTTP Server common files
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  mod-chroot-common             0.5-7      run Apache in a secure chroot 
environment

libapache2-mod-chroot recommends no packages.

libapache2-mod-chroot suggests no packages.



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

Reply via email to