Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2022 15:10:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262719] [patch] WARNING: $ is not set properly - see rc.conf(5)
Message-ID:  <bug-262719-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 262719
           Summary: [patch] WARNING: $ is not set properly - see
                    rc.conf(5)
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: dinoex@FreeBSD.org

Created attachment 232631
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232631&action=
=3Dedit
Suggested patch

On all systems I get logged in /var/log/messages

/usr/sbin/service: WARNING: $ is not set properly - see rc.conf(5).

I can reproduce this by running:
# service -e

The problem occurs in /etc/rc.d/addswap

The attached patch fixes the problem for me.
Please review.

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