Summary: | Segfault on shutdown if using comment=systemd.automount in fstab | ||
---|---|---|---|
Product: | systemd | Reporter: | Franz Dietrich <enaut.w> |
Component: | general | Assignee: | Lennart Poettering <lennart> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | arvidjaar, rogutes, teg |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | gdb backtrace of /core |
Description
Franz Dietrich
2010-12-03 03:05:55 UTC
Created attachment 40812 [details]
gdb backtrace of /core
Confirming this with systemd-0.15 on x86_64. Backtrace attached.
Well I'm on an 64Bit machine too. $uname -a Linux localhost 2.6.36.1 #1 SMP PREEMPT Mon Nov 22 22:27:59 UTC 2010 x86_64 GNU/Linux despite the gentoo in the kernel string it's not really gentoo... (just the old config). Another thing I realized: It does not help to deactivate the automount stuff. I tried to systemctl stop [unit].automount and systemctl stop [unit].mount aswell as removing the fstab entry.having all that stuff done I think there should be almost nothing left. But on halt the segfault occurs. Another appearance: If I do a systemctl daemon-reexec I had the segfault too. If my system is booted up with such a line in /etc/fstab (and no corresponding unit), then systemd segfaults on `systemctl poweroff`: //pc/d /mnt/d cifs noauto,guest,comment=systemd.automount 0 0 If the system is booted up without the 'comment=systemd.automount' fstab option, there are no segfaults. Didn't see any `systemctl daemon-reexec` crashes. I can reproduce the bug in the following way: Put "comment=systemd.automount" in fstab. Access the directory so the volume is mounted. Exit the directory and stop the .mount unit. Do "systemctl daemon-reexec". The segfault happens in automount_check_gc() when reading "a->mount". I also see the problem on reboot/poweroff (but not as reproducible, maybe 60% of the time). Fixed now in git. Please verify! Brilliant, works here (after many, many boots) :-) Thanks for fixing this. Works for me too thanks :) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.