Skip to content

Commit

Permalink
test: wip
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan committed Aug 5, 2024
1 parent d40afd8 commit 6f2bd3d
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/modules/debug/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ install_cleanup_trap
echo_red "DEBUG: -------------------------------------------------"
cd /
ls -al /run/systemd/resolve/stub-resolv.conf || true
cat /run/systemd/resolve/stub-resolv.conf || true

echo_red "--------------------------------------------------------"

systemctl status systemd-resolved


echo_red "--------------------------------------------------------"
Expand All @@ -37,7 +37,31 @@ ping -c 2 google.de || true

echo_red "DEBUG: --------------------------------------------------"

echo_green "Try to alter dns ---------------------------------------"

ln -sf /etc/resolv.conf /run/systemd/resolve/stub-resolv.conf

echo_green "Try to alter dns ---------------------------------------"

echo_red "DEBUG: -------------------------------------------------"
cd /
ls -al /run/systemd/resolve/stub-resolv.conf || true
cat /run/systemd/resolve/stub-resolv.conf || true

echo_red "--------------------------------------------------------"



echo_red "--------------------------------------------------------"

resolvectl status

echo_red "--------------------------------------------------------"


ping -c 2 google.de || true

echo_red "DEBUG: --------------------------------------------------"

# Let it fail anyways!
exit 1

0 comments on commit 6f2bd3d

Please sign in to comment.