s6-rc.fileset.orig (12384B)
1 / d o0:0 m755 2 /dhcpcd d o0:0 m755 3 /dhcpcd/dependencies 4 CN modules 5 ok-mount 6 ok-sysinit 7 o0:0 m644 8 /dhcpcd/run 9 CN #!/command/execlineb -P 10 getpid SERVICE_PID 11 foreground { 12 importas -i SERVICE_PID SERVICE_PID 13 if { test -d /run/cgroup2 } 14 if { mkdir -p /run/cgroup2/s6-rc/dhcpcd } 15 redirfd -w 1 /run/cgroup2/s6-rc/dhcpcd/cgroup.procs 16 printf "%s" ${SERVICE_PID} 17 } 18 unexport SERVICE_PID 19 20 dhcpcd --nobackground 21 o0:0 m755 22 /dhcpcd/type cN longrun o0:0 m644 23 /dmesg d o0:0 m755 24 /dmesg/type cN oneshot o0:0 m644 25 /dmesg/up 26 CN # description="Set the dmesg level for a cleaner boot" 27 # dmesg_level=1 28 dmesg -n1 29 o0:0 m755 30 /gettys d o0:0 m755 31 /gettys/contents 32 CN tty1 33 tty3 34 tty2 35 tty4 36 o0:0 m644 37 /gettys/type cN bundle o0:0 m644 38 /.git cN gitdir: ../.git/modules/carbon-s6-rc o0:0 m644 39 /.gitignore cN .*.sw[po] o0:0 m644 40 /hostname d o0:0 m755 41 /hostname/type cN oneshot o0:0 m644 42 /hostname/up cN hostname -F /etc/hostname o0:0 m755 43 /kbd_mode d o0:0 m755 44 /kbd_mode/contents 45 CN kbd_mode-tty1 46 kbd_mode-tty2 47 kbd_mode-tty3 48 kbd_mode-tty4 49 kbd_mode-tty9 50 kbd_mode-tty10 51 kbd_mode-tty11 52 kbd_mode-tty12 53 o0:0 m644 54 /kbd_mode-tty1 d o0:0 m755 55 /kbd_mode-tty1/type cN oneshot o0:0 m644 56 /kbd_mode-tty1/up cN kbd_mode -u -C /dev/tty1 o0:0 m644 57 /kbd_mode-tty10 d o0:0 m755 58 /kbd_mode-tty10/type cN oneshot o0:0 m644 59 /kbd_mode-tty10/up cN kbd_mode -u -C /dev/tty10 o0:0 m644 60 /kbd_mode-tty11 d o0:0 m755 61 /kbd_mode-tty11/type cN oneshot o0:0 m644 62 /kbd_mode-tty11/up cN kbd_mode -u -C /dev/tty11 o0:0 m644 63 /kbd_mode-tty12 d o0:0 m755 64 /kbd_mode-tty12/type cN oneshot o0:0 m644 65 /kbd_mode-tty12/up cN kbd_mode -u -C /dev/tty12 o0:0 m644 66 /kbd_mode-tty2 d o0:0 m755 67 /kbd_mode-tty2/type cN oneshot o0:0 m644 68 /kbd_mode-tty2/up cN kbd_mode -u -C /dev/tty2 o0:0 m644 69 /kbd_mode-tty3 d o0:0 m755 70 /kbd_mode-tty3/type cN oneshot o0:0 m644 71 /kbd_mode-tty3/up cN kbd_mode -u -C /dev/tty3 o0:0 m644 72 /kbd_mode-tty4 d o0:0 m755 73 /kbd_mode-tty4/type cN oneshot o0:0 m644 74 /kbd_mode-tty4/up cN kbd_mode -u -C /dev/tty4 o0:0 m644 75 /kbd_mode-tty5 d o0:0 m755 76 /kbd_mode-tty5/type cN oneshot o0:0 m644 77 /kbd_mode-tty5/up cN kbd_mode -u -C /dev/tty5 o0:0 m644 78 /kbd_mode-tty6 d o0:0 m755 79 /kbd_mode-tty6/type cN oneshot o0:0 m644 80 /kbd_mode-tty6/up cN kbd_mode -u -C /dev/tty6 o0:0 m644 81 /kbd_mode-tty7 d o0:0 m755 82 /kbd_mode-tty7/type cN oneshot o0:0 m644 83 /kbd_mode-tty7/up cN kbd_mode -u -C /dev/tty7 o0:0 m644 84 /kbd_mode-tty8 d o0:0 m755 85 /kbd_mode-tty8/type cN oneshot o0:0 m644 86 /kbd_mode-tty8/up cN kbd_mode -u -C /dev/tty8 o0:0 m644 87 /kbd_mode-tty9 d o0:0 m755 88 /kbd_mode-tty9/type cN oneshot o0:0 m644 89 /kbd_mode-tty9/up cN kbd_mode -u -C /dev/tty9 o0:0 m644 90 /kbd_mode/type cN bundle o0:0 m644 91 /loadkeys d o0:0 m755 92 /loadkeys/dependencies cN kbd_mode o0:0 m644 93 /loadkeys/type cN oneshot o0:0 m644 94 /loadkeys/up cN loadkeys --unicode /root/keymap o0:0 m644 95 /localmount d o0:0 m755 96 /localmount/dependencies 97 CN ok-sysinit 98 modules 99 root-writable 100 o0:0 m644 101 /localmount/down 102 CN # umount all filesystems except specials, if possible 103 foreground { umount --all --verbose --detach-loop -t nodevtmpfs,noproc,nosysfs,nodevpts,nomqueue } 104 # remount the rest read-only, except for tmpfs 105 foreground { umount --all --read-only --verbose -t nodevtmpfs,noproc,nosysfs,nodevpts,nomqueue,notmpfs } 106 o0:0 m644 107 /localmount/type cN oneshot o0:0 m644 108 /localmount/up cN mount -at noproc -O no_netdev o0:0 m644 109 /loopback d o0:0 m755 110 /loopback/type cN oneshot o0:0 m644 111 /loopback/up 112 CN if { ip link set lo up } 113 if -nt { ip addr add 127.0.0.1/8 dev lo brd + } 114 pipeline { ip addr show dev lo } grep -q "inet 127\\.0\\.0\\.1" 115 o0:0 m755 116 /modules d o0:0 m755 117 /modules/dependencies cN dmesg o0:0 m644 118 /modules/type cN oneshot o0:0 m644 119 /modules/up 120 CN foreground { modprobe fuse } 121 foreground { modprobe overlay } 122 foreground { modprobe tun } 123 foreground { modprobe e1000 } 124 foreground { modprobe vmxnet3 } 125 foreground { modprobe virtio_pci } 126 foreground { modprobe virtio_net } 127 o0:0 m755 128 /mount-dev d o0:0 m755 129 /mount-dev/contents cN mount-devtmpfs o0:0 m644 130 /mount-dev-mqueue d o0:0 m755 131 /mount-dev-mqueue/dependencies cN mount-dev o0:0 m644 132 /mount-dev-mqueue/down cN s6-umount /dev/mqueue o0:0 m644 133 /mount-dev-mqueue/type cN oneshot o0:0 m644 134 /mount-dev-mqueue/up cN sh -xc "mkdir -p /dev/mqueue || exit $?; mount -t mqueue mqueue /dev/mqueue -o remount,rw,nosuid,nodev,noexec || mount -t mqueue mqueue /dev/mqueue -o nosuid,nodev,noexec" o0:0 m644 135 /mount-dev-pts d o0:0 m755 136 /mount-dev-pts/dependencies cN mount-dev o0:0 m644 137 /mount-dev-pts/down cN s6-umount /dev/pts o0:0 m644 138 /mount-dev-pts/type cN oneshot o0:0 m644 139 /mount-dev-pts/up cN sh -xc "mkdir -p /dev/pts || exit $?; mount -wt devpts devpts /dev/pts -o remount,rw,relatime,mode=600,ptmxmode=000 || exec mount -wt devpts devpts /dev/pts -o rw,relatime,mode=600,ptmxmode=000" o0:0 m644 140 /mount-dev-shm d o0:0 m755 141 /mount-dev-shm/dependencies cN mount-dev o0:0 m644 142 /mount-dev-shm/down cN foreground { s6-umount /dev/shm } o0:0 m644 143 /mount-dev-shm/type cN oneshot o0:0 m644 144 /mount-dev-shm/up cN sh -xc "mount -wt tmpfs shm /dev/shm -o remount,rw,nosuid,nodev,relatime || exec mount -wt tmpfs shm /dev/shm -o rw,nosuid,nodev,relatime" o0:0 m644 145 /mount-devtmpfs d o0:0 m755 146 /mount-devtmpfs/down cN s6-umount /dev o0:0 m644 147 /mount-devtmpfs/type cN oneshot o0:0 m644 148 /mount-devtmpfs/up cN sh -xc "mount -wt devtmpfs dev /dev -o remount,nosuid || exec mount -wt devtmpfs dev /dev -o nosuid" o0:0 m644 149 /mount-dev/type cN bundle o0:0 m644 150 /mount-proc d o0:0 m755 151 /mount-proc/down cN s6-umount /proc o0:0 m644 152 /mount-proc/type cN oneshot o0:0 m644 153 /mount-proc/up cN sh -xc "mount -wt proc proc /proc -o remount || mount -wt proc proc /proc" o0:0 m644 154 /mount-run-cgroup2 d o0:0 m755 155 /mount-run-cgroup2/down cN s6-umount /run/cgroup2 o0:0 m644 156 /mount-run-cgroup2/type cN oneshot o0:0 m644 157 /mount-run-cgroup2/up 158 CN if { mkdir /run/cgroup2 } 159 mount -t cgroup2 none /run/cgroup2 160 o0:0 m644 161 /mount-sys d o0:0 m755 162 /mount-sys/down cN s6-umount /sys o0:0 m644 163 /mount-sys/type cN oneshot o0:0 m644 164 /mount-sys/up cN sh -xc "mount -wt sysfs sys /sys -o remount || exec mount -wt sysfs sys /sys" o0:0 m644 165 /mount-tmp-X11 d o0:0 m755 166 /mount-tmp-X11/down cN foreground { umount /tmp/.X11-unix } o0:0 m644 167 /mount-tmp-X11/type cN oneshot o0:0 m644 168 /mount-tmp-X11/up 169 CN if { mkdir -p /tmp/.X11-unix /run/X11 } 170 if { chmod 771 /run/X11 } 171 if { chown root:xorg /run/X11 } 172 mount --bind /run/X11 /tmp/.X11-unix 173 o0:0 m644 174 /net-all d o0:0 m755 175 /net-all/contents 176 CN dhcpcd 177 unbound 178 loopback 179 o0:0 m644 180 /net-all/type cN bundle o0:0 m644 181 /ok-all d o0:0 m755 182 /ok-all-but-tty d o0:0 m755 183 /ok-all-but-tty/contents 184 CN ok-mount 185 net-all 186 setfont 187 dmesg 188 hostname 189 modules 190 sshd 191 o0:0 m644 192 /ok-all-but-tty/type cN bundle o0:0 m644 193 /ok-all/contents 194 CN ok-all-but-tty 195 gettys 196 o0:0 m644 197 /ok-all/type cN bundle o0:0 m644 198 /ok-mount d o0:0 m755 199 /ok-mount/contents 200 CN ok-sysinit 201 localmount 202 root-writable 203 o0:0 m644 204 /ok-mount/type cN bundle o0:0 m644 205 /ok-sysinit d o0:0 m755 206 /ok-sysinit/contents 207 CN mount-dev 208 mount-dev-mqueue 209 mount-dev-pts 210 mount-dev-shm 211 mount-proc 212 mount-sys 213 mount-run-cgroup2 214 o0:0 m644 215 /ok-sysinit/type cN bundle o0:0 m644 216 /openrc d o0:0 m755 217 /openrc/dependencies 218 CN ok-sysinit 219 ok-mount 220 modules 221 o0:0 m644 222 /openrc/down 223 CN export TERM "linux" 224 /sbin/openrc shutdown 225 o0:0 m644 226 /openrc/type cN oneshot o0:0 m644 227 /openrc/up 228 CN export TERM "linux" 229 foreground { /sbin/openrc boot } 230 /sbin/openrc default 231 o0:0 m644 232 /root-writable d o0:0 m755 233 /root-writable/down cN foreground { mount -o remount,ro / } o0:0 m644 234 /root-writable/type cN oneshot o0:0 m644 235 /root-writable/up cN mount -o remount,rw / o0:0 m644 236 /.scripts d o0:0 m755 237 /setfont d o0:0 m755 238 /setfont/contents 239 CN setfont-tty1 240 setfont-tty2 241 setfont-tty3 242 setfont-tty4 243 o0:0 m644 244 /setfont-tty1 d o0:0 m755 245 /setfont-tty1/type cN oneshot o0:0 m644 246 /setfont-tty1/up cN redirfd -r 0 /dev/tty1 setfont ter-v14n o0:0 m644 247 /setfont-tty2 d o0:0 m755 248 /setfont-tty2/type cN oneshot o0:0 m644 249 /setfont-tty2/up cN redirfd -r 0 /dev/tty2 setfont ter-v14n o0:0 m644 250 /setfont-tty3 d o0:0 m755 251 /setfont-tty3/type cN oneshot o0:0 m644 252 /setfont-tty3/up cN redirfd -r 0 /dev/tty3 setfont ter-v14n o0:0 m644 253 /setfont-tty4 d o0:0 m755 254 /setfont-tty4/type cN oneshot o0:0 m644 255 /setfont-tty4/up cN redirfd -r 0 /dev/tty4 setfont ter-v14n o0:0 m644 256 /setfont/type cN bundle o0:0 m644 257 /sshd d o0:0 m755 258 /sshd/dependencies 259 CN ssh_host_ed25519_key 260 ssh_host_rsa_key 261 ok-sysinit 262 o0:0 m644 263 /sshd/run 264 CN #!/command/execlineb -P 265 fdmove -c 2 1 266 getpid SERVICE_PID 267 foreground { 268 importas -i SERVICE_PID SERVICE_PID 269 if { test -d /run/cgroup2 } 270 if { mkdir -p /run/cgroup2/s6-rc/sshd } 271 redirfd -w 1 /run/cgroup2/s6-rc/sshd/cgroup.procs 272 printf "%s" ${SERVICE_PID} 273 } 274 unexport SERVICE_PID 275 276 /usr/sbin/sshd -D -f /etc/ssh/sshd_config 277 o0:0 m755 278 /sshd/type cN longrun o0:0 m644 279 /ssh_host_ed25519_key d o0:0 m755 280 /ssh_host_ed25519_key/dependencies 281 CN hostname 282 root-writable 283 o0:0 m644 284 /ssh_host_ed25519_key/type cN oneshot o0:0 m644 285 /ssh_host_ed25519_key/up 286 CN if -n -t { s6-test -f /etc/ssh/ssh_host_ed25519_key } 287 ssh-keygen -N "" -t ed25519 -f /etc/ssh/ssh_host_ed25519_key 288 o0:0 m644 289 /ssh_host_rsa_key d o0:0 m755 290 /ssh_host_rsa_key/dependencies 291 CN hostname 292 root-writable 293 o0:0 m644 294 /ssh_host_rsa_key/type cN oneshot o0:0 m644 295 /ssh_host_rsa_key/up 296 CN if -n -t { s6-test -f /etc/ssh/ssh_host_rsa_key } 297 ssh-keygen -N "" -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key 298 o0:0 m644 299 /swap d o0:0 m755 300 /swap/down cN swapoff -a o0:0 m644 301 /swap/type cN oneshot o0:0 m644 302 /swap/up cN swapon -a o0:0 m644 303 /tty1 d o0:0 m755 304 /tty1/dependencies cN ok-sysinit o0:0 m644 305 /tty1/finish 306 CN #!/command/execlineb -P 307 redirfd -w 1 /dev/tty1 308 fdmove -c 2 1 309 foreground { s6-echo "\nwaiting for session cleanup" } 310 flock /run/ttylock/tty1 true 311 o0:0 m755 312 /tty1/run 313 CN #!/command/execlineb -P 314 getpid SERVICE_PID 315 foreground { 316 importas -i SERVICE_PID SERVICE_PID 317 if { test -d /run/cgroup2 } 318 if { mkdir -p /run/cgroup2/s6-rc/tty1 } 319 redirfd -w 1 /run/cgroup2/s6-rc/tty1/cgroup.procs 320 printf "%s" ${SERVICE_PID} 321 } 322 unexport SERVICE_PID 323 324 env LOGIN_TTY=/dev/tty1 /sbin/getty 38400 tty1 linux 325 o0:0 m755 326 /tty1/type cN longrun o0:0 m644 327 /tty2 d o0:0 m755 328 /tty2/dependencies cN ok-sysinit o0:0 m644 329 /tty2/finish 330 CN #!/command/execlineb -P 331 redirfd -w 1 /dev/tty2 332 fdmove -c 2 1 333 foreground { s6-echo "\nwaiting for session cleanup" } 334 flock /run/ttylock/tty2 true 335 o0:0 m755 336 /tty2/run 337 CN #!/command/execlineb -P 338 getpid SERVICE_PID 339 foreground { 340 importas -i SERVICE_PID SERVICE_PID 341 if { test -d /run/cgroup2 } 342 if { mkdir -p /run/cgroup2/s6-rc/tty2 } 343 redirfd -w 1 /run/cgroup2/s6-rc/tty2/cgroup.procs 344 printf "%s" ${SERVICE_PID} 345 } 346 unexport SERVICE_PID 347 348 env LOGIN_TTY=/dev/tty2 /sbin/getty 38400 tty2 linux 349 o0:0 m755 350 /tty2/type cN longrun o0:0 m644 351 /tty3 d o0:0 m755 352 /tty3/dependencies cN ok-sysinit o0:0 m644 353 /tty3/finish 354 CN #!/command/execlineb -P 355 redirfd -w 1 /dev/tty3 356 fdmove -c 2 1 357 foreground { s6-echo "\nwaiting for session cleanup" } 358 flock /run/ttylock/tty3 true 359 o0:0 m755 360 /tty3/run 361 CN #!/command/execlineb -P 362 getpid SERVICE_PID 363 foreground { 364 importas -i SERVICE_PID SERVICE_PID 365 if { test -d /run/cgroup2 } 366 if { mkdir -p /run/cgroup2/s6-rc/tty3 } 367 redirfd -w 1 /run/cgroup2/s6-rc/tty3/cgroup.procs 368 printf "%s" ${SERVICE_PID} 369 } 370 unexport SERVICE_PID 371 372 env LOGIN_TTY=/dev/tty3 /sbin/getty 38400 tty3 linux 373 o0:0 m755 374 /tty3/type cN longrun o0:0 m644 375 /tty4 d o0:0 m755 376 /tty4/dependencies cN ok-sysinit o0:0 m644 377 /tty4/finish 378 CN #!/command/execlineb -P 379 redirfd -w 1 /dev/tty4 380 fdmove -c 2 1 381 foreground { s6-echo "\nwaiting for session cleanup" } 382 flock /run/ttylock/tty4 true 383 o0:0 m755 384 /tty4/run 385 CN #!/command/execlineb -P 386 getpid SERVICE_PID 387 foreground { 388 importas -i SERVICE_PID SERVICE_PID 389 if { test -d /run/cgroup2 } 390 if { mkdir -p /run/cgroup2/s6-rc/tty4 } 391 redirfd -w 1 /run/cgroup2/s6-rc/tty4/cgroup.procs 392 printf "%s" ${SERVICE_PID} 393 } 394 unexport SERVICE_PID 395 396 env LOGIN_TTY=/dev/tty4 /sbin/getty 38400 tty4 linux 397 o0:0 m755 398 /tty4/type cN longrun o0:0 m644 399 /unbound d o0:0 m755 400 /unbound/dependencies 401 CN loopback 402 ok-mount 403 ok-sysinit 404 o0:0 m644 405 /unbound/run 406 CN #!/command/execlineb -P 407 getpid SERVICE_PID 408 foreground { 409 importas -i SERVICE_PID SERVICE_PID 410 if { test -d /run/cgroup2 } 411 if { mkdir -p /run/cgroup2/s6-rc/unbound } 412 redirfd -w 1 /run/cgroup2/s6-rc/unbound/cgroup.procs 413 printf "%s" ${SERVICE_PID} 414 } 415 unexport SERVICE_PID 416 417 unbound -d 418 o0:0 m755 419 /unbound/type cN longrun o0:0 m644