Comment 5 for bug 1469579

Revision history for this message
derek (denc716) wrote :

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, 0x1c0000) = 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.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=619, ...}) = 0
mmap(NULL, 619, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f47669e2000
close(3) = 0
open("/usr/lib/charset.alias", O_RDONLY|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 64), ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B9600 opost isig icanon echo ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f47669e1000
write(1, "removed \342\200\230/root/.bashrc\342\200\231\n", 28removed ‘/root/.bashrc’
) = 28
unlinkat(4, ".profile", 0) = 0
write(1, "removed \342\200\230/root/.profile\342\200\231\n", 29removed ‘/root/.profile’
) = 29
close(4) = 0
unlinkat(AT_FDCWD, "/root", AT_REMOVEDIR) = 0
write(1, "removed directory: \342\200\230/root\342\200\231\n", 31removed directory: ‘/root’
) = 31
lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
close(0) = 0
close(1) = 0
munmap(0x7f47669e1000, 4096) = 0
close(2) = 0
exit_group(0) = ?
+++ exited with 0 +++
removed /root
root@ubuntu-studio:~#

root@ubuntu-studio:~# df -Th
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 664M 0 664M 0% /dev
tmpfs tmpfs 137M 9.0M 128M 7% /run
/dev/sr0 iso9660 2.3G 2.3G 0 100% /cdrom
/dev/loop0 squashfs 2.3G 2.3G 0 100% /rofs
/cow overlay 682M 42M 640M 7% /
tmpfs tmpfs 682M 80K 682M 1% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 682M 0 682M 0% /sys/fs/cgroup
tmpfs tmpfs 682M 8.0K 682M 1% /tmp
tmpfs tmpfs 137M 32K 137M 1% /run/user/999
root@ubuntu-studio:~#
root@ubuntu-studio:~# cat /proc/cmdline
file=/cdrom/preseed/ubuntustudio.seed boot=casper username=mint debug console=tty0 console=ttyS0 ---
root@ubuntu-studio:~# cat /proc/version
Linux version 4.1.1-040101-lowlatency (kernel@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201506291635 SMP PREEMPT Mon Jun 29 20:45:44 UTC 2015