<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">>><i> I've verified that '/bin/mkdir' does exist and does run fine. So I assume
</i>>><i> the the 'No such file or directory' refers to the target of the chdir.
</i>>><i>
</i>>><i> My question is how do I troubleshoot from here? What can I do to determine
</i>>><i> exactly what file or directory is not being found. I'd like to understand
</i>>><i> what is wrong and fix it.
</i>>
> CHDIR failure points to something related with directory. Check
> what directives you have in unit file - maybe WorkingDirectory= with
> dir that do not exists? Or RootDirectory= ?
> Speculating further - maybe you are trying to mkdir directory which
> you also put in RootDirectory= ? This won't work, because /bin/mkdir is
> run in the same environment that main process; but you can
> – investigate if PermissionStartOnly= (man systemd.service) will help you
> – use RuntimeDirectory= (man systemd.service) to automate directory
> creation
> - use tmpfiles to precreate all directories
</pre><div>Sorry, I should have included the entire contents of the service file.</div><div><br></div><div>Your speculation was right on... hidden among all the commands the the [Service] section was a WorkingDirectory= statement that I hadn't noticed. It was, indeed, pointing to a directory that doesn't exist.</div><div><br></div><div>Easy fix. Thank you.</div></div></div>