[Bug 200895] ctld does not allow '@' in path

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 16 04:37:30 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200895

            Bug ID: 200895
           Summary: ctld does not allow '@' in path
           Product: Base System
           Version: 10.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: harrison at glsan.com

I am trying to use ctld for iscsi targets and I have zfs volumes on the
backend.   These zfs volumes create deviced under /dev/zvol/<path> with an '@'
to denote the snapshot name.   ctl.conf does not appear to support the '@'
which appear to be a bug.

With '@' within a target path
root at pinta:/etc # service ctld onestart
Starting ctld.
ctld: /etc/ctl.conf is world-readable
ctld: error in configuration file at line 22 near '@': syntax error
ctld: configuration error; exiting
/etc/rc.d/ctld: WARNING: failed to start ctld

With '@' using '\@' within a target path
Starting ctld.
ctld: /etc/ctl.conf is world-readable
ctld: error in configuration file at line 22 near '\134': syntax error
ctld: configuration error; exiting
/etc/rc.d/ctld: WARNING: failed to start ctld
root at pinta:/etc #

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


More information about the freebsd-bugs mailing list