[Bug 936751] New: losetup does not return busy
http://bugzilla.suse.com/show_bug.cgi?id=936751 Bug ID: 936751 Summary: losetup does not return busy Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: Other OS: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: sbrabec@suse.com Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de CC: sweet_f_a@gmx.de Found By: --- Blocker: --- Steps to Reproduce: dd if=/dev/zero of=empty count=1 losetup /dev/loop4 empty losetup /dev/loop4 empty Actual Results: /dev/loop4 is dis-associated from file Expected Results: should behave like SLE-11 or openSUSE-13.2, which print losetup: empty: failed to set up loop device: Device or resource busy and leave the loop-dev associated to the file strace of 2nd loop call: readlink("/dev/shm/empty", 0x7ffeaa0c6ef0, 4096) = -1 EINVAL (Invalid argument) open("/dev/shm/empty", O_RDWR|O_CLOEXEC) = 3 open("/dev/loop4", O_RDWR|O_CLOEXEC) = 4 ioctl(4, LOOP_SET_FD, 0x3) = -1 EBUSY (Device or resource busy) close(3) = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 close(1) = 0 close(2) = 0 exit_group(1) = ? +++ exited with 1 +++ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=936751
http://bugzilla.suse.com/show_bug.cgi?id=936751#c1
--- Comment #1 from Ruediger Meier
http://bugzilla.suse.com/show_bug.cgi?id=936751
http://bugzilla.suse.com/show_bug.cgi?id=936751#c2
Bernhard Wiedemann
http://bugzilla.suse.com/show_bug.cgi?id=936751
http://bugzilla.suse.com/show_bug.cgi?id=936751#c3
--- Comment #3 from Ruediger Meier
tested the fix. works nicely.
btw: bnc#xxxxxx is the usual notation used in .changes files. Then my obs-bugzilla integration script would also auto-link it here.
Sorry I was using the notation from the spec file comments. I've fixed this for the changes in sr #315030. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=936751
http://bugzilla.suse.com/show_bug.cgi?id=936751#c5
Benjamin Brunner
participants (1)
-
bugzilla_noreply@novell.com