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

[Errno 2] No such file or directory: '/Volumes/JAMFShare/Packages/xxxxx.pkg using Multi DP #86

Open
lchsit opened this issue Nov 23, 2022 · 2 comments
Assignees
Labels
bug Something isn't working question Further information is requested by the person who opened the issue

Comments

@lchsit
Copy link

lchsit commented Nov 23, 2022

Repost from Slack as requested:

First my environment if it is relevant is Jamf cloud with a secondary local SMB FSDP. The MacBook running AutoPkg is an M1 running Ventura.
I'm getting [Errno 2] No such file or directory: '/Volumes/JAMFShare/Packages/xxxxx.pkg Other references to this error don't seem to mirror my experience
This error seems to occur under two circumstances:

  1. If a recipe doesn't have to copy a file to the FSDP share because it already exists. Many times it doesn't seem to dismount the share and the next recipe run fails with the aforementioned error. Manually dismounting allows the recipe to run correctly
  2. If any other SMB share is mounted, it is always dismounted and the recipe will intermittently fail as above
    Additionally if the process doesn't fail because of another mounted volume then it will leave the FSDP volume mounted causing the next recipe to fail

Output of the first scenario occurring.
Recipe that generated this output

Thanks

@grahampugh
Copy link
Owner

grahampugh commented Nov 28, 2022

Please would you be able to supply -vv or -vvv output?

@grahampugh grahampugh self-assigned this Nov 28, 2022
@grahampugh grahampugh added bug Something isn't working question Further information is requested by the person who opened the issue labels Nov 28, 2022
@lchsit
Copy link
Author

lchsit commented Dec 1, 2022

As it is the easiest to reproduce. This is the output from scenario 2 where a different SMB share is mounted before running. It is dismounted and after the recipe fails the FSDP is left mounted
https://gist.github.com/lchsit/21e7c0dc68f2e9244229998513211155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested by the person who opened the issue
Projects
None yet
Development

No branches or pull requests

2 participants