Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vagrant-spk pack failure on buster when including /bin/bash #269

Open
abliss opened this issue Jun 10, 2020 · 2 comments
Open

vagrant-spk pack failure on buster when including /bin/bash #269

abliss opened this issue Jun 10, 2020 · 2 comments

Comments

@abliss
Copy link
Contributor

abliss commented Jun 10, 2020

Calling 'vagrant' 'ssh' '-c' 'cd /opt/app/.sandstorm/ && spk pack --keyring=/host-dot-sandstorm/sandstorm-keyring --pkg-def=/opt/app/.sandstorm/sandstorm-pkgdef.capn\p:pkgdef /home/vagrant/sandstorm-package.spk && spk verify --details /home/vagrant/sandstorm-package.spk && mv /home/vagrant/sandstorm-package.spk /opt/app/sandstorm\-package.spk' in /home/abliss/proj/sandstorm/ttyd/.sandstorm
*** Uncaught exception ***
sandstorm/spk.c++:1171: failed: expected children.empty(); got symlink, expected directory; target = /bin
stack: 6150fd 6138fa 6129de 61292c 664d93 6652f6                                                                                                                      

This seems to be because sandstorm-files.list contains bin but /bin is actually a symlink to /usr/bin.

@zenhack
Copy link
Collaborator

zenhack commented Jun 13, 2020

Can you provide some more context? Did this happen after upgrading an app from an older version, or...?

@abliss
Copy link
Contributor Author

abliss commented Jun 13, 2020

I was working on an app, and had started it on stretch, then destroyed my vm and restarted with buster. so plausibly, /bin wasn't a symlink before, and that's how bin/ ended up in sandstorm-files.list. but even after deleting bin/ from the list, the next time I ran vagrant-spk dev, it got populated again, and pack failed again. I seem to have to keep removing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants