[Bug 1469579] Re: kernel crash when doing `rm -rf /root`
derek, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1469579/comments/7 regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find. ** Changed in: linux (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1469579 Title: kernel crash when doing `rm -rf /root` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1469579/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1469579] Re: kernel crash when doing `rm -rf /root`
I have the Ubuntu Mate Daily Live 20150716 image is good, doesn't have this problem anymore. http://cdimages.ubuntu.com/ubuntu-mate/daily-live/20150716/ root@ubuntu-mate:~# uname -a Linux ubuntu-mate 4.0.0-4-generic #6-Ubuntu SMP Tue Jun 30 20:49:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1469579 Title: kernel crash when doing `rm -rf /root` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1469579/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1469579] Re: kernel crash when doing `rm -rf /root`
derek, the next step is to fully reverse commit bisect from kernel 3.19 to 4.1 in order to identify the last bad commit, followed immediately by the first good one. Once this commit has been identified, then it may be reviewed as a candidate for backporting into your release. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection#How_do_I_reverse_bisect_the_upstream_kernel.3F ? Please note, finding adjacent kernel versions is not fully commit bisecting. Thank you for your understanding. Helpful bug reporting tips: https://wiki.ubuntu.com/ReportingBugs ** Tags added: kernel-fixed-upstream-4.1 needs-reverse-bisect ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1469579 Title: kernel crash when doing `rm -rf /root` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1469579/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1469579] Re: kernel crash when doing `rm -rf /root`
** Changed in: linux (Ubuntu) Status: Incomplete => Opinion ** Changed in: linux (Ubuntu) Status: Opinion => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1469579 Title: kernel crash when doing `rm -rf /root` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1469579/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1469579] Re: kernel crash when doing `rm -rf /root`
Tested upstream v4.1.1 doesn't have this problem; kernel-fixed-upstream http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1.1-unstable/ [ ] linux-image-4.1.1-040101-lowlatency_4.1.1-040101.201506291635_amd64.deb 29-Jun-2015 20:58 53M root@ubuntu-studio:~# uname -a Linux ubuntu-studio 4.1.1-040101-lowlatency #201506291635 SMP PREEMPT Mon Jun 29 20:45:44 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux root@ubuntu-studio:~# root@ubuntu-studio:~# root@ubuntu-studio:~# strace \rm -rvf /root && echo "removed /root" execve("/bin/rm", ["rm", "-rvf", "/root"], [/* 19 vars */]) = 0 brk(0) = 0x1494000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f47669e3000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=123268, ...}) = 0 mmap(NULL, 123268, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f47669c4000 close(3)= 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\v\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1869392, ...}) = 0 mmap(NULL, 3972864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f47663f8000 mprotect(0x7f47665b8000, 2097152, PROT_NONE) = 0 mmap(0x7f47667b8000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c) = 0x7f47667b8000 mmap(0x7f47667be000, 16128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f47667be000 close(3)= 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f47669c3000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f47669c2000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f47669c1000 arch_prctl(ARCH_SET_FS, 0x7f47669c2700) = 0 mprotect(0x7f47667b8000, 16384, PROT_READ) = 0 mprotect(0x60d000, 4096, PROT_READ) = 0 mprotect(0x7f47669e5000, 4096, PROT_READ) = 0 munmap(0x7f47669c4000, 123268) = 0 brk(0) = 0x1494000 brk(0x14b5000) = 0x14b5000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=2919792, ...}) = 0 mmap(NULL, 2919792, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f476612f000 close(3)= 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B9600 opost isig icanon echo ...}) = 0 lstat("/", {st_mode=S_IFDIR|0755, st_size=240, ...}) = 0 newfstatat(AT_FDCWD, "/root", {st_mode=S_IFDIR|0700, st_size=46, ...}, AT_SYMLINK_NOFOLLOW) = 0 openat(AT_FDCWD, "/root", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_DIRECTORY|O_NOFOLLOW) = 3 fstat(3, {st_mode=S_IFDIR|0700, st_size=46, ...}) = 0 fcntl(3, F_GETFL) = 0x38800 (flags O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_NOFOLLOW) fcntl(3, F_SETFD, FD_CLOEXEC) = 0 getdents(3, /* 4 entries */, 32768) = 112 close(3)= 0 openat(AT_FDCWD, "/root", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_DIRECTORY|O_NOFOLLOW) = 3 fcntl(3, F_GETFD) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fstat(3, {st_mode=S_IFDIR|0700, st_size=46, ...}) = 0 fcntl(3, F_GETFL) = 0x38800 (flags O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_NOFOLLOW) fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fcntl(3, F_DUPFD, 3)= 4 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 getdents(3, /* 4 entries */, 32768) = 112 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 unlinkat(4, ".bashrc", 0) = 0 open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f47669e2000 read(3, "# Locale name alias data base.\n#"..., 1024) = 1024 read(3, " entries are case independent.\n\n"..., 1024) = 1024 read(3, "R\nko_KR\t\tko_KR.eucKR\nlithuanian "..., 1024) = 522 read(3, "", 1024) = 0 close(3)= 0 munmap(0x7f47669e2000, 4096)= 0 open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.ut
[Bug 1469579] Re: kernel crash when doing `rm -rf /root`
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.1 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-unstable/ ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1469579 Title: kernel crash when doing `rm -rf /root` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1469579/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1469579] Re: kernel crash when doing `rm -rf /root`
this looks like a bug of overlay fs, when /root only exists in underlying rofs and not exist in upper writable layer, what will happen if remove the dir from the combined mount? please let me know what else I can do to narrow down this kernel bug. ** Attachment removed: "WifiSyslog.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1469579/+attachment/4421683/+files/WifiSyslog.txt ** Attachment removed: "JournalErrors.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1469579/+attachment/4421673/+files/JournalErrors.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1469579 Title: kernel crash when doing `rm -rf /root` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1469579/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs