Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2024 14:17:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 279200] sysrc(8) fails to perform set operations for += and -= in -c (check only) mode.
Message-ID:  <bug-279200-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 279200
           Summary: sysrc(8) fails to perform set operations for +=3D and -=
=3D
                    in -c (check only) mode.
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: crest@rlwinm.de

The sysrc command does not perform required set union/difference operations
when asked to check if a variable contains certain values (or not) e.g. the
following sequences of commands returns failure when it shouldn't:

    sysrc jail_list=3D"jail1 jail2 jail3" && sysrc -c jail_list+=3D" jail2"

--=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-279200-227>