sumaform icon indicating copy to clipboard operation
sumaform copied to clipboard

minima: Invalid Argument while renaming

Open mbologna opened this issue 8 years ago • 2 comments

While mirroring, minima encountered this error:

2017/12/12 13:08:39 rename /srv/mirror/SuSE/build.suse.de/SUSE/Products/SLE-Module-Basesystem/15/x86_64/product/ /srv/mirror/SuSE/build.suse.de/SUSE/Products/SLE-Module-Basesystem/15/x86_64/product/-old: invalid argument

and apparently (no other lines in the logs) it exited.

mbologna avatar Dec 12 '17 13:12 mbologna

The issue is about the trailing slash in your configuration file, just remove it to work around this problem.

I agree minima should be more robust in this case, thanks for reporting.

moio avatar Dec 13 '17 11:12 moio

workaround: https://github.com/moio/sumaform/commit/30553a485a7a051f572db5692bb1712230e75e18

mbologna avatar Dec 15 '17 09:12 mbologna