I bought a new (for me) Dell Optiplex 9020 with windows 10 installed. I installed Xubuntu 16.04 form a CD I have,and then upgraded to 18.04.4. everything was working fine, but shutdown paused at the end. I looked up this problem and follow instructions to fix this from this page:
https://medium.com/@sbyang/slow-shut...4-e5fcc31255e2
I did not take out the # sign at the beginning of the line--I'm not sure if I needed to do that. I changed
#DefaultTimeoutStopSec=90s to #DefaultTimeoutStopSec=4, and I also changed the line above it which I think was DefaultTimeoutstartSec=90s as well.
I read at the top of the file, at that if I wanted to undo my changes I could delete the file and the defaults would be restored.
I assumed that a new file identical to the original would be created in its place, but now there is no such file at /etc/systemd/system.conf.
When the shutdown finishes, the computer does nothing for a while then I start getting error:
revalidation failed (errno-5) and this goes on until I power off the system by holding the power button.
I tried changing the file back to it's original state--no change
I tried deleting the file--no change. of course i rebooted the system sever times in the process and since.
The last lines before the pause are:
[OK] Reached target shutdown
[OK] Reached target Final step
Starting Power-off
After pause the first few lines are:
[] ata3.00 exception Emask 0x0 SAct 0x0 action 0x0 frozen
[] ata300 cmd a0/00:00:00:00:08 00/00:00:00:00:00:00/90 tag 27 pio 16392 in
Get event status notification 4a 01 00 00 10 00 00 00 08 00 ics 40/00:00:00:00:00:/00 /100 Emask 0x4
There are a few more lines like this then the revalidation errors start.
How can I fix this and not have a delay in the shutdown/restart process?
Any help would be greatly appreciated,
Reuven