FS#55696 - [btrfs-progs] 4.13 btrfs-scrub@.service cannot be stopped
Attached to Project:
Arch Linux
Opened by MushiMushy (MushiMushy) - Thursday, 21 September 2017, 13:29 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 10 December 2017, 16:14 GMT
Opened by MushiMushy (MushiMushy) - Thursday, 21 September 2017, 13:29 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 10 December 2017, 16:14 GMT
|
Details
If btrfs-scrub@.service is stopped before the scrub is
finished, the started btrfs process does not die even after
sigkilled.
This makes, for example, shutdown hang for a long time (indefinitely?). The process is being send sigterm but it is only handling sigint. The fix is to specify KillSignal=SIGINT in the service file. |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Sunday, 10 December 2017, 16:14 GMT
Reason for closing: Fixed
Additional comments about closing: btrfs-progs-4.14-2
Sunday, 10 December 2017, 16:14 GMT
Reason for closing: Fixed
Additional comments about closing: btrfs-progs-4.14-2
I attached an excerpt of my logfile (journalctl) which illustrates the powering down procedure. Even waiting several days does not result in a complete shutdown -so it really stucks and I have to perform a hard reset.
It would be nice if someone could confirm that this is the same problem as described by the opener (based on the attached logfile). Thank you!
Edit:
I tried the mentioned fix -it worked for me. The problem did not occur during the last two weeks.