Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2024 16:00:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277893] rc_subr setting of variables breaks if rc name variable contains minus sign
Message-ID:  <bug-277893-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 277893
           Summary: rc_subr setting of variables breaks if rc name
                    variable contains minus sign
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: awalker@ixsystems.com

If the name variable for an rc script contains a minus sign, rc_subr will
basically corrupt variables related to the script. Was observed because rc_=
subr
was attempting to run "umask -kinit" for a script with name "ix-kinit" rath=
er
than just "umask". This may indicate further undiagnosed problems with hand=
ling
edge-cases with handling of rc script name variables.

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