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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
Comment by Yu Tendo (YuTendo) - Thursday, 02 November 2017, 20:42 GMT
I think that I run in the same problem -actually quite often. It is not new -it occurs since a few weeks but now it starts bothering me.

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.

Loading...