Description: hard-code FHS compliant paths
Origin: vendor
--- a/etc/web2ldap/web2ldapcnf/__init__.py
+++ b/etc/web2ldap/web2ldapcnf/__init__.py
@@ -15,19 +15,18 @@ import sys,os
 web2ldap_dir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0])))
 
 # Default directory for [web2ldap]/var
-var_dir = os.path.join(web2ldap_dir,'var')
-#var_dir = '/var'
+var_dir = '/var'
 
 # Default directory for [web2ldap]/etc
-etc_dir = os.path.join(web2ldap_dir,'etc')
-#etc_dir = '/etc'
+etc_dir = '/etc'
 
 # Default directory for [web2ldap]/etc/web2ldap/templates
 templates_dir = os.path.join(etc_dir,os.path.join('web2ldap','templates'))
 
 # Several default sub-directories in [web2ldap]/var
-for var_subdir in ['run','log','state']:
-  vars()['var_'+var_subdir] = os.path.join(var_dir,var_subdir)
+var_run = '/var/run/web2ldap'
+var_log = '/var/log/web2ldap'
+var_state = '/var/lib/web2ldap'
 
 import web2ldapcnf.misc,web2ldapcnf.hosts
 
