[Bug 246981] pkg(8) plugins: configuration settings not provided due to missing object allocation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 4 13:35:18 UTC 2020


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

            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 at FreeBSD.org
          Reporter: ms-freebsd-bugzilla at stoffnet.at

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

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

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

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

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


More information about the freebsd-bugs mailing list