Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2015 04:37:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200895] ctld does not allow '@' in path
Message-ID:  <bug-200895-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: harrison@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@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@pinta:/etc #

-- 
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-200895-8>