commit b953d48263bfdec94973be98e50ec53826f8e50a
Author: root <root@dorje.v103.te2000>
Date: Sat, 16 Jul 2022 00:51:14 +0200
Initial commit, fileset dump of current s6-rc repository.
Diffstat:
A | s6-rc.fileset | | | 419 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 419 insertions(+), 0 deletions(-)
diff --git a/s6-rc.fileset b/s6-rc.fileset
@@ -0,0 +1,419 @@
+/ d o0:0 m755
+/dhcpcd d o0:0 m755
+/dhcpcd/dependencies
+CN modules
+ ok-mount
+ ok-sysinit
+o0:0 m644
+/dhcpcd/run
+CN #!/command/execlineb -P
+ getpid SERVICE_PID
+ foreground {
+ importas -i SERVICE_PID SERVICE_PID
+ if { test -d /run/cgroup2 }
+ if { mkdir -p /run/cgroup2/s6-rc/dhcpcd }
+ redirfd -w 1 /run/cgroup2/s6-rc/dhcpcd/cgroup.procs
+ printf "%s" ${SERVICE_PID}
+ }
+ unexport SERVICE_PID
+
+ dhcpcd --nobackground
+o0:0 m755
+/dhcpcd/type cN longrun o0:0 m644
+/dmesg d o0:0 m755
+/dmesg/type cN oneshot o0:0 m644
+/dmesg/up
+CN # description="Set the dmesg level for a cleaner boot"
+ # dmesg_level=1
+ dmesg -n1
+o0:0 m755
+/gettys d o0:0 m755
+/gettys/contents
+CN tty1
+ tty3
+ tty2
+ tty4
+o0:0 m644
+/gettys/type cN bundle o0:0 m644
+/.git cN gitdir: ../.git/modules/carbon-s6-rc o0:0 m644
+/.gitignore cN .*.sw[po] o0:0 m644
+/hostname d o0:0 m755
+/hostname/type cN oneshot o0:0 m644
+/hostname/up cN hostname -F /etc/hostname o0:0 m755
+/kbd_mode d o0:0 m755
+/kbd_mode/contents
+CN kbd_mode-tty1
+ kbd_mode-tty2
+ kbd_mode-tty3
+ kbd_mode-tty4
+ kbd_mode-tty9
+ kbd_mode-tty10
+ kbd_mode-tty11
+ kbd_mode-tty12
+o0:0 m644
+/kbd_mode-tty1 d o0:0 m755
+/kbd_mode-tty1/type cN oneshot o0:0 m644
+/kbd_mode-tty1/up cN kbd_mode -u -C /dev/tty1 o0:0 m644
+/kbd_mode-tty10 d o0:0 m755
+/kbd_mode-tty10/type cN oneshot o0:0 m644
+/kbd_mode-tty10/up cN kbd_mode -u -C /dev/tty10 o0:0 m644
+/kbd_mode-tty11 d o0:0 m755
+/kbd_mode-tty11/type cN oneshot o0:0 m644
+/kbd_mode-tty11/up cN kbd_mode -u -C /dev/tty11 o0:0 m644
+/kbd_mode-tty12 d o0:0 m755
+/kbd_mode-tty12/type cN oneshot o0:0 m644
+/kbd_mode-tty12/up cN kbd_mode -u -C /dev/tty12 o0:0 m644
+/kbd_mode-tty2 d o0:0 m755
+/kbd_mode-tty2/type cN oneshot o0:0 m644
+/kbd_mode-tty2/up cN kbd_mode -u -C /dev/tty2 o0:0 m644
+/kbd_mode-tty3 d o0:0 m755
+/kbd_mode-tty3/type cN oneshot o0:0 m644
+/kbd_mode-tty3/up cN kbd_mode -u -C /dev/tty3 o0:0 m644
+/kbd_mode-tty4 d o0:0 m755
+/kbd_mode-tty4/type cN oneshot o0:0 m644
+/kbd_mode-tty4/up cN kbd_mode -u -C /dev/tty4 o0:0 m644
+/kbd_mode-tty5 d o0:0 m755
+/kbd_mode-tty5/type cN oneshot o0:0 m644
+/kbd_mode-tty5/up cN kbd_mode -u -C /dev/tty5 o0:0 m644
+/kbd_mode-tty6 d o0:0 m755
+/kbd_mode-tty6/type cN oneshot o0:0 m644
+/kbd_mode-tty6/up cN kbd_mode -u -C /dev/tty6 o0:0 m644
+/kbd_mode-tty7 d o0:0 m755
+/kbd_mode-tty7/type cN oneshot o0:0 m644
+/kbd_mode-tty7/up cN kbd_mode -u -C /dev/tty7 o0:0 m644
+/kbd_mode-tty8 d o0:0 m755
+/kbd_mode-tty8/type cN oneshot o0:0 m644
+/kbd_mode-tty8/up cN kbd_mode -u -C /dev/tty8 o0:0 m644
+/kbd_mode-tty9 d o0:0 m755
+/kbd_mode-tty9/type cN oneshot o0:0 m644
+/kbd_mode-tty9/up cN kbd_mode -u -C /dev/tty9 o0:0 m644
+/kbd_mode/type cN bundle o0:0 m644
+/loadkeys d o0:0 m755
+/loadkeys/dependencies cN kbd_mode o0:0 m644
+/loadkeys/type cN oneshot o0:0 m644
+/loadkeys/up cN loadkeys --unicode /root/keymap o0:0 m644
+/localmount d o0:0 m755
+/localmount/dependencies
+CN ok-sysinit
+ modules
+ root-writable
+o0:0 m644
+/localmount/down
+CN # umount all filesystems except specials, if possible
+ foreground { umount --all --verbose --detach-loop -t nodevtmpfs,noproc,nosysfs,nodevpts,nomqueue }
+ # remount the rest read-only, except for tmpfs
+ foreground { umount --all --read-only --verbose -t nodevtmpfs,noproc,nosysfs,nodevpts,nomqueue,notmpfs }
+o0:0 m644
+/localmount/type cN oneshot o0:0 m644
+/localmount/up cN mount -at noproc -O no_netdev o0:0 m644
+/loopback d o0:0 m755
+/loopback/type cN oneshot o0:0 m644
+/loopback/up
+CN if { ip link set lo up }
+ if -nt { ip addr add 127.0.0.1/8 dev lo brd + }
+ pipeline { ip addr show dev lo } grep -q "inet 127\\.0\\.0\\.1"
+o0:0 m755
+/modules d o0:0 m755
+/modules/dependencies cN dmesg o0:0 m644
+/modules/type cN oneshot o0:0 m644
+/modules/up
+CN foreground { modprobe fuse }
+ foreground { modprobe overlay }
+ foreground { modprobe tun }
+ foreground { modprobe e1000 }
+ foreground { modprobe vmxnet3 }
+ foreground { modprobe virtio_pci }
+ foreground { modprobe virtio_net }
+o0:0 m755
+/mount-dev d o0:0 m755
+/mount-dev/contents cN mount-devtmpfs o0:0 m644
+/mount-dev-mqueue d o0:0 m755
+/mount-dev-mqueue/dependencies cN mount-dev o0:0 m644
+/mount-dev-mqueue/down cN s6-umount /dev/mqueue o0:0 m644
+/mount-dev-mqueue/type cN oneshot o0:0 m644
+/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
+/mount-dev-pts d o0:0 m755
+/mount-dev-pts/dependencies cN mount-dev o0:0 m644
+/mount-dev-pts/down cN s6-umount /dev/pts o0:0 m644
+/mount-dev-pts/type cN oneshot o0:0 m644
+/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
+/mount-dev-shm d o0:0 m755
+/mount-dev-shm/dependencies cN mount-dev o0:0 m644
+/mount-dev-shm/down cN foreground { s6-umount /dev/shm } o0:0 m644
+/mount-dev-shm/type cN oneshot o0:0 m644
+/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
+/mount-devtmpfs d o0:0 m755
+/mount-devtmpfs/down cN s6-umount /dev o0:0 m644
+/mount-devtmpfs/type cN oneshot o0:0 m644
+/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
+/mount-dev/type cN bundle o0:0 m644
+/mount-proc d o0:0 m755
+/mount-proc/down cN s6-umount /proc o0:0 m644
+/mount-proc/type cN oneshot o0:0 m644
+/mount-proc/up cN sh -xc "mount -wt proc proc /proc -o remount || mount -wt proc proc /proc" o0:0 m644
+/mount-run-cgroup2 d o0:0 m755
+/mount-run-cgroup2/down cN s6-umount /run/cgroup2 o0:0 m644
+/mount-run-cgroup2/type cN oneshot o0:0 m644
+/mount-run-cgroup2/up
+CN if { mkdir /run/cgroup2 }
+ mount -t cgroup2 none /run/cgroup2
+o0:0 m644
+/mount-sys d o0:0 m755
+/mount-sys/down cN s6-umount /sys o0:0 m644
+/mount-sys/type cN oneshot o0:0 m644
+/mount-sys/up cN sh -xc "mount -wt sysfs sys /sys -o remount || exec mount -wt sysfs sys /sys" o0:0 m644
+/mount-tmp-X11 d o0:0 m755
+/mount-tmp-X11/down cN foreground { umount /tmp/.X11-unix } o0:0 m644
+/mount-tmp-X11/type cN oneshot o0:0 m644
+/mount-tmp-X11/up
+CN if { mkdir -p /tmp/.X11-unix /run/X11 }
+ if { chmod 771 /run/X11 }
+ if { chown root:xorg /run/X11 }
+ mount --bind /run/X11 /tmp/.X11-unix
+o0:0 m644
+/net-all d o0:0 m755
+/net-all/contents
+CN dhcpcd
+ unbound
+ loopback
+o0:0 m644
+/net-all/type cN bundle o0:0 m644
+/ok-all d o0:0 m755
+/ok-all-but-tty d o0:0 m755
+/ok-all-but-tty/contents
+CN ok-mount
+ net-all
+ setfont
+ dmesg
+ hostname
+ modules
+ sshd
+o0:0 m644
+/ok-all-but-tty/type cN bundle o0:0 m644
+/ok-all/contents
+CN ok-all-but-tty
+ gettys
+o0:0 m644
+/ok-all/type cN bundle o0:0 m644
+/ok-mount d o0:0 m755
+/ok-mount/contents
+CN ok-sysinit
+ localmount
+ root-writable
+o0:0 m644
+/ok-mount/type cN bundle o0:0 m644
+/ok-sysinit d o0:0 m755
+/ok-sysinit/contents
+CN mount-dev
+ mount-dev-mqueue
+ mount-dev-pts
+ mount-dev-shm
+ mount-proc
+ mount-sys
+ mount-run-cgroup2
+o0:0 m644
+/ok-sysinit/type cN bundle o0:0 m644
+/openrc d o0:0 m755
+/openrc/dependencies
+CN ok-sysinit
+ ok-mount
+ modules
+o0:0 m644
+/openrc/down
+CN export TERM "linux"
+ /sbin/openrc shutdown
+o0:0 m644
+/openrc/type cN oneshot o0:0 m644
+/openrc/up
+CN export TERM "linux"
+ foreground { /sbin/openrc boot }
+ /sbin/openrc default
+o0:0 m644
+/root-writable d o0:0 m755
+/root-writable/down cN foreground { mount -o remount,ro / } o0:0 m644
+/root-writable/type cN oneshot o0:0 m644
+/root-writable/up cN mount -o remount,rw / o0:0 m644
+/.scripts d o0:0 m755
+/setfont d o0:0 m755
+/setfont/contents
+CN setfont-tty1
+ setfont-tty2
+ setfont-tty3
+ setfont-tty4
+o0:0 m644
+/setfont-tty1 d o0:0 m755
+/setfont-tty1/type cN oneshot o0:0 m644
+/setfont-tty1/up cN redirfd -r 0 /dev/tty1 setfont ter-v14n o0:0 m644
+/setfont-tty2 d o0:0 m755
+/setfont-tty2/type cN oneshot o0:0 m644
+/setfont-tty2/up cN redirfd -r 0 /dev/tty2 setfont ter-v14n o0:0 m644
+/setfont-tty3 d o0:0 m755
+/setfont-tty3/type cN oneshot o0:0 m644
+/setfont-tty3/up cN redirfd -r 0 /dev/tty3 setfont ter-v14n o0:0 m644
+/setfont-tty4 d o0:0 m755
+/setfont-tty4/type cN oneshot o0:0 m644
+/setfont-tty4/up cN redirfd -r 0 /dev/tty4 setfont ter-v14n o0:0 m644
+/setfont/type cN bundle o0:0 m644
+/sshd d o0:0 m755
+/sshd/dependencies
+CN ssh_host_ed25519_key
+ ssh_host_rsa_key
+ ok-sysinit
+o0:0 m644
+/sshd/run
+CN #!/command/execlineb -P
+ fdmove -c 2 1
+ getpid SERVICE_PID
+ foreground {
+ importas -i SERVICE_PID SERVICE_PID
+ if { test -d /run/cgroup2 }
+ if { mkdir -p /run/cgroup2/s6-rc/sshd }
+ redirfd -w 1 /run/cgroup2/s6-rc/sshd/cgroup.procs
+ printf "%s" ${SERVICE_PID}
+ }
+ unexport SERVICE_PID
+
+ /usr/sbin/sshd -D -f /etc/ssh/sshd_config
+o0:0 m755
+/sshd/type cN longrun o0:0 m644
+/ssh_host_ed25519_key d o0:0 m755
+/ssh_host_ed25519_key/dependencies
+CN hostname
+ root-writable
+o0:0 m644
+/ssh_host_ed25519_key/type cN oneshot o0:0 m644
+/ssh_host_ed25519_key/up
+CN if -n -t { s6-test -f /etc/ssh/ssh_host_ed25519_key }
+ ssh-keygen -N "" -t ed25519 -f /etc/ssh/ssh_host_ed25519_key
+o0:0 m644
+/ssh_host_rsa_key d o0:0 m755
+/ssh_host_rsa_key/dependencies
+CN hostname
+ root-writable
+o0:0 m644
+/ssh_host_rsa_key/type cN oneshot o0:0 m644
+/ssh_host_rsa_key/up
+CN if -n -t { s6-test -f /etc/ssh/ssh_host_rsa_key }
+ ssh-keygen -N "" -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key
+o0:0 m644
+/swap d o0:0 m755
+/swap/down cN swapoff -a o0:0 m644
+/swap/type cN oneshot o0:0 m644
+/swap/up cN swapon -a o0:0 m644
+/tty1 d o0:0 m755
+/tty1/dependencies cN ok-sysinit o0:0 m644
+/tty1/finish
+CN #!/command/execlineb -P
+ redirfd -w 1 /dev/tty1
+ fdmove -c 2 1
+ foreground { s6-echo "\nwaiting for session cleanup" }
+ flock /run/ttylock/tty1 true
+o0:0 m755
+/tty1/run
+CN #!/command/execlineb -P
+ getpid SERVICE_PID
+ foreground {
+ importas -i SERVICE_PID SERVICE_PID
+ if { test -d /run/cgroup2 }
+ if { mkdir -p /run/cgroup2/s6-rc/tty1 }
+ redirfd -w 1 /run/cgroup2/s6-rc/tty1/cgroup.procs
+ printf "%s" ${SERVICE_PID}
+ }
+ unexport SERVICE_PID
+
+ env LOGIN_TTY=/dev/tty1 /sbin/getty 38400 tty1 linux
+o0:0 m755
+/tty1/type cN longrun o0:0 m644
+/tty2 d o0:0 m755
+/tty2/dependencies cN ok-sysinit o0:0 m644
+/tty2/finish
+CN #!/command/execlineb -P
+ redirfd -w 1 /dev/tty2
+ fdmove -c 2 1
+ foreground { s6-echo "\nwaiting for session cleanup" }
+ flock /run/ttylock/tty2 true
+o0:0 m755
+/tty2/run
+CN #!/command/execlineb -P
+ getpid SERVICE_PID
+ foreground {
+ importas -i SERVICE_PID SERVICE_PID
+ if { test -d /run/cgroup2 }
+ if { mkdir -p /run/cgroup2/s6-rc/tty2 }
+ redirfd -w 1 /run/cgroup2/s6-rc/tty2/cgroup.procs
+ printf "%s" ${SERVICE_PID}
+ }
+ unexport SERVICE_PID
+
+ env LOGIN_TTY=/dev/tty2 /sbin/getty 38400 tty2 linux
+o0:0 m755
+/tty2/type cN longrun o0:0 m644
+/tty3 d o0:0 m755
+/tty3/dependencies cN ok-sysinit o0:0 m644
+/tty3/finish
+CN #!/command/execlineb -P
+ redirfd -w 1 /dev/tty3
+ fdmove -c 2 1
+ foreground { s6-echo "\nwaiting for session cleanup" }
+ flock /run/ttylock/tty3 true
+o0:0 m755
+/tty3/run
+CN #!/command/execlineb -P
+ getpid SERVICE_PID
+ foreground {
+ importas -i SERVICE_PID SERVICE_PID
+ if { test -d /run/cgroup2 }
+ if { mkdir -p /run/cgroup2/s6-rc/tty3 }
+ redirfd -w 1 /run/cgroup2/s6-rc/tty3/cgroup.procs
+ printf "%s" ${SERVICE_PID}
+ }
+ unexport SERVICE_PID
+
+ env LOGIN_TTY=/dev/tty3 /sbin/getty 38400 tty3 linux
+o0:0 m755
+/tty3/type cN longrun o0:0 m644
+/tty4 d o0:0 m755
+/tty4/dependencies cN ok-sysinit o0:0 m644
+/tty4/finish
+CN #!/command/execlineb -P
+ redirfd -w 1 /dev/tty4
+ fdmove -c 2 1
+ foreground { s6-echo "\nwaiting for session cleanup" }
+ flock /run/ttylock/tty4 true
+o0:0 m755
+/tty4/run
+CN #!/command/execlineb -P
+ getpid SERVICE_PID
+ foreground {
+ importas -i SERVICE_PID SERVICE_PID
+ if { test -d /run/cgroup2 }
+ if { mkdir -p /run/cgroup2/s6-rc/tty4 }
+ redirfd -w 1 /run/cgroup2/s6-rc/tty4/cgroup.procs
+ printf "%s" ${SERVICE_PID}
+ }
+ unexport SERVICE_PID
+
+ env LOGIN_TTY=/dev/tty4 /sbin/getty 38400 tty4 linux
+o0:0 m755
+/tty4/type cN longrun o0:0 m644
+/unbound d o0:0 m755
+/unbound/dependencies
+CN loopback
+ ok-mount
+ ok-sysinit
+o0:0 m644
+/unbound/run
+CN #!/command/execlineb -P
+ getpid SERVICE_PID
+ foreground {
+ importas -i SERVICE_PID SERVICE_PID
+ if { test -d /run/cgroup2 }
+ if { mkdir -p /run/cgroup2/s6-rc/unbound }
+ redirfd -w 1 /run/cgroup2/s6-rc/unbound/cgroup.procs
+ printf "%s" ${SERVICE_PID}
+ }
+ unexport SERVICE_PID
+
+ unbound -d
+o0:0 m755
+/unbound/type cN longrun o0:0 m644