Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 01:46:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 208663] It is not possible to use spaces in fstab paths when using jails
Message-ID:  <bug-208663-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208663

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

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D117687
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D55539
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D37569

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":=20
# 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208663-8>