[PATCH 0/5] trival fixes and improvement of pre.d/post.d hooks