Closed
Description
Using the latest Meteor version.
I've recently tried to publish a package using a docker container, thus i'm mounting a .meteorsession file from host to the container (i.e. with -v ~/.meteorsession:/root/.meteorsession
), but while publishing of course i got this:
Error: EBUSY: resource busy or locked, rename '/root/.meteorsession.153166' -> '/root/.meteorsession'
What is strange here is why meteor creates a new file to save session info? Looking at this line
https://github.com/meteor/meteor/blob/devel/tools/meteor-services/auth.js#L162
Isn't it too many file operations (create new file, delete the old one, rename the first one)? What's the reason for this? Why not just write to it? Is there a workaround to pass .meteorsession from host OS properly?
Metadata
Metadata
Assignees
Labels
No labels