bedrocklinux / bedrocklinux-userland

This tracks development for the things such as scripts and (defaults for) config files for Bedrock Linux
https://bedrocklinux.org
GNU General Public License v2.0
614 stars 67 forks source link

broken arch strata, repair output "Socket not connected" #243

Open asmitir opened 3 years ago

asmitir commented 3 years ago

brl status:

arch: broken
/etc/mtab is not a symlink to /proc/self/mounts
  /etc/systemd/system/bedrock-fix-mounts.service is not a symlink to /bedrock/share/systemd/bedrock-fix-mounts.service
  /etc/systemd/system/bedrock-fix-resolv.service is not a symlink to /bedrock/share/systemd/bedrock-fix-resolv.service
  /etc/systemd/system/bedrock-stop-fuse-filesystems.service is not a symlink to /bedrock/share/systemd/bedrock-stop-fuse-filesystems.service
  /etc/systemd/system/multi-user.target.wants/bedrock-fix-mounts.service is not a symlink to /bedrock/share/systemd/bedrock-fix-mounts.service
  /etc/systemd/system/multi-user.target.wants/bedrock-stop-fuse-filesystems.service is not a symlink to /bedrock/share/systemd/bedrock-stop-fuse-filesystems.service
  /etc/systemd/system/network-online.target.wants/bedrock-fix-resolv.service is not a symlink to /bedrock/share/systemd/bedrock-fix-resolv.service
  /etc/X11/xorg.conf.d/99-bedrock-fonts.conf is not a symlink to /bedrock/run/xorg-fonts
  /etc/fonts/conf.d/99-bedrock-fonts.conf is not a symlink to /bedrock/share/fonts/fontconf.conf
  /etc/X11/Xsession.d/99bedrock_env is not a symlink to /bedrock/run/profile
  /etc/X11/xinit/xinitrc.d/99bedrock_env is not a symlink to /bedrock/run/profile
  /etc/bash_completion.d/brl is not a symlink to /bedrock/share/bash/completion/brl
  /etc/bash_completion.d/strat is not a symlink to /bedrock/share/bash/completion/strat
  /etc/fish/conf.d/99bedrock.fish is not a symlink to /bedrock/run/fprofile
  /etc/fish/completions/brl.fish is not a symlink to /bedrock/share/fish/completion/brl.fish
  /etc/fish/completions/strat.fish is not a symlink to /bedrock/share/fish/completion/strat.fish
  /etc/resolvconf/update.d/00bedrock is not a symlink to /bedrock/share/resolvconf/00bedrockarch: broken
/etc/mtab is not a symlink to /proc/self/mounts
  /etc/systemd/system/bedrock-fix-mounts.service is not a symlink to /bedrock/share/systemd/bedrock-fix-mounts.service
  /etc/systemd/system/bedrock-fix-resolv.service is not a symlink to /bedrock/share/systemd/bedrock-fix-resolv.service
  /etc/systemd/system/bedrock-stop-fuse-filesystems.service is not a symlink to /bedrock/share/systemd/bedrock-stop-fuse-filesystems.service
  /etc/systemd/system/multi-user.target.wants/bedrock-fix-mounts.service is not a symlink to /bedrock/share/systemd/bedrock-fix-mounts.service
  /etc/systemd/system/multi-user.target.wants/bedrock-stop-fuse-filesystems.service is not a symlink to /bedrock/share/systemd/bedrock-stop-fuse-filesystems.service
  /etc/systemd/system/network-online.target.wants/bedrock-fix-resolv.service is not a symlink to /bedrock/share/systemd/bedrock-fix-resolv.service
  /etc/X11/xorg.conf.d/99-bedrock-fonts.conf is not a symlink to /bedrock/run/xorg-fonts
  /etc/fonts/conf.d/99-bedrock-fonts.conf is not a symlink to /bedrock/share/fonts/fontconf.conf
  /etc/X11/Xsession.d/99bedrock_env is not a symlink to /bedrock/run/profile
  /etc/X11/xinit/xinitrc.d/99bedrock_env is not a symlink to /bedrock/run/profile
  /etc/bash_completion.d/brl is not a symlink to /bedrock/share/bash/completion/brl
  /etc/bash_completion.d/strat is not a symlink to /bedrock/share/bash/completion/strat
  /etc/fish/conf.d/99bedrock.fish is not a symlink to /bedrock/run/fprofile
  /etc/fish/completions/brl.fish is not a symlink to /bedrock/share/fish/completion/brl.fish
  /etc/fish/completions/strat.fish is not a symlink to /bedrock/share/fish/completion/strat.fish
  /etc/resolvconf/update.d/00bedrock is not a symlink to /bedrock/share/resolvconf/00bedrock

sudo brl repair arch: mkdir: can't create directory '/proc/1/root/bedrock/strata/arch/etc': Socket not connected

paradigm commented 2 years ago

Bedrock mounts a filesystem on /etc for each stratum. Apparently the one for your arch stratum died. You can probably re-mount the filesystem by disabling and re-enabling the stratum, or just rebooting.

If you know a way to reproduce this issue that isn't an obvious incorrect behavior (e.g. kill -9 $(pidof etcfs)), do let me know. Otherwise, there isn't much I can do with this issue report.