Bug: Creating mounts points with spaces crashes jail

Wind_freak

Dabbler
Joined
Nov 28, 2011
Messages
20
Sorry I tried to access the bug website, but that seems to have a bug.

To reproduce.
Create new Plex Media Server plugin
Stop plugin
Edit jail
add mount point
browse to path\path\iTunes Media\Movies
Mount to mnt\Movies
Start jail and crash hard

Code:
The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 165, in call_method
    result = await self.middleware.call_method(self, message)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1141, in call_method
    return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1078, in _call
    return await self._call_worker(serviceobj, name, *args)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1105, in _call_worker
    job,
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1036, in run_in_proc
    return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1021, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
RuntimeError: jail: mount.fstab: Media/Movies: not an absolute pathname
 

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,477
What version are you running? I remember this being a problem but I believe it was subsequently fixed.
 
Top