<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 9, 2020 at 5:24 AM Tomek The Messenger <<a href="mailto:tomekthemessenger@gmail.com">tomekthemessenger@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi<div>On the soc on which I work there is issue with unmouting some partitions/directories during /sbin/reboot, here is some example:</div><div><br></div><div>[ OK ] Stopped target Local File System.</div><div>Unmouting Temporary Directory (/tmp)...</div><div>Unmouting /run/user/0... <br></div><div>...</div><div>[ FAILED ] Failed unmouting Temporary Directory (/tmp).<br></div><div>[ FAILED ] Failed unmouting
/run/user/0. <br></div><div>....</div><div><br></div><div>Unfortunately like it is typical in kernel information about why unmouting failed doesn't appear. So seems like searching in darkness what is going on. Is any way how to search in darkness? Firstly I should make sure /tmp or /run/user/0 is really a partition and was mount at linux startup. Then maybe I should check access rights if it is rwx. What else can be tried here?</div></div>
_______________________________________________<br><br></blockquote><div>make sure there is no process which has these directories open (cd into it or open a file), you can I put some printk in the code to debug what leads to this condition. </div></div></div>