slapprepare shouldn't fail if slapos.cfg doesn't exist or if anything goes wrong.

parent 5294a8cb
...@@ -626,7 +626,10 @@ def slapprepare(): ...@@ -626,7 +626,10 @@ def slapprepare():
configureNtp() configureNtp()
chownSlaposDirectory() try:
chownSlaposDirectory()
except:
print "Warning: Impossible to change owner of slapos directories."
# Restart sysctl in case of new mount points in /var/log # Restart sysctl in case of new mount points in /var/log
_call(['systemctl', 'restart', 'syslog.service']) _call(['systemctl', 'restart', 'syslog.service'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment