execsnoop-bpfcc gives error and doesn't work in Turkish locale

Bug #1975670 reported by Oğuz Karayemiş
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bpfcc (Ubuntu)
New
Undecided
Unassigned

Bug Description

In terminal, after the "sudo execsnoop-bpfcc":

error: unknown argument '-discard-value-names'; did you mean '-discard-value-names'?
Traceback (most recent call last):
  File "/usr/sbin/execsnoop-bpfcc", line 227, in <module>
    b = BPF(text=bpf_text)
  File "/usr/lib/python3/dist-packages/bcc/__init__.py", line 364, in __init__
    raise Exception("Failed to compile BPF module %s" % (src_file or "<text>"))
Exception: Failed to compile BPF module <text>

But if I use "LC_ALL=C" environment variable before command "sudo LC_ALL=C execsnoop-bpfcc" will work without any problem. This issue causes another program (like "system76-scheduler") which calls this function to use much higher cpu clock time.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.