Thanks for the reply.<br><br><div class="gmail_quote"><div dir="ltr">On Mon, Mar 20, 2017, 11:05 PM Mantas Mikulėnas <<a href="mailto:grawity@gmail.com">grawity@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">First thought: Even without the exit code or anything, it's going to be -EBUSY like 99.999% of the time. Not much else can fail during umount.<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">And ”Filesystem is busy" would perfectly fit the earlier error message which you overlooked:</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">"Process 304 (plymouthd) has been marked to be excluded from killing.<br class="gmail_msg">It is running from the root file system, and thus likely to block<br class="gmail_msg">re-mounting of the root file system to read-only."</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">So you have a process holding / open (Plymouth is the boot splash screen app) and the kernel doesn't allow it to be umounted due to that.<br class="gmail_msg"></div></blockquote></div><div><br></div><div><br></div><div>a. Seems flawed to have something that can block remount to read only. Either a flaw of Plymouth directly, or running it from root fs rather than the initramfs.</div><div><br></div><div>b. This message occurs, as well as the three remount ro messages, regardless of filesystem (volume format). </div><div><br></div><div>c. Only XFS is left in a dirty state following the reboot. Ext4 and Btrfs are OK.</div><div><br></div><div>So I'm still left with why XFS is affected, and XFS devs want to know the exit code.</div><div><br></div><div>At reboot/shutdown time, exactly what does systemd issue to the kernel to do this? </div><div><br></div><div><br></div><div>Chris Murphy</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div data-smartmail="gmail_signature" class="gmail_msg">
</div>
</blockquote></div>