-
-
Save rie86/448db6660b744d4d9fcb4364923c0d73 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rie@apex ~$ sudo strace -f -p $(pgrep guix-daemon) | |
Password: | |
strace: Process 241 attached | |
select(4, [3], NULL, NULL, NULL) = 1 (in [3]) | |
accept(3, {sa_family=AF_UNIX}, [128->2]) = 4 | |
fcntl(4, F_GETFD) = 0 | |
fcntl(4, F_SETFD, FD_CLOEXEC) = 0 | |
setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = -1 EOPNOTSUPP (Operation not supported) | |
setsockopt(4, SOL_TCP, TCP_QUICKACK, [1], 4) = -1 EOPNOTSUPP (Operation not supported) | |
getsockopt(4, SOL_SOCKET, SO_PEERCRED, {pid=6856, uid=1000, gid=998}, [12]) = 0 | |
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 5 | |
lseek(5, 0, SEEK_CUR) = 0 | |
fstat(5, {st_mode=S_IFREG|0644, st_size=1884, ...}) = 0 | |
read(5, "root:x:0:0::/root:/gnu/store/n1c"..., 4096) = 1884 | |
close(5) = 0 | |
write(2, "accepted connection from pid 685"..., 44) = 44 | |
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDstrace: Process 6860 attached | |
, child_tidptr=0x7fdcdb476e50) = 6860 | |
[pid 241] close(4) = 0 | |
[pid 241] select(4, [3], NULL, NULL, NULL <unfinished ...> | |
[pid 6860] set_robust_list(0x7fdcdb476e60, 24) = 0 | |
[pid 6860] close(3) = 0 | |
[pid 6860] setsid() = 6860 | |
[pid 6860] rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, {sa_handler=0x408af0, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, 8) = 0 | |
[pid 6860] rt_sigaction(SIGIO, {sa_handler=SIG_IGN, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 | |
[pid 6860] getpid() = 6860 | |
[pid 6860] fcntl(4, F_SETOWN, 6860) = 0 | |
[pid 6860] fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) | |
[pid 6860] fcntl(4, F_SETFL, O_RDWR|FASYNC) = 0 | |
[pid 6860] read(4, "cxin\0\0\0\0", 32768) = 8 | |
[pid 6860] write(4, "oixd\0\0\0\0c\1\0\0\0\0\0\0", 16) = 16 | |
[pid 6860] --- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} --- | |
[pid 6860] --- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} --- | |
[pid 6860] read(4, "c\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 32768) = 24 | |
[pid 6860] rt_sigaction(SIGIO, {sa_handler=0x40a370, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, {sa_handler=SIG_IGN, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, 8) = 0 | |
[pid 6860] select(5, [4], NULL, NULL, {tv_sec=0, tv_usec=0}) = 0 (Timeout) | |
[pid 6860] lstat("/gnu/store", {st_mode=S_IFDIR|S_ISVTX|0775, st_size=323584, ...}) = 0 | |
[pid 6860] getuid() = 0 | |
[pid 6860] statfs("/gnu/store", {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=58867178, f_bfree=57979625, f_bavail=54971907, f_files=15024128, f_ffree=14917786, f_fsid={val=[1376269339, 127665827]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RDONLY|ST_RELATIME}) = 0 | |
[pid 6860] unshare(CLONE_NEWNS) = 0 | |
[pid 6860] mount(NULL, "/gnu/store", 0x492302, MS_REMOUNT|MS_BIND, NULL) = 0 | |
[pid 6860] lstat("/gnu/store/.links", {st_mode=S_IFDIR|0755, st_size=7499776, ...}) = 0 | |
[pid 6860] lstat("/var/guix/profiles", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 | |
[pid 6860] lstat("/var/guix/temproots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 | |
[pid 6860] lstat("/var/guix/db", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 | |
[pid 6860] statx(AT_FDCWD, "/var/guix/gcroots", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, 0, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0 | |
[pid 6860] getuid() = 0 | |
[pid 6860] lstat("/var/guix/profiles/per-user", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 | |
[pid 6860] chmod("/var/guix/profiles/per-user", 0755) = 0 | |
[pid 6860] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 | |
[pid 6860] connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = 0 | |
[pid 6860] sendto(3, "\2\0\0\0\f\0\0\0\6\0\0\0group\0", 18, MSG_NOSIGNAL, NULL, 0) = 18 | |
[pid 6860] poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) | |
[pid 6860] recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="", iov_len=6}, {iov_base="", iov_len=8}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 0 | |
[pid 6860] close(3) = 0 | |
[pid 6860] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 | |
[pid 6860] connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = 0 | |
[pid 6860] sendto(3, "\2\0\0\0\2\0\0\0\n\0\0\0guixbuild\0", 22, MSG_NOSIGNAL, NULL, 0) = 22 | |
[pid 6860] poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) | |
[pid 6860] read(3, "\2\0\0\0\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0", 24) = 24 | |
[pid 6860] close(3) = 0 | |
[pid 6860] openat(AT_FDCWD, "/etc/group", O_RDONLY|O_CLOEXEC) = 3 | |
[pid 6860] lseek(3, 0, SEEK_CUR) = 0 | |
[pid 6860] fstat(3, {st_mode=S_IFREG|0644, st_size=568, ...}) = 0 | |
[pid 6860] read(3, "root:x:0:\nwheel:x:999:rie\nusers:"..., 4096) = 568 | |
[pid 6860] close(3) = 0 | |
[pid 6860] stat("/gnu/store", {st_mode=S_IFDIR|S_ISVTX|0775, st_size=323584, ...}) = 0 | |
[pid 6860] lstat("/gnu/store", {st_mode=S_IFDIR|S_ISVTX|0775, st_size=323584, ...}) = 0 | |
[pid 6860] lstat("/gnu", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 | |
[pid 6860] stat("/var/guix/db/reserved", {st_mode=S_IFREG|0600, st_size=8388608, ...}) = 0 | |
[pid 6860] openat(AT_FDCWD, "/var/guix/db/big-lock", O_RDWR|O_CREAT, 0600) = 3 | |
[pid 6860] fcntl(3, F_GETFD) = 0 | |
[pid 6860] fcntl(3, F_SETFD, FD_CLOEXEC) = 0 | |
[pid 6860] fcntl(3, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 | |
[pid 6860] statx(AT_FDCWD, "/var/guix/db/schema", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, 0, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=1, ...}) = 0 | |
[pid 6860] openat(AT_FDCWD, "/var/guix/db/schema", O_RDONLY) = 5 | |
[pid 6860] fstat(5, {st_mode=S_IFREG|0644, st_size=1, ...}) = 0 | |
[pid 6860] read(5, "7", 1) = 1 | |
[pid 6860] close(5) = 0 | |
[pid 6860] access("/var/guix/db", R_OK|W_OK) = 0 | |
[pid 6860] lstat("/var/guix/db/db.sqlite", {st_mode=S_IFREG|0644, st_size=2523136, ...}) = 0 | |
[pid 6860] getpid() = 6860 | |
[pid 6860] getpid() = 6860 | |
[pid 6860] openat(AT_FDCWD, "/var/guix/db/db.sqlite", O_RDWR|O_CLOEXEC) = 5 | |
[pid 6860] fstat(5, {st_mode=S_IFREG|0644, st_size=2523136, ...}) = 0 | |
[pid 6860] fstat(5, {st_mode=S_IFREG|0644, st_size=2523136, ...}) = 0 | |
[pid 6860] stat("/var/guix/db/db.sqlite", {st_mode=S_IFREG|0644, st_size=2523136, ...}) = 0 | |
[pid 6860] lseek(5, 0, SEEK_SET) = 0 | |
[pid 6860] read(5, "SQLite format 3\0\20\0\2\2\0@ \0\0\0(\0\0\2h"..., 100) = 100 | |
[pid 6860] brk(0x6d2000) = 0x6d2000 | |
[pid 6860] fcntl(5, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}) = 0 | |
[pid 6860] fcntl(5, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=1073741826, l_len=510}) = 0 | |
[pid 6860] fcntl(5, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}) = 0 | |
[pid 6860] stat("/var/guix/db/db.sqlite-journal", 0x7ffe74731110) = -1 ENOENT (No such file or directory) | |
[pid 6860] stat("/var/guix/db/db.sqlite-wal", 0x7ffe74731110) = -1 ENOENT (No such file or directory) | |
[pid 6860] fstat(5, {st_mode=S_IFREG|0644, st_size=2523136, ...}) = 0 | |
[pid 6860] lseek(5, 0, SEEK_SET) = 0 | |
[pid 6860] read(5, "SQLite format 3\0\20\0\2\2\0@ \0\0\0(\0\0\2h"..., 4096) = 4096 | |
[pid 6860] getpid() = 6860 | |
[pid 6860] stat("/var/guix/db/db.sqlite", {st_mode=S_IFREG|0644, st_size=2523136, ...}) = 0 | |
[pid 6860] openat(AT_FDCWD, "/var/guix/db/db.sqlite-wal", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 6 | |
[pid 6860] fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 | |
[pid 6860] geteuid() = 0 | |
[pid 6860] fchown(6, 0, 0) = 0 | |
[pid 6860] fstat(5, {st_mode=S_IFREG|0644, st_size=2523136, ...}) = 0 | |
[pid 6860] openat(AT_FDCWD, "/var/guix/db/db.sqlite-shm", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 7 | |
[pid 6860] fstat(7, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 | |
[pid 6860] geteuid() = 0 | |
[pid 6860] fchown(7, 0, 0) = 0 | |
[pid 6860] fcntl(7, F_GETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=128, l_len=1, l_pid=0}) = 0 | |
[pid 6860] fcntl(7, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=128, l_len=1}) = 0 | |
[pid 6860] ftruncate(7, 3) = 0 | |
[pid 6860] fcntl(7, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=128, l_len=1}) = 0 | |
[pid 6860] fstat(7, {st_mode=S_IFREG|0644, st_size=3, ...}) = 0 | |
[pid 6860] fcntl(7, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=120, l_len=1}) = 0 | |
[pid 6860] fstat(7, {st_mode=S_IFREG|0644, st_size=3, ...}) = 0 | |
[pid 6860] lseek(7, 4095, SEEK_SET) = 4095 | |
[pid 6860] write(7, "\0", 1) = 1 | |
[pid 6860] lseek(7, 8191, SEEK_SET) = 8191 | |
[pid 6860] write(7, "\0", 1) = 1 | |
[pid 6860] lseek(7, 12287, SEEK_SET) = 12287 | |
[pid 6860] write(7, "\0", 1) = 1 | |
[pid 6860] lseek(7, 16383, SEEK_SET) = 16383 | |
[pid 6860] write(7, "\0", 1) = 1 | |
[pid 6860] lseek(7, 20479, SEEK_SET) = 20479 | |
[pid 6860] write(7, "\0", 1) = 1 | |
[pid 6860] lseek(7, 24575, SEEK_SET) = 24575 | |
[pid 6860] write(7, "\0", 1) = 1 | |
[pid 6860] lseek(7, 28671, SEEK_SET) = 28671 | |
[pid 6860] write(7, "\0", 1) = 1 | |
[pid 6860] lseek(7, 32767, SEEK_SET) = 32767 | |
[pid 6860] write(7, "\0", 1) = 1 | |
[pid 6860] mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 7, 0) = 0x7fdcdb182000 | |
[pid 6860] fcntl(7, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=121, l_len=2}) = 0 | |
[pid 6860] fcntl(7, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=124, l_len=4}) = 0 | |
[pid 6860] fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 | |
[pid 6860] fcntl(7, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=121, l_len=2}) = 0 | |
[pid 6860] fcntl(7, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=124, l_len=4}) = 0 | |
[pid 6860] fcntl(7, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=120, l_len=1}) = 0 | |
[pid 6860] fcntl(7, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=123, l_len=1}) = 0 | |
[pid 6860] fstat(5, {st_mode=S_IFREG|0644, st_size=2523136, ...}) = 0 | |
[pid 6860] lseek(5, 0, SEEK_SET) = 0 | |
[pid 6860] read(5, "SQLite format 3\0\20\0\2\2\0@ \0\0\0(\0\0\2h"..., 4096) = 4096 | |
[pid 6860] fcntl(7, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=123, l_len=1}) = 0 | |
[pid 6860] openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 8 | |
[pid 6860] lseek(8, 0, SEEK_CUR) = 0 | |
[pid 6860] fstat(8, {st_mode=S_IFREG|0644, st_size=1884, ...}) = 0 | |
[pid 6860] read(8, "root:x:0:0::/root:/gnu/store/n1c"..., 4096) = 1884 | |
[pid 6860] close(8) = 0 | |
[pid 6860] lstat("/var/guix/profiles/per-user/rie", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 | |
[pid 6860] chmod("/var/guix/profiles/per-user/rie", 0755) = 0 | |
[pid 6860] chown("/var/guix/profiles/per-user/rie", 1000, -1) = 0 | |
[pid 6860] rt_sigaction(SIGIO, {sa_handler=SIG_IGN, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, {sa_handler=0x40a370, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, 8) = 0 | |
[pid 6860] write(4, "stla\0\0\0\0", 8) = 8 | |
[pid 6860] read(4, "\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 312 | |
[pid 6860] --- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} --- | |
[pid 6860] rt_sigaction(SIGIO, {sa_handler=0x40a370, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, {sa_handler=SIG_IGN, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, 8) = 0 | |
[pid 6860] select(5, [4], NULL, NULL, {tv_sec=0, tv_usec=0}) = 0 (Timeout) | |
[pid 6860] rt_sigaction(SIGIO, {sa_handler=SIG_IGN, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, {sa_handler=0x40a370, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7fdcdb4f8860}, 8) = 0 | |
[pid 6860] write(4, "stla\0\0\0\0", 8) = 8 | |
[pid 6860] read(4, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment