-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2016-08-19 06:18, johnyju...@sigaint.org wrote:
>>> This problem persists in 3.2rc2.
>>> 
>>> (And I get 0 errors on the same USB drive under Tails.  When I can
>>> find the SATA power connector around here somewhere, I'll try moving
>>> the drive direct onto the SATA bus.)
>> 
>> I think the problem *may* be that systemd has a default 90 second
>> timeout on jobs, including unmounting root.
>> 
>> On an external USB drive, due to slower transfer times, the shutdown 
>> process of all the VM's, killing processes, flushing buffers, etc., 
>> happens to take long enough that a clean unmount of the drive doesn't
>> get a chance to occur, leaned to a corrupted filesystem.
> 
> I am very new to systemd, but I believe the cause of my corruption is that 
> there may be a typo bug in one of the directives for systemd's 
> umount.target.
> 
> "systemctl show umount.target" reveals:
> 
>> JobTimeoutUSec=0
> 
> "man systemd.directives" and "man system.unit" do not show any such 
> directive; however, they do show "JobTimeoutSec" which I believe was likely
> the intended directive, and which would set no limit on waiting for that
> shutdown filesystem unmount, and I believe would prevent the corruption I
> was seeing.
> 
> A zgrep of all the man pages shows no indication of JobTimeoutUSec being a 
> legit property.
> 
> Cheers.
> 
> JJ
> 

Thanks for the report! Updated:

https://github.com/QubesOS/qubes-issues/issues/2245#issuecomment-241107927

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXt1kbAAoJENtN07w5UDAwTdkP/jcUco65Mh1pBLqCXhFBfZ9s
s57imQlP8jfUfE+zXAZ8PeYYA07cw31QXx+K3jcKvDyFOo3xfMvL+t9XH0WkM2B0
FUpFLn+YO3MEClLQM4ZC3hTZz7fl0npuhJBEPkOiGXMgbkycxP2rrqNTi9M7yoYi
Zg4/sAzi7PyLC8/gaUJ6c5LdsZ3KB2k8QQWRpgFbEBdYQ7b0kHF7hyjZqHo6Rnrd
26b8NTwKaCJR07tf2/BVuMzgskQpkzugDE083nVpyqKqBo9c6lZANETavd7JiVLD
O6Yt7NVM1ZHWKU8dPuEvBQ8yleEOmXRPDqrs9sXS2R2AdPpnmUOxYU8Tyi6MBTYi
+acp9A4gyduHbufhiDOv6Mh4rYpaItRQixutk6Q89UzgsjarR9Fj9IH/JqR4KmAK
mUdcok1rrzpcMGOOMH34kMJ/IkgxlWe7LNypn+kDattwULeoPYp+MMkRI2h/OJRR
bPdsXU5RN1Yc1x2hiGYdGBXn2QXT28I06AHq2fvLCXpIo90ia7lBr5u7DzzEVKp/
YkJgNp7QVR7rjE1WbmXWx43K8gUT5+0yYE7hPP72GSmQqZz3j5BlbheVrzzruEbz
EnsIfiwbl2Xj9wZNnSOuOnxNHSDaPtFRR+pRwBooIBsK8bP3vj4wajdg8mby8nI9
kh3DJ51P4tpeHGltp9LT
=Idxb
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/10c08c9c-a1ac-4a28-295a-22cdd0971b7a%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to