Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 2020 13:35:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246981] pkg(8) plugins: configuration settings not provided due to missing object allocation
Message-ID:  <bug-246981-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 246981
           Summary: pkg(8) plugins: configuration settings not provided
                    due to missing object allocation
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: ms-freebsd-bugzilla@stoffnet.at

Created attachment 215227
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215227&action=
=3Dedit
Suggested fix for libpkg/plugins.c and updated examples

Due to a missing allocation of the UCL base object the configuration is par=
sed
but not provided to the plugin.

See 'pkg.diff' in the attached archive for a suggested fix of libpkg/plugin=
s.c.

Also the examples in the 'pkg-plugins' repository are severely outdated. Pl=
ease
see the other diff on some improvements, notably of the template and the
zfssnap plugins.

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