Ok thanks! You really need to work on your social skills though. Here's how NORMAL people (i.e. people NOT in the autistic spectrum) would have handled this:
YOU: "Hey I noticed the "-" prefix in "ExecStartPre=-/bin/mkdir /run/clamav" line. This does not indicate a problem, but rather a warning letting you know that the directory already exists. You don't have anything to worry about" ME: "Thanks! I appreciate you looking at it. You are awesome!" See? It's simple. Just don't be a dick! Give it a try. Thanks again! Dino -----Original Message----- From: Reindl Harald [mailto:h.rei...@thelounge.net] Sent: Wednesday, October 17, 2018 1:08 PM To: ClamAV users ML <clamav-users@lists.clamav.net>; Dino Edwards <dino.edwa...@mydirectmail.net> Subject: Re: [clamav-users] /bin/mkdir: cannot create directory ‘/run/clamav’: File exists Am 17.10.18 um 18:21 schrieb Dino Edwards: > ExecStartPre=-/bin/mkdir /run/clamav > ExecStartPre=/bin/chown clamav /run/clamav you don't get an error, an error is when the service don't start "If I delete the /var/run/clamav directory, I don’t get the error, but if I restart clamd again I get the error again. I’m not sure what the problem is" - idiot there is no problem "ExecStartPre=-/bin/mkdir /run/clamav" is prefixed with - so that the service don't fail in case the directory exists and "mkdir" natuarlly fails when a directory already exists when you delete the directory - guess what - it get created and no warning - frankly this is not a clamav topic at all but lack of basic understanding of your system _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml