[Bug 413059] New: cryptsetup loops on /dev/.udev/uevent_seqnum on shutdown
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059 Summary: cryptsetup loops on /dev/.udev/uevent_seqnum on shutdown Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: ro@novell.com ReportedBy: jblunck@novell.com QAContact: qa@suse.de CC: fehr@novell.com, kasievers@novell.com Found By: --- During shutdown, cryptsetup remove $name is called to remove the encrypted lvm device. This is waiting for udev to process the event which loops on /dev/.udev/uevent_seqnum to find out if udev has dealed with the event yet. Since udevd gets killed before the /etc/init.d/boot.d/K* scripts are run, this loops forever. A possible solution would be to call the /etc/init.d/boot.d/K* scripts before sending SIGTERM to all running processes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User ro@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c1
Ruediger Oertel
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
Dr. Werner Fink
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c2
--- Comment #2 from Dr. Werner Fink
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c3
Dr. Werner Fink
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c4
Dr. Werner Fink
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c5
--- Comment #5 from Dr. Werner Fink
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User xwhu@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c6
--- Comment #6 from Xinwei Hu
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User kasievers@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c7
--- Comment #7 from Kay Sievers
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User xwhu@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c8
--- Comment #8 from Xinwei Hu
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User xwhu@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c9
--- Comment #9 from Xinwei Hu
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User kasievers@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c10
--- Comment #10 from Kay Sievers
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c11
--- Comment #11 from Dr. Werner Fink
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User xwhu@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c12
Xinwei Hu
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User kasievers@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c13
Kay Sievers
This is fixed ...
Nice. Thanks!
nevertheless the job of udevd is more a job of a real kernel thread as IMHO this is a system relevant challenge. This would avoid the problem of killing a user space job ... an other option would be a `plugin' for /sbin/init.
Sounds right, yes. Unrelated to the killing of udevd, I've added the "unlink /dev/.udev/uevent_seqnum" patch, it sounds fine to clean that up on exit. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User jblunck@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c14
Jan Blunck
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=413059
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=413059#c15
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com