Skip to content

Instantly share code, notes, and snippets.

@lovesegfault
Created May 30, 2020 20:48
Show Gist options
  • Save lovesegfault/f0ee29afc5c7f69abba2d3b765038b85 to your computer and use it in GitHub Desktop.
Save lovesegfault/f0ee29afc5c7f69abba2d3b765038b85 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/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-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=8
[goethe] + local current=system-8
[goethe] + ln -sT system-8 current
[goethe] + echo 9
[goethe] + mkdir system-8
[goethe] + ln -sT /nix/store/67bjaqlk8maa1wsnnrpgpj4zls56az80-nixos-system-goethe-20.09pre-git current/system
[goethe] + echo unknown
[goethe] + echo 1
[goethe] + echo 8
[goethe] + nohup /nix/store/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-switch/bin/switch run
[goethe] Trying to confirm success...
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-switch/bin/switch active 8
[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 8
[goethe] + local id=8
[goethe] + cat system-8/status
[goethe] + '[' '!' -p system-8/confirm ']'
[goethe] ++ cat system-8/active
[goethe] + local active=1
[goethe] + '[' -p system-8/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-switch/bin/switch active 8
[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 8
[goethe] + local id=8
[goethe] + cat system-8/status
[goethe] + '[' '!' -p system-8/confirm ']'
[goethe] ++ cat system-8/active
[goethe] + local active=1
[goethe] + '[' -p system-8/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/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-switch/bin/switch active 8
[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 8
[goethe] + local id=8
[goethe] + cat system-8/status
[goethe] + '[' '!' -p system-8/confirm ']'
[goethe] ++ cat system-8/active
[goethe] + local active=1
[goethe] + '[' -p system-8/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-switch/bin/switch active 8
[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 8
[goethe] + local id=8
[goethe] + cat system-8/status
[goethe] + '[' '!' -p system-8/confirm ']'
[goethe] ++ cat system-8/active
[goethe] + local active=1
[goethe] + '[' -p system-8/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-switch/bin/switch active 8
[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 8
[goethe] + local id=8
[goethe] + cat system-8/status
[goethe] + '[' '!' -p system-8/confirm ']'
[goethe] ++ cat system-8/active
[goethe] + local active=1
[goethe] + '[' -p system-8/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-switch/bin/switch active 8
[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 8
[goethe] + local id=8
[goethe] + cat system-8/status
[goethe] + '[' '!' -p system-8/confirm ']'
[goethe] ++ cat system-8/active
[goethe] + local active=1
[goethe] + '[' -p system-8/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-switch/bin/switch active 8
[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 8
[goethe] + local id=8
[goethe] + cat system-8/status
[goethe] + '[' '!' -p system-8/confirm ']'
[goethe] ++ cat system-8/active
[goethe] + local active=1
[goethe] + '[' -p system-8/confirm ']'
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-switch/bin/switch active 8
[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 8
[goethe] + local id=8
[goethe] + cat system-8/status
[goethe] + '[' '!' -p system-8/confirm ']'
[goethe] ++ cat system-8/active
[goethe] + local active=1
[goethe] + '[' -p system-8/confirm ']'
[goethe] + echo PING
[goethe] + exit 1
[goethe] + [[ 8888 -ne 0 ]]
[goethe] + exec sudo /nix/store/1bkbbyypdvfaqrq946vw2s0mjm6bssbv-switch/bin/switch active 8
[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 8
[goethe] + local id=8
[goethe] + cat system-8/status
[goethe] + '[' '!' -p system-8/confirm ']'
[goethe] ++ cat system-8/active
[goethe] + local active=0
[goethe] + '[' -p system-8/confirm ']'
[goethe] + exit 0
[goethe] Failed to activate new system! Rolled back to previous one
[goethe] See /var/lib/system-switcher/system-8/log for logs
[goethe] Finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment