1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154 | # uname -rpo
4.4.0-36-generic x86_64 GNU/Linux
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
# debootstrap --version
debootstrap 1.0.78+nmu1ubuntu1.1
# strace debootstrap --verbose --arch amd64 --variant=minbase xenial /data/build/xenial http://archive.ubuntu.com/ubuntu/
...
...
...
I: Extracting tzdata...
I: Extracting util-linux...
I: Extracting zlib1g...
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 30545
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30545, si_uid=0, si_status=0, si_utime=0, si_stime=2} ---
rt_sigreturn({mask=[]}) = 30545
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31157
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31157
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31157, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31157
open("/data/build/xenial/var/lib/dpkg/status", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
dup2(11, 1) = 1
close(11) = 0
open("/data/build/xenial/var/lib/dpkg/available", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
dup2(11, 1) = 1
close(11) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31158
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31158
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31158, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31158
stat("/data/build/xenial//etc/resolv.conf", 0x7ffc82e14860) = -1 ENOENT (No such file or directory)
lstat("/etc/resolv.conf", {st_mode=S_IFLNK|0777, st_size=29, ...}) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=236, ...}) = 0
open("/data/build/xenial//etc/resolv.conf", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31159
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31159
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31159, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31159
dup2(11, 1) = 1
close(11) = 0
stat("/data/build/xenial//etc/hostname", 0x7ffc82e14880) = -1 ENOENT (No such file or directory)
lstat("/etc/hostname", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
stat("/etc/hostname", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
stat("/usr/local/sbin/cp", 0x7ffc82e149c0) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/cp", 0x7ffc82e149c0) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/cp", 0x7ffc82e149c0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/cp", 0x7ffc82e149c0) = -1 ENOENT (No such file or directory)
stat("/sbin/cp", 0x7ffc82e149c0) = -1 ENOENT (No such file or directory)
stat("/bin/cp", {st_mode=S_IFREG|0755, st_size=151024, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31160
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31160
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31160, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31160
stat("/data/build/xenial/etc/apt/sources.list", 0x7ffc82e14ab0) = -1 ENOENT (No such file or directory)
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31161
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31161
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31161, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31161
open("/data/build/xenial/etc/apt/sources.list", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
pipe([3, 5]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31162
close(5) = 0
read(3, "var/lib/apt/lists/", 128) = 18
read(3, "debootstrap.invalid_dists_xenial"..., 128) = 60
read(3, "", 128) = 0
close(3) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31162, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31162
stat("/data/build/xenial/var/lib/apt/lists/debootstrap.invalid_dists_xenial_main_binary-amd64_Packages", {st_mode=S_IFREG|0644, st_size=7228243, ...}) = 0
write(1, "deb http://debootstrap.invalid/ "..., 44) = 44
dup2(11, 1) = 1
close(11) = 0
stat("/data/build/xenial/etc/fstab", 0x7ffc82e14d40) = -1 ENOENT (No such file or directory)
open("/data/build/xenial/etc/fstab", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
write(1, "# UNCONFIGURED FSTAB FOR BASE SY"..., 37) = 37
dup2(11, 1) = 1
close(11) = 0
stat("/usr/local/sbin/chown", 0x7ffc82e14e80) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/chown", 0x7ffc82e14e80) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/chown", 0x7ffc82e14e80) = -1 ENOENT (No such file or directory)
stat("/usr/bin/chown", 0x7ffc82e14e80) = -1 ENOENT (No such file or directory)
stat("/sbin/chown", 0x7ffc82e14e80) = -1 ENOENT (No such file or directory)
stat("/bin/chown", {st_mode=S_IFREG|0755, st_size=64368, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31165
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31165
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31165, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31165
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31166
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31166
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31166, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31166
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31167
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31167
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31167, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31167
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31168
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31168
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31168, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31168
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31169
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31169
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31169, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31169
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31170
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31170
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31170, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31170
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31171
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31171
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31171, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31171
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31172
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31172
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31172, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31172
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc13e8b99d0) = 31173
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 31173
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31173, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 31173
exit_group(1) = ?
+++ exited with 1 +++
|