[Bug 798539] New: rm -rf strace illegal seek on a directory that is reported not empty
https://bugzilla.novell.com/show_bug.cgi?id=798539 https://bugzilla.novell.com/show_bug.cgi?id=798539#c0 Summary: rm -rf strace illegal seek on a directory that is reported not empty Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: roeland@linux-it.nl QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 root filesystem is btrfs. tried to delete a directory /storage/vmware but failed to do so as rm -rf reported directory not empty. When stracing, it was reported to be an illegal seek. Furter trouble shooting relealed that rm -rf failed as it was a btrfs subvolume. The error does not reflect this at all. After btrfs subvolume delete /storage/vmware I was able to rm -rf /storage Reproducible: Always Steps to Reproduce: 1.create a btrfs subvolume 2. rm -rf /path/to/subvolume 3. Actual Results: rm -rf reports directory not empty (but it is) Expected Results: expected was an error that reports that it cannot delete a btrfs subvolume instead of reporting that it cannot remove a non-emtpy directory (which to the outside world shows as being emty) additional output would have made life easier. problem is that it's not always easy to remeber that it was a subvolume and there was no hint either. -- 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://bugzilla.novell.com/show_bug.cgi?id=798539 https://bugzilla.novell.com/show_bug.cgi?id=798539#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dsterba@suse.com AssignedTo|bnc-team-screening@forge.pr |pth@suse.com |ovo.novell.com | -- 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://bugzilla.novell.com/show_bug.cgi?id=798539 https://bugzilla.novell.com/show_bug.cgi?id=798539#c1 Philipp Thomas <pth@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |RESOLVED CC| |mail@bernhard-voelker.de Resolution| |UPSTREAM --- Comment #1 from Philipp Thomas <pth@suse.com> 2013-04-02 13:03:05 CEST --- Please report this upstream by sending a mail to bug-coreutils@gnu.org if you think that rm should detect btrfs. This will automatically open a bug report in their bug tracker. -- 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://bugzilla.novell.com/show_bug.cgi?id=798539 https://bugzilla.novell.com/show_bug.cgi?id=798539#c2 --- Comment #2 from David Sterba <dsterba@suse.com> 2013-04-02 14:08:08 CEST --- The error code returned when attempting to 'rm' a subvolume was changed from ENOTEMPTY to EPERM in kernel 3.7. -- 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.
participants (1)
-
bugzilla_noreply@novell.com