Skip to content

Instantly share code, notes, and snippets.

@lovesegfault
Created May 30, 2020 21:06
Show Gist options
  • Save lovesegfault/a634eef542594ab25437ea30d8cb1e6a to your computer and use it in GitHub Desktop.
Save lovesegfault/a634eef542594ab25437ea30d8cb1e6a to your computer and use it in GitHub Desktop.
[goethe] Connecting to host...
[goethe] Copying closure to host...
[goethe] Copying secrets...
[goethe] Triggering system switcher...
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/fhlahb0q0l6dkcpx6hj9w53hq7m88q4l-switch/bin/switch start /nix/store/67bjaqlk8maa1wsnnrpgpj4zls56az80-nixos-system-goethe-20.09pre-git
[goethe] + [[ 0 -ne 0 ]]
[goethe] + mkdir -p /var/lib/system-switcher
[goethe] + chmod 770 /var/lib/system-switcher
[goethe] + cd /var/lib/system-switcher
[goethe] + case "$1" in
[goethe] + switch-start /nix/store/67bjaqlk8maa1wsnnrpgpj4zls56az80-nixos-system-goethe-20.09pre-git
[goethe] + local system=/nix/store/67bjaqlk8maa1wsnnrpgpj4zls56az80-nixos-system-goethe-20.09pre-git
[goethe] + '[' -x /nix/store/67bjaqlk8maa1wsnnrpgpj4zls56az80-nixos-system-goethe-20.09pre-git/bin/switch-to-configuration ']'
[goethe] + local id
[goethe] + '[' -f next ']'
[goethe] ++ cat next
[goethe] + id=12
[goethe] + local current=system-12
[goethe] + ln -sT system-12 current
[goethe] + echo 13
[goethe] + mkdir system-12
[goethe] + ln -sT /nix/store/67bjaqlk8maa1wsnnrpgpj4zls56az80-nixos-system-goethe-20.09pre-git current/system
[goethe] + echo unknown
[goethe] + echo 1
[goethe] + echo 12
[goethe] + nohup /nix/store/fhlahb0q0l6dkcpx6hj9w53hq7m88q4l-switch/bin/switch run
[goethe] Trying to confirm success...
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/fhlahb0q0l6dkcpx6hj9w53hq7m88q4l-switch/bin/switch active 12
[goethe] + [[ 0 -ne 0 ]]
[goethe] + mkdir -p /var/lib/system-switcher
[goethe] + chmod 770 /var/lib/system-switcher
[goethe] + cd /var/lib/system-switcher
[goethe] + case "$1" in
[goethe] + switch-active 12
[goethe] + local id=12
[goethe] + cat system-12/status
[goethe] + '[' '!' -p system-12/confirm ']'
[goethe] ++ cat system-12/active
[goethe] + local active=1
[goethe] + '[' -p system-12/confirm ']'
[goethe] + exit 1
[goethe] ssh: connect to host goethe.meurer.org port 22: Connection refused
[goethe] ssh: connect to host goethe.meurer.org port 22: Connection refused
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/fhlahb0q0l6dkcpx6hj9w53hq7m88q4l-switch/bin/switch active 12
[goethe] + [[ 0 -ne 0 ]]
[goethe] + mkdir -p /var/lib/system-switcher
[goethe] + chmod 770 /var/lib/system-switcher
[goethe] + cd /var/lib/system-switcher
[goethe] + case "$1" in
[goethe] + switch-active 12
[goethe] + local id=12
[goethe] + cat system-12/status
[goethe] + '[' '!' -p system-12/confirm ']'
[goethe] ++ cat system-12/active
[goethe] + local active=1
[goethe] + '[' -p system-12/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/fhlahb0q0l6dkcpx6hj9w53hq7m88q4l-switch/bin/switch active 12
[goethe] + [[ 0 -ne 0 ]]
[goethe] + mkdir -p /var/lib/system-switcher
[goethe] + chmod 770 /var/lib/system-switcher
[goethe] + cd /var/lib/system-switcher
[goethe] + case "$1" in
[goethe] + switch-active 12
[goethe] + local id=12
[goethe] + cat system-12/status
[goethe] + '[' '!' -p system-12/confirm ']'
[goethe] ++ cat system-12/active
[goethe] + local active=1
[goethe] + '[' -p system-12/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/fhlahb0q0l6dkcpx6hj9w53hq7m88q4l-switch/bin/switch active 12
[goethe] + [[ 0 -ne 0 ]]
[goethe] + mkdir -p /var/lib/system-switcher
[goethe] + chmod 770 /var/lib/system-switcher
[goethe] + cd /var/lib/system-switcher
[goethe] + case "$1" in
[goethe] + switch-active 12
[goethe] + local id=12
[goethe] + cat system-12/status
[goethe] + '[' '!' -p system-12/confirm ']'
[goethe] ++ cat system-12/active
[goethe] + local active=1
[goethe] + '[' -p system-12/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/fhlahb0q0l6dkcpx6hj9w53hq7m88q4l-switch/bin/switch active 12
[goethe] + [[ 0 -ne 0 ]]
[goethe] + mkdir -p /var/lib/system-switcher
[goethe] + chmod 770 /var/lib/system-switcher
[goethe] + cd /var/lib/system-switcher
[goethe] + case "$1" in
[goethe] + switch-active 12
[goethe] + local id=12
[goethe] + cat system-12/status
[goethe] + '[' '!' -p system-12/confirm ']'
[goethe] ++ cat system-12/active
[goethe] + local active=1
[goethe] + '[' -p system-12/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/fhlahb0q0l6dkcpx6hj9w53hq7m88q4l-switch/bin/switch active 12
[goethe] + [[ 0 -ne 0 ]]
[goethe] + mkdir -p /var/lib/system-switcher
[goethe] + chmod 770 /var/lib/system-switcher
[goethe] + cd /var/lib/system-switcher
[goethe] + case "$1" in
[goethe] + switch-active 12
[goethe] + local id=12
[goethe] + cat system-12/status
[goethe] + '[' '!' -p system-12/confirm ']'
[goethe] ++ cat system-12/active
[goethe] + local active=1
[goethe] + '[' -p system-12/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/fhlahb0q0l6dkcpx6hj9w53hq7m88q4l-switch/bin/switch active 12
[goethe] + [[ 0 -ne 0 ]]
[goethe] + mkdir -p /var/lib/system-switcher
[goethe] + chmod 770 /var/lib/system-switcher
[goethe] + cd /var/lib/system-switcher
[goethe] + case "$1" in
[goethe] + switch-active 12
[goethe] + local id=12
[goethe] + cat system-12/status
[goethe] + '[' '!' -p system-12/confirm ']'
[goethe] ++ cat system-12/active
[goethe] + local active=1
[goethe] + '[' -p system-12/confirm ']'
[goethe] + echo PING
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/fhlahb0q0l6dkcpx6hj9w53hq7m88q4l-switch/bin/switch active 12
[goethe] + [[ 0 -ne 0 ]]
[goethe] + mkdir -p /var/lib/system-switcher
[goethe] + chmod 770 /var/lib/system-switcher
[goethe] + cd /var/lib/system-switcher
[goethe] + case "$1" in
[goethe] + switch-active 12
[goethe] + local id=12
[goethe] + cat system-12/status
[goethe] + '[' '!' -p system-12/confirm ']'
[goethe] ++ cat system-12/active
[goethe] + local active=0
[goethe] + '[' -p system-12/confirm ']'
[goethe] + exit 0
[goethe] Failed to activate new system! Rolled back to previous one
[goethe] See /var/lib/system-switcher/system-12/log for logs
[goethe] Finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment