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

Pushing very large directories fills shell with empty space #15090

Open
bepri opened this issue Feb 28, 2025 · 0 comments
Open

Pushing very large directories fills shell with empty space #15090

bepri opened this issue Feb 28, 2025 · 0 comments

Comments

@bepri
Copy link

bepri commented Feb 28, 2025

When pushing very large directories into a LXC container instance, the progress message seems to print far too many newlines and fills up the shell with blank space.

Reproduction steps:

# Any steps to generate a big directory works, this is just how I managed to reproduce it
git clone [email protected]:canonical/snapcraft
cd snapcraft
make setup  # This step generates a massive `.venv` directory

# Try to push it onto a container
lxc launch ubuntu:24.04 hollow-shell
lxc file push -r . hollow-shell/

LXC version: 5.21.3 LTS (from snap 5.21/stable)
Happens in bash 5.2.32(1)-release and fish 3.7.1. I haven't tested any other shells.

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

1 participant