| Summary: | systemd freeze when physically unplug a usb disc without umounting it first | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Thierry Vignaud <thierry.vignaud> |
| Component: | RPM Packages | Assignee: | Colin Guthrie <mageia> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | doktor5000 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | systemd-229-1.mga6.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
what's relevant in dmesg
GDB trace (with symbols) |
||
|
Description
Thierry Vignaud
2016-02-14 17:06:43 CET
Created attachment 7456 [details]
what's relevant in dmesg
Example of failling reboot: [root@localhost ~]# LC_ALL=C reboot Failed to start reboot.target: Failed to activate service 'org.freedesktop.systemd1': timed out See system logs and 'systemctl status reboot.target' for details. Failed to open /dev/initctl: No such device or address Failed to talk to init daemon.
Florian Hubold
2016-02-14 21:08:58 CET
CC:
(none) =>
doktor5000 I don't see any commits yet upstream, and I cannot reproduce here.. I presume it's easily reproducible for you? Has anyone else confirmed? Yes. It's easily reproducible. Actually it happened for a clean umount/unplug too at least once. I guess I'll have to attach gdb to systemd tonight in order to get a trace It doesn't happen anymore. I guess it was fixed by one of glib2/... update Status:
NEW =>
RESOLVED It happens again for a few days: Meu 04 17:14:11 systemd[1208]: Assertion 'b' failed at src/basic/path-util.c:390, function path_compare(). Aborting. Meu 04 17:14:11 systemd[1]: Caught <ABRT>, dumped core as pid 32138. Meu 04 17:14:11 systemd[1]: Freezing execution. And then: # reboot Failed to start reboot.target: Connection timed out See system logs and 'systemctl status reboot.target' for details. Failed to open /dev/initctl: No such device or address Failed to talk to init daemon. Summary:
systemd freeze when hysically unplug a usb disc without umounting it first =>
systemd freeze when physically unplug a usb disc without umounting it first Created attachment 7513 [details]
GDB trace (with symbols)
You should probably report that upstream: https://github.com/systemd/systemd/issues I added a patch and submitted upstream. It should avoid the crash but not sure if it's the "real" fix. https://github.com/systemd/systemd/pull/2834 Should be in cauldron shortly. In reply to Colin Guthrie from comment #9) > I added a patch and submitted upstream. It should avoid the crash but not > sure if it's the "real" fix. > > https://github.com/systemd/systemd/pull/2834 This seems upstream and fixed. Merged pull request. Trying reproduce: no systemd freeze. Status:
REOPENED =>
RESOLVED |