Skip to content

Instantly share code, notes, and snippets.

@LnL7

LnL7/mounts Secret

Last active November 22, 2016 22:07
Show Gist options
  • Save LnL7/a35b248f73c81c02a5a00f19abfbd1df to your computer and use it in GitHub Desktop.
Save LnL7/a35b248f73c81c02a5a00f19abfbd1df to your computer and use it in GitHub Desktop.
rootfs / rootfs rw 0 0
/dev/md0 / ext4 rw,relatime,journal_checksum,barrier,data=ordered 0 0
none /dev devtmpfs rw,nosuid,noexec,relatime,size=326736k,nr_inodes=81684,mode=755 0 0
none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
/tmp /tmp tmpfs rw,relatime 0 0
/run /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
/dev/shm /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
none /proc/bus/usb devtmpfs rw,nosuid,noexec,relatime,size=326736k,nr_inodes=81684,mode=755 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
securityfs /sys/kernel/security securityfs rw,relatime 0 0
/dev/vg1000/lv /volume1 ext4 rw,relatime,journal_checksum,synoacl,data=writeback,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
none /config configfs rw,relatime 0 0
none /proc/fs/nfsd nfsd rw,relatime 0 0
/dev/vg1000/lv /nix ext4 rw,relatime,journal_checksum,synoacl,data=writeback,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
[pid 1074] close(1000) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1001) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1002) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1003) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1004) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1005) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1006) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1007) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1008) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1009) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1010) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1011) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1012) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1013) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1014) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1015) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1016) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1017) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1018) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1019) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1020) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1021) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1022) = -1 EBADF (Bad file descriptor)
[pid 1074] close(1023) = -1 EBADF (Bad file descriptor)
[pid 1074] uname({sysname="Linux", nodename="Strawberry", ...}) = 0
[pid 1074] personality(0xffffffff) = 0x800000 (PER_LINUX|ADDR_LIMIT_32BIT)
[pid 1074] personality(PER_LINUX|ADDR_NO_RANDOMIZE|ADDR_LIMIT_32BIT) = 0x800000 (PER_LINUX|ADDR_LIMIT_32BIT)
[pid 1074] setgroups32(1, [30000]) = 0
[pid 1074] setgid32(30000) = 0
[pid 1074] getgid32() = 30000
[pid 1074] getegid32() = 30000
[pid 1074] setuid32(30001) = 0
[pid 1074] getuid32() = 30001
[pid 1074] geteuid32() = 30001
[pid 1074] rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x76a06780}, NULL, 8) = 0
[pid 1074] write(2, "\1\n", 2) = 2
[pid 1074] execve("/nix/store/x9pkm0d2fbc4kq89v7wzf64ccphnpybc-perl-5.22.2/bin/perl", ["perl", "-w", "/nix/store/64jc9gd2rkbgdb4yjx3nrgc91bpjj5ky-buildenv.pl"], [/* 20 vars */]) = -1 EACCES (Permission denied)
[pid 1074] write(2, "\1while setting up the build environment: executing \342\200\230/nix/store/x9pkm0d2fbc4kq89v7wzf64ccphnpybc-perl-5.22.2/bin/perl\342\200\231: Permission denied\n", 141) = 141
[pid 1074] exit_group(1) = ?
[pid 1074] +++ exited with 1 +++
<... read resumed> "\1", 1) = 1
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1074, si_uid=30001, si_status=1, si_utime=0, si_stime=1} ---
read(11, "\n", 1) = 1
gettimeofday({1479852407, 444956}, NULL) = 0
_newselect(12, [11], NULL, NULL, NULL) = 1 (in [11])
gettimeofday({1479852407, 445183}, NULL) = 0
read(11, "\1while setting up the build environment: executing \342\200\230/nix/store/x9pkm0d2fbc4kq89v7wzf64ccphnpybc-perl-5.22.2/bin/perl\342\200\231: Permission denied\n", 4096) = 141
write(2, "\1while setting up the build environment: executing \342\200\230/nix/store/x9pkm0d2fbc4kq89v7wzf64ccphnpybc-perl-5.22.2/bin/perl\342\200\231: Permission denied\n", 141while setting up the buildenvironment: executing ‘/nix/store/x9pkm0d2fbc4kq89v7wzf64ccphnpybc-perl-5.22.2/bin/perl’: Permission denied
) = 141
gettimeofday({1479852407, 445656}, NULL) = 0
_newselect(12, [11], NULL, NULL, NULL) = 1 (in [11])
gettimeofday({1479852407, 445862}, NULL) = 0
read(11, "", 4096) = 0
wait4(1074, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 1074
close(11) = 0
fstat64(10, {st_mode=S_IFREG|0777, st_size=0, ...}) = 0
write(10, "BZh91AY&SY/\5\330\245\0\0\0[\341 \20@\3\327\360@\0\37\357\377\360@\0\0`\20\0 \0hE4\365\1\243C\20\321\223CC@\10\241\350\231\33\325\0004\214\21\246\230z\246\204Ei`\210\265@\305Vrx^g\3163\201\256*\30\367P\277_\207s,u\6\231 \246\310\343\336\215\256\360\314\313n\r2\314\236\2154\246\350\312\\\246c_]E\17K\211\25\5\376Ns%.j=7\4p\16\201\317\256)\30\240#e\213\1\275 \22X\376\313\262\32\177\27rE8P\220/\5\330\245", 166) = 166
munmap(0x76190000, 3600384) = 0
munmap(0x75e21000, 3600384) = 0
munmap(0x75de0000, 266240) = 0
close(10) = 0
clone(/nix/store/3bn3262w3mhn47rbw87wpcvs9nx4asaq-strace-4.13/bin/strace: Process 1075 attached
child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x76f12068) = 1075
[pid 1075] set_robust_list(0x76f12070, 12 <unfinished ...>
[pid 1072] wait4(1075, <unfinished ...>
[pid 1075] <... set_robust_list resumed> ) = 0
[pid 1075] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0
[pid 1075] setuid32(30001) = 0
[pid 1075] kill(-1, SIGKILL) = 0
[pid 1075] exit_group(0) = ?
[pid 1075] +++ exited with 0 +++
<... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1075
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1075, si_uid=30001, si_status=0, si_utime=0, si_stime=0} ---
statfs64("/nix/store", 88, 0x7e97c988) = 0
statfs64("/tmp/nix-build-user-environment.drv-0", 88, 0x7e97c988) = 0
lstat64("/tmp/nix-build-user-environment.drv-0", {st_mode=S_IFDIR|0700, st_size=40, ...}) = 0
open("/tmp/nix-build-user-environment.drv-0", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 10
fstat64(10, {st_mode=S_IFDIR|0700, st_size=40, ...}) = 0
getdents64(10, /* 2 entries */, 32768) = 48
getdents64(10, /* 0 entries */, 32768) = 0
close(10) = 0
unlink("/tmp/nix-build-user-environment.drv-0") = -1 EISDIR (Is a directory)
rmdir("/tmp/nix-build-user-environment.drv-0") = 0
ioctl(2, TCGETS, {B9600 opost isig icanon echo ...}) = 0
write(2, "builder for \342\200\230/nix/store/p567g69bgf2z9hby2xkqsn2qs9np3kkh-user-environment.drv\342\200\231 failed with exit code 1\n", 107builder for ‘/nix/store/p567g69bgf2z9hby2xkqsn2qs9np3kkh-user-environment.drv’ failed with exit code 1
) = 107
close(7) = 0
close(9) = 0
ioctl(2, TCGETS, {B9600 opost isig icanon echo ...}) = 0
write(2, "\33[31;1merror:\33[0m build of \342\200\230/nix/store/p567g69bgf2z9hby2xkqsn2qs9np3kkh-user-environment.drv\342\200\231 failed\n", 105error: build of ‘/nix/store/p567g69bgf2z9hby2xkqsn2qs9np3kkh-user-environment.drv’ failed
) = 105
close(8) = 0
unlink("/nix/var/nix/temproots/1072") = 0
fcntl64(4, F_SETLK64, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}) = 0
fcntl64(4, F_SETLK64, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=1073741826, l_len=510}) = 0
unlink("/nix/var/nix/db/db.sqlite-shm") = 0
munmap(0x764ff000, 32768) = 0
close(6) = 0
close(5) = 0
unlink("/nix/var/nix/db/db.sqlite-wal") = 0
fcntl64(4, F_SETLK64, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=2}) = 0
fcntl64(4, F_SETLK64, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
fstat64(4, {st_mode=S_IFREG|0777, st_size=143360, ...}) = 0
stat64("/nix/var/nix/db/db.sqlite", {st_mode=S_IFREG|0777, st_size=143360, ...}) = 0
close(4) = 0
munmap(0x76507000, 425984) = 0
close(3) = 0
exit_group(100) = ?
+++ exited with 100 +++
File: ‘/nix/’
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: fd00h/64768d Inode: 22165933 Links: 4
Access: (0744/drwxr--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2016-11-22 22:50:03.266020381 +0100
Modify: 2016-11-22 21:23:49.377770038 +0100
Change: 2016-11-22 22:49:46.146384790 +0100
Birth: -
File: ‘/nix/store/’
Size: 20480 Blocks: 40 IO Block: 4096 directory
Device: fd00h/64768d Inode: 22183317 Links: 40
Access: (1775/drwxrwxr-t) Uid: ( 0/ root) Gid: (30000/ nixbld)
Access: 2016-11-22 22:52:25.182998771 +0100
Modify: 2016-11-22 22:35:50.424281561 +0100
Change: 2016-11-22 22:52:12.933259637 +0100
Birth: -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment