investigate the possibility of droping ssh-askpass requirement for provisioning docker #320
Closed
opened 2022-05-11 09:43:22 +00:00 by knoflook
·
2 comments
Labels
Clear labels
abra
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
design
documentation
duplicate
enhancement
fedi
fedi-infra
finance
funding
good first issue
help wanted
installer
legal
performance
proposal
question
security
test
wontfix
Everything to do with abra
Ping/pong on comms
Something is not working
Go build related issues
Getting the robots into the mix
Opening this thing up
Contributors stuff
Our main website
Design thinking required
Let's write things together
This issue or pull request already exists
New feature
Democratic decision making
Money things
Anything related to grant funding
Easy start with development
Need some help
Installation related issues
Performance related
Large change which requires feedback & decisin making
More information is needed
Securing our shit
Unit or integration test suite
This won't be fixed
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/organising#320
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
this is not installed by default on debian, so to install docker with
-pyou still need to ssh to the server andsudo apt install ssh-askpass, might install docker manually too at this point. Maybe abra can try ssh'ing as root when provisioning, so you don't have to type your password in? or maybe there's an alternative tossh-askpass?Yeh good point 🤔
I think we could refactor
cd8137a7d8/cli/server/add.go (L207-L220)to install instead of erroring out? It's a bit of a chicken/egg situation with--ask-sudo-passbecause the only wayabracan install the required dependency is by having the dependency already 🙃I'd love to know an alternative to
ssh-askpass... does it exist?Trying to write code that deals with this bootstrapping which handles both the root & non-root (sudo required) cases is quite error prone so I was a bit cautious to go further (not to even mention distro-portability 🙃).
"Solved" in coop-cloud/abra#255 (we don't provision).