[Bug tapsets/26254] New: [PATCH] Syntax error in sssd_functions.stp at METHOD_SENTINEL

craig.ringer at 2ndquadrant dot com sourceware-bugzilla@sourceware.org
Fri Jul 17 02:45:34 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=26254

            Bug ID: 26254
           Summary: [PATCH] Syntax error in sssd_functions.stp at
                    METHOD_SENTINEL
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: craig.ringer at 2ndquadrant dot com
  Target Milestone: ---

I see the following complaint on even trivial probes on Fedora 32:


parse error: expected 'probe', 'global', 'private', 'function', or '%{'
        saw: identifier 'METHOD_SENTINEL' at
/usr/share/systemtap/tapset/sssd_functions.stp:10:34
     source:        METHOD_RESOLVER_HANDLER=9 METHOD_SENTINEL=10
                                              ^

This turns out to be in an externally supplied tapset:

$ rpm -qf /usr/share/systemtap/tapset/sssd_functions.stp
sssd-common-2.3.0-1.fc32.x86_64

but I'm opening an issue here to make the problem searchable, since I had
started a bug before I realised it wasn't part of systemtap itself. It's fixed
in upstream sssd by
https://github.com/SSSD/sssd/blob/master/src/systemtap/sssd_functions.stp .

The cause is a missing comma.

My versions:

$ rpm -q --qf '%{name}-%{version}-%{release}\n' gcc gcc
fedora-release-workstation 
gcc-10.1.1-1.fc32
gcc-10.1.1-1.fc32
fedora-release-workstation-32-3

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


More information about the Systemtap mailing list