Processed: Re: Bug#233538: apache: dotfiles not skipped, scanning /etc/apache/conf.d

2004-02-18 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> severity 233538 wishlist
Bug#233538: apache: dotfiles not skipped, scanning /etc/apache/conf.d
Severity set to `wishlist'.

> merge 233538 135717
Bug#135717: apache: "Include directory" directive should support exclusion of 
certain file patterns
Bug#233538: apache: dotfiles not skipped, scanning /etc/apache/conf.d
Merged 135717 233538.

> stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)




Bug#233538: apache: dotfiles not skipped, scanning /etc/apache/conf.d

2004-02-18 Thread Matthias Urlichs
Hi,

> "Make sure that an included directory does not contain any stray files,
> such as editor temporary files, for example,

That may be documented, but it's not the way directory scanning code in
Debian is expected to work. Besides, it's fragile.

Would you accept a patch?


NB: Sorry about the duplicate bug.

-- 
Matthias Urlichs


signature.asc
Description: Digital signature


Re: Bug#233538: apache: dotfiles not skipped, scanning /etc/apache/conf.d

2004-02-18 Thread Fabio Massimo Di Nitto
On Wed, 18 Feb 2004, Matthias Urlichs wrote:

> Hi,
>
> > "Make sure that an included directory does not contain any stray files,
> > such as editor temporary files, for example,
>
> That may be documented, but it's not the way directory scanning code in
> Debian is expected to work. Besides, it's fragile.

I don't disagree on this.

> Would you accept a patch?

I can accept a patch but it has to be configurable by the user and not
breaking anything that is known to work as is it is now and i will apply
only after upstream review/acceptance.
We are quite relucant to apply Debian specific patches that will make
configurations non portable with other distributions.

> NB: Sorry about the duplicate bug.

No problem :) what about closing your and keep going on the first one? (
I leave up to you the decision)

Fabio

-- 
 fajita: step one
 Whatever the problem, step one is always to look in the error log.
 fajita: step two
 When in danger or in doubt, step two is to scream and shout.




RE: Bug#233538: apache: dotfiles not skipped, scanning /etc/apache/conf.d

2004-02-18 Thread Carl Johnstone
   
 
> While you're at it ;-) please also skip files matching '*.dpkg-*'.

That a good point - dpkg/apt etc will be dropping conffiles into
/etc/apache/conf.d and -dpkg- files may be left behind due to this.

Carl   

GMG Regional Digital is part of the Guardian Media Group plc. 
 
 
  
 
CONFIDENTIALITY NOTICE. The information contained in this e-mail is intended 
only for [EMAIL PROTECTED] It may contain privileged and confidential 
information that is exempt from disclosure by law and if you are not an 
intended recipient, you must not copy, distribute or take any action in 
reliance on it. If you have received this e-mail in error, you may notify our 
helpdesk by telephone on 44 (0)161 211 . E-mail transmission cannot be 
guaranteed to be secure or error-free. The sender ([EMAIL PROTECTED]) therefore 
does not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.  
  
  
  
  
 
 




Re: Bug#233538: apache: dotfiles not skipped, scanning /etc/apache/conf.d

2004-02-18 Thread Fabio Massimo Di Nitto
severity 233538 wishlist
merge 233538 135717
stop

This is well documented at:

http://httpd.apache.org/docs/mod/core.html#include

"Make sure that an included directory does not contain any stray files,
such as editor temporary files, for example, as Apache will attempt to
read them in and use the contents as configuration directives, which may
cause the server to fail on start up. Running apachectl configtest will
give you a list of the files that are being processed during the
configuration check:"

as well duplicate of 135717.

Fabio

On Wed, 18 Feb 2004, Matthias Urlichs wrote:

> Package: apache
> Version: 1.3.29.0.1-3
> Severity: normal
>
> Restarting Apache doesn't work while editing a configuration file in
> /etc/apache/conf.d:
>
> # /etc/init.d/apache reload
> Configuration syntax error detected. Not reloading.
>
> Processing config directory: /etc/apache/conf.d
>  Processing config file: /etc/apache/conf.d/.ess.swp
> Syntax error on line 1 of /etc/apache/conf.d/.ess.swp:
> Invalid command 'b0VIM', perhaps mis-spelled or defined by a module
> not included in the server configuration
>
> => Please skip dot files.
>
> While you're at it ;-) please also skip files matching '*.dpkg-*'.
>
>

-- 
 fajita: step one
 Whatever the problem, step one is always to look in the error log.
 fajita: step two
 When in danger or in doubt, step two is to scream and shout.




Bug#233538: apache: dotfiles not skipped, scanning /etc/apache/conf.d

2004-02-18 Thread Matthias Urlichs
Package: apache
Version: 1.3.29.0.1-3
Severity: normal
 
Restarting Apache doesn't work while editing a configuration file in
/etc/apache/conf.d:
 
# /etc/init.d/apache reload
Configuration syntax error detected. Not reloading.
  
Processing config directory: /etc/apache/conf.d
 Processing config file: /etc/apache/conf.d/.ess.swp
Syntax error on line 1 of /etc/apache/conf.d/.ess.swp:
Invalid command 'b0VIM', perhaps mis-spelled or defined by a module
not included in the server configuration
 
=> Please skip dot files.
 
While you're at it ;-) please also skip files matching '*.dpkg-*'.
 


signature.asc
Description: Digital signature