tags 850829 +pending thanks On Tue, Jan 10, 2017 at 05:28:27PM +0100, Vincent Lefevre wrote: > However... > > # apt install --reinstall monit
Oh, I see, this happens on reinstallation. > Something wrong in the postinst script? > Could this be: > install -o root -g adm -m 0640 /dev/null /var/log/monit.log Yes, thank you. Apparently, this should be inside of "if else" loop: logfile existence must be tested first. Not sure what to do if it is exists. Just nothing, or secure file permissions and owner/group. Probably second.