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/>

index | next in thread | raw e-mail

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

            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" rather
than just "umask". This may indicate further undiagnosed problems with handling
edge-cases with handling of rc script name variables.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277893-227>