Bug#620759:
Hi, I am the author of mod_chroot. Starting from 2.2.10, Apache features native chroot support. As Squeeze doesn't ship earlier Apache versions, I would recommend removing mod_chroot package altogether. regards, -- Marek Gutkowski -- To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTimgcFQ_Bd=vi0hl-yhukntv726...@mail.gmail.com
Bug#620759: apache2: apache does chroot twice with mod_chroot
>From Stefan Fritsch: > > If mod_chroot is not compatible with squeeze's apache, we should > have it removed from squeeze. Did everything work after you > removed mod_chroot? Did you have to adjust the configuration? > Let me explain what happened. With mod_chroot, the apache did the chroot twice and (in my case) the original DocumentRoot then has to be / This is because in lenny my DocumentRoot was the directory /var/www inside the chroot (/var/www/ too). So the chain is /var/www (first chroot) -> /var/www/var/www/ (first and second chroot) and then my files are _not _ found under a third /var/www directory (this would happen when the DocumentRoot is set to /var/www) but /. Without mod_chroot the apache changes once to /var/www and my files are found unter the DocumentRoot /var/www as expected. So the mod_chroot is working absolutely fine under squeeze. But together with the builtin chroot the behavior is unexpected and confusing. Yes, one must change the DocumentRoot when using mod_chroot ... and maybe some directories in the filesystem because of the double chroot. But beside of this the mod_chroot is working perfect. I do not think that mod_chroot needs to be removed from squeeze but the documentation in /usr/share/doc/ mod-chroot-common/ should give a hint about this possible trouble source. Stephan -- To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1qazn6-2jlh...@fwd03.aul.t-online.de
Bug#620759: apache2: apache does chroot twice with mod_chroot
On Thursday 07 April 2011, stephan.g...@t-online.de wrote: > >From Stefan Fritsch: > > The apache2 core includes now a "Chroot" directive which probably > > clashes with mod_chroot. Please try without mod_chroot. It is > > possible that you may have to adjust your configuration, please > > see the apache2 docs. I am not familiar with mod_chroot myself. > > Ah yes, this explains my experience. After some additional test I > can confirm this. > Okay, in this case I like to cancel my "bug" report. > Please mark this bug report as invalid. > Thank you. If mod_chroot is not compatible with squeeze's apache, we should have it removed from squeeze. Did everything work after you removed mod_chroot? Did you have to adjust the configuration? -- To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201104122202.33634...@sfritsch.de
Bug#620759: apache2: apache does chroot twice with mod_chroot
>From Stefan Fritsch: > > The apache2 core includes now a "Chroot" directive which probably > clashes with mod_chroot. Please try without mod_chroot. It is possible > that you may have to adjust your configuration, please see the apache2 > docs. I am not familiar with mod_chroot myself. > Ah yes, this explains my experience. After some additional test I can confirm this. Okay, in this case I like to cancel my "bug" report. Please mark this bug report as invalid. Thank you. Best regards, Stephan -- To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1q7ouz-0lxv...@fwd07.aul.t-online.de
Bug#620759: apache2: apache does chroot twice with mod_chroot
On Monday 04 April 2011, Stephan Goll wrote: > I have apache2 running chrooted in /var/www since lenny. After > upgrading to squeeze I got permanent errors about not finding > /var. After all I tried and copied and hoped to find it out and > finally I created a var in /var/www/var/www and apache did not > complain anymore. So I guess the apache father does chroot into > /var/www and every child does chroot into the chrootet /var/www > again (and this is really /var/www/var/www). This is really > strange and surely a bug. The apache2 core includes now a "Chroot" directive which probably clashes with mod_chroot. Please try without mod_chroot. It is possible that you may have to adjust your configuration, please see the apache2 docs. I am not familiar with mod_chroot myself. -- To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201104042336.05589...@sfritsch.de
Bug#620759: apache2: apache does chroot twice with mod_chroot
Package: apache2.2-common Version: 2.2.16-6+squeeze1 Severity: normal I have apache2 running chrooted in /var/www since lenny. After upgrading to squeeze I got permanent errors about not finding /var. After all I tried and copied and hoped to find it out and finally I created a var in /var/www/var/www and apache did not complain anymore. So I guess the apache father does chroot into /var/www and every child does chroot into the chrootet /var/www again (and this is really /var/www/var/www). This is really strange and surely a bug. Best regards, Stephan -- Package-specific info: List of enabled modules from 'apache2 -M': alias auth_basic authz_default authz_host autoindex chroot deflate dir env mime negotiation reqtimeout setenvif status -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (500, 'stable'), (100, 'oldstable') Architecture: i386 (i586) Kernel: Linux 2.6.26 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages apache2 depends on: ii apache2-mpm-worker 2.2.16-6+squeeze1 Apache HTTP Server - high speed th ii apache2.2-common 2.2.16-6+squeeze1 Apache HTTP Server common files apache2 recommends no packages. apache2 suggests no packages. Versions of packages apache2.2-common depends on: ii apache2-utils 2.2.16-6+squeeze1 utility programs for webservers ii apache2.2-bin 2.2.16-6+squeeze1 Apache HTTP Server common binary f ii libmagic1 5.04-5File type determination library us ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii mime-support 3.48-1MIME files 'mime.types' & 'mailcap ii perl 5.10.1-17 Larry Wall's Practical Extraction ii procps 1:3.2.8-9 /proc file system utilities -- no debconf information -- To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110403223807.17436.79793.reportbug@alix01