You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as @greatkemo mentioned in JSSImporter#187 you cannot mount shares on macOS Big Sur (with Apple Silicon, haven't tried intel yet).
Is there a known fix? If not I'd write a patch which creates a tempdir (mktemp) and mount the share to that place. This should avoid the error when trying to mount/create a dir in /Volumes.
Cheers,
ChrOst/bofh
Additionally the output I see on an BigSur machine (censored some stuff):
JSSImporter: Checking if DP already mounted...
mount: realpath /Volumes/CasperShare: No such file or directory
Traceback (most recent call last):
File "/Library/AutoPkg/autopkglib/__init__.py", line 658, in process
self.env = processor.process()
File "/Library/AutoPkg/autopkglib/__init__.py", line 465, in process
self.main()
File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 1364, in main
self.jss.distribution_points.mount()
File "/Library/AutoPkg/JSSImporter/jss/distribution_points.py", line 279, in mount
child.mount()
File "/Library/AutoPkg/JSSImporter/jss/distribution_point.py", line 250, in mount
self._mount()
File "/Library/AutoPkg/JSSImporter/jss/distribution_point.py", line 569, in _mount
subprocess.check_call(args)
File "/Library/AutoPkg/Python3/Python.framework/Versions/Current/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['mount', '-t', 'smbfs', '//DOMAIN;USER:_password_hidden_@linux_samba.on.domain.de:445/CasperShare', '/Volumes/CasperShare']' returned non-zero exit status 66.
File "/Library/AutoPkg/autopkglib/__init__.py", line 658, in process
self.env = processor.process()
Command '['mount', '-t', 'smbfs', '//DOMAIN;USER:_password_hidden_@linux_samba.on.domain.de:445/CasperShare', '/Volumes/CasperShare']' returned non-zero exit status 66.
Failed.
Receipt written to /Users/autopkg/Library/AutoPkg/Cache/com.github.autopkg.jss.Firefox-de/receipts/Firefox-receipt-20210219-100513.plist
The following recipes failed:
Firefox.jss
Error in com.github.autopkg.jss.Firefox-de: Processor: JSSImporter: Error: Command '['mount', '-t', 'smbfs', '//DOMAIN;USER:_password_hidden_@linux_samba.on.domain.de:445/CasperShare', '/Volumes/CasperShare']' returned non-zero exit status 66.
The text was updated successfully, but these errors were encountered:
Hi,
as @greatkemo mentioned in JSSImporter#187 you cannot mount shares on macOS Big Sur (with Apple Silicon, haven't tried intel yet).
Is there a known fix? If not I'd write a patch which creates a tempdir (mktemp) and mount the share to that place. This should avoid the error when trying to mount/create a dir in /Volumes.
Cheers,
ChrOst/bofh
Additionally the output I see on an BigSur machine (censored some stuff):
The text was updated successfully, but these errors were encountered: