Skip to content

Instantly share code, notes, and snippets.

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