Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2024 22:22:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 282939] /etc/rc.d/var_run:_var_run_save() minor bug in hardly visited code path
Message-ID:  <bug-282939-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 282939
           Summary: /etc/rc.d/var_run:_var_run_save() minor bug in hardly
                    visited code path
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: milios@ccsys.com

freebsd-src/libexec/rc/rc.d/var_run:30 says:
    mkdir -p ${var_run_mtree}

while it certainly meant to say:
    mkdir -p $(dirname ${var_run_mtree})

CURRENT and all supported releases have this issue

it's
line 30 on CURRENT (main),
line 27 on releng/14.2,
line 32 on releng/13.4

if anybody wants me to submit a pull request to each supported branch i will
but it sure seems quick for any committer to go ahead and fix

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