[Bug 208663] It is not possible to use spaces in fstab paths when using jails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 10 01:46:23 UTC 2016


            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: freebsd-bugs at FreeBSD.org
          Reporter: robert at indylix.nl
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

Bug has been fixed in the past, except it does not work for jails.


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" >>

2) Start the jail:
# cannot start jail  "jail_name": 
# jail: jail_name: mount.fstab: /tmp/Space\040Mountpoint: No such file or

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.

More information about the freebsd-amd64 mailing list