https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208663
Bug ID: 208663
Summary: It is not possible to use spaces in fstab paths when
using jails
Product: Base System
Version: 10.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
CC: [email protected]
Bug has been fixed in the past, except it does not work for jails.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=117687
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=55539
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=37569
Steps to reproduce:
1) create a jail named: jail_name
2) configure jail
$ mkdir "/tmp/Space Test"
$ mkdir "/tmp/Space Mountpoint"
$ echo "/tmp/Space\040Test /tmp/Space\040Mountpoint nullfs ro 0 0" >>
/etc/fstab.jail_name
2) Start the jail:
# cannot start jail "jail_name":
# jail: jail_name: mount.fstab: /tmp/Space\040Mountpoint: No such file or
directory
I've tried a bunch of variations. Escaping spaces, \040, '\040', \s, double and
single quoting the entire path. Nothing works.
It gives a different error if you use quotes:
"/tmp/Space Test" "/tmp/Space Mountpoint" nullfs ro 0 0
jail: jail_name: mount.fstab: Test: not an absolute pathname
Any ideas of what else I could try or where this goes wrong?
Kind Regards,
Robert Sevat
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"