[Bug 294901] bsdconfig's geom.subr chokes on backticks in geom descriptions

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Apr 2026 16:02:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294901

            Bug ID: 294901
           Summary: bsdconfig's geom.subr chokes on backticks in geom
                    descriptions
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jhibbits@FreeBSD.org

I happen to have an SD card with a backtick (`) in the description.  bsdconfig
chokes on this, reporting errors of:

eval: 182: Syntax error: EOF in backquote substitution
eval: 131: Syntax error: Error in command substitution

Those errors were reported when trying to use the `bsdconfig networking`
option.

I was able to finally work around it by using sed(1) in the pipeline reading
kern.geom.conftxt to replace all backticks with '_'.  Not ideal, but it worked
fine for me to use bsdconfig.

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