[lxc-users] lxc file push garbling existing file

Stéphane Graber stgraber at ubuntu.com
Wed Apr 6 15:09:07 UTC 2016


On Wed, Apr 06, 2016 at 09:55:08AM -0500, Craig Tataryn wrote:
> I've setup an automated deploy script that does the following:
> 
> * Uploads (via scp) a file to a host
> * Executes (via ssh) the `lxc file push` command to a container on that host
> 
> Every once in a while the file that is pushed to the container winds up
> being garbled somehow.  I've experienced this for both text and binary
> files.  When I crack open the text file typically it appears that the last
> line of the file duplicates some partial remnants of the previous file that
> was overwritten.
> 
> My current work around is to issue an `lxc exec -- rm -f <existing file>`
> before doing the push.
> 
> Before I go through a lot of trial-and-error I was wondering if anyone
> knows if this is a known issue, or have otherwise experienced this for
> themselves?
> 
> Versions:
> LXC: 0.19
> LXD: 0.19
> LXCFS: 0.10

Please upgrade to something a bit more recent, that's all been fixed
months ago :)

0.19 is from September 2015, we are now at 2.0.0 rc8.

> 
> Thanks,
> 
> Craig.

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160406/c88e58f4/attachment.sig>


More information about the lxc-users mailing list