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

Bug#697465: apache2.2-common: initial install fails: Could not read /etc/apache2/envvars



On Sunday 06 January 2013 11:29:55 Arno Töll wrote:
> (...)
> > Seems that error comes from a2ensite call, so I suspect the cause might
> > be some dependency of that script has not yet been configured.
> 
> a2ensite does not call a shell to read /etc/apache2/envvars. Your output
> makes me suspect this is rather coming from the init script which is
> invoked from postinst. What makes you think a2ensite is the problem?

Arno:
a2ensite reads /etc/apache2/envvars in function read_env_file on line 331:
env - sh -c '. /etc/apache2/envvars && env'

Jonas:
What does the command line above yield?
What is the result code ? ($?)
What shell do you use? dash? (ls -l /bin/sh)
Can you send us your envvars file?

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: