Commit Graph

452 Commits

Author SHA1 Message Date
Aiden McClelland
9cf379f9ee cleanup after rebase 2022-01-21 20:35:52 -07:00
Aiden McClelland
3372da9f80 include download errors in error handler 2022-01-21 20:35:52 -07:00
Aiden McClelland
0b1f544fd7 fix lock type escalation 2022-01-21 20:35:52 -07:00
Lucy C
5b87aca298 Bugfix/backup lock (#1093)
* add write lock before getting model

* update compat cargo.lock file

* update encryptfs passphrase cmd

* add additional safeguards around dropping stdin handles

* proper lock ordering for server status
2022-01-21 20:35:52 -07:00
Keagan McClelland
1dccde4923 reorder image loads on rebuilds 2022-01-21 20:35:52 -07:00
Keagan McClelland
e2ab4f4fe1 restart -> rebuild 2022-01-21 20:35:52 -07:00
Aiden McClelland
4a97908b2b only reset docker state on hard-restart 2022-01-21 20:35:52 -07:00
Keagan McClelland
5278a22aef fixes shutdown issues (#1106) 2022-01-21 20:35:52 -07:00
Aiden McClelland
75dbc0bd76 return null for tor-key pointer if doesn't exist 2022-01-21 20:35:52 -07:00
Keagan McClelland
666f1bc0eb Integration/02x migration fixes (#1105)
* migrate root ca from 0.2.x

* migrate tor key, fix threading

* fixes lan address divergence across setup scenarios

* verifies that data drive matches the OS key on attachment

* fix 0.2.x recovery flow

* fixes issues with reading the product_key.txt file when it doesn't exist (NO_KEY=1)

* migrate tor key before initializing patchdb

* move patchdb lock guard acquisition into deferred async block

* pass product_key by parameter

* works, fucking finally

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
2022-01-21 20:35:52 -07:00
J M
38d4da9f86 Fix/show errors (#1075)
* chore: Show errors

* chore: Quick fix
2022-01-21 20:35:52 -07:00
Aiden McClelland
a16eacd3f8 clear dmsetup before import 2022-01-21 20:35:52 -07:00
Aiden McClelland
8e5a7ea9a7 fix bug where migrations would only run if the service was previously configured 2022-01-21 20:35:52 -07:00
Lucy C
f29608576d add protocol header for proxied services (#1076) 2022-01-21 20:35:52 -07:00
Keagan McClelland
4189da20e1 reconfigures dependents with live pointers when package is installed … (#1053)
* reconfigures dependents with live pointers when package is installed or removed

* fixes bugs with pointer remapping
2022-01-21 20:35:52 -07:00
Keagan McClelland
cb8c339e99 make nginx resilient to intermittent DNS resolution failure if it coincides with nginx startup 2022-01-21 20:35:52 -07:00
Keagan McClelland
486976eea0 fixes issue where hostnames would change on package reinstall/update 2022-01-21 20:35:52 -07:00
Aiden McClelland
eaffa8e53c reconnect flag 2022-01-21 20:35:52 -07:00
Chris Guida
502b179eef add .embassy domains to system-generated ssl certs (#1052) 2022-01-21 20:35:52 -07:00
J M
abe3ac464d Fix/timeout errors (#1051)
* wip: Working with docker timeouts

* fix: Make the fixes

* chore: small fixes

* chore: Remove not used 143

* chore: Put back
2022-01-21 20:35:52 -07:00
Keagan McClelland
da9fa31cff destroy all warnings
make idiomatic binding elision

remove unused struct line item

put back warning about not handling mdns errors T.T
2022-01-21 20:35:52 -07:00
Keagan McClelland
adeaabfa5f fixes an issue where if a package had multiple port mappings, only the last one would get an nginx config
include the nginx paths when *removing* a package
2022-01-21 20:35:52 -07:00
Keagan McClelland
cc0535ad5b change default registry based on 'beta' feature flag, make 'beta' default for now 2022-01-21 20:35:52 -07:00
Keagan McClelland
d3ab3cb46b fix lock ordering 2022-01-21 20:35:52 -07:00
Keagan McClelland
8c1016b3eb removed broken packages entry in patchdb 2022-01-21 20:35:52 -07:00
J M
1086ce13d2 feature: Swapping to use nmcli (#1015)
The reason is that we get better errors and that we get signal strength.
Reworking all the commands to use nmcli instead.
Feat: Wifi List Available
Feat: strength sort for available
fix: Backend to match the frontend asking
feat: New get with all information
chore: Make backend changing country not for NonWire

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
2022-01-21 20:35:52 -07:00
Keagan McClelland
3c3dab2312 prep for prod infrastructure defaults 2022-01-21 20:35:52 -07:00
Keagan McClelland
c38d6083aa remove unnecessarily revealing information in log messages that may be exported to the log server 2022-01-21 20:35:52 -07:00
Aiden McClelland
920c86a443 set owner (#1014)
* set owner

* please borrowck

* set permissions and ownership on root dir
2022-01-21 20:35:52 -07:00
Aiden McClelland
d144891a4d fix setup 2022-01-21 20:35:52 -07:00
Aiden McClelland
133b793953 add richer error codes to disk import 2022-01-21 20:35:52 -07:00
Lucy C
547d1a0856 Bugfix/boot cleanup (#1023)
* do not expect the node to exist on cleanup

* fix reference

* fix types
2022-01-21 20:35:52 -07:00
Keagan McClelland
381388a994 adds package renaming for vaultwarden, abstracted in case we have other renames we want to do 2022-01-21 20:35:52 -07:00
Keagan McClelland
8f0639cb72 adjust charge shorten last note 2022-01-21 20:35:52 -07:00
Keagan McClelland
00bc03e2cc adjust charge 2022-01-21 20:35:52 -07:00
Aiden McClelland
dbc159c82e use ipv4 for mdns lookups 2022-01-21 20:35:52 -07:00
Aiden McClelland
c8719061e4 add unstable flag to rpc context panic 2022-01-21 20:35:52 -07:00
Aiden McClelland
36d5d40b4f fix non-canonical lock orderings 2022-01-21 20:35:52 -07:00
Aiden McClelland
be98fdfeed unstable flag 2022-01-21 20:35:52 -07:00
Aiden McClelland
ec17059784 include 0.2.x in recovery_info 2022-01-21 20:35:52 -07:00
Aiden McClelland
dd9706c665 use env vars for cifs options 2022-01-21 20:35:52 -07:00
Aiden McClelland
6478ecf270 purge all swap logic 2022-01-21 20:35:52 -07:00
Aiden McClelland
bb51512f52 disable swap usage 2022-01-21 20:35:52 -07:00
J M
cd996826f3 chore: Update the 2022-01-21 20:35:52 -07:00
J M
03edd7a4b8 wip: Removing swap 2022-01-21 20:35:52 -07:00
Aiden McClelland
4840ddecf9 retry failed pause (#985) 2022-01-21 20:35:52 -07:00
Aiden McClelland
7277b430a1 fix get_hostname (#987) 2022-01-21 20:35:52 -07:00
Keagan McClelland
c814fbe4cb change sounds away from mario, replace their use sites (#974) 2022-01-21 20:35:52 -07:00
J M
fb8c5edc13 fix: Sorta crash found in synapse
Fixes: https://github.com/Start9Labs/synapse-wrapper/issues/18

So the issue found was that we where during a startup it "crashes", but not really.
2022-01-21 20:35:52 -07:00
Aiden McClelland
331ca17fb4 rename symbols about dependencies 2022-01-21 20:35:52 -07:00