Skip to content

could not open /proc/sys/net/core/netdev_budget and openat(AT_FDCWD /proc/pid/ns/net", O_RDONLY) = -1 EACCES #239

@putty-12

Description

@putty-12

Hello developer team,
i'm using bpftune on fedora 44 with selinux in permissive mode.
Linux minipc 7.0.12-201.fc44.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 11 01:30:16 UTC 2026 x86_64 GNU/Linux

The bpftune service often tells me the following:
bpftune[150007]: could not open /proc/sys/net/core/netdev_budget (netns fd 0) for reading: No such file or directory
But that's not true. Because stat /proc/sys/net/core/netdev_budget reports:

  File: /proc/sys/net/core/netdev_budget
  Size: 0               Blocks: 0          IO Block: 1024   regular empty file
Device: 0,24    Inode: 74651       Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Context: system_u:object_r:sysctl_net_t:s0
Access: 2026-06-12 16:30:10.871549785 +0200
Modify: 2026-06-12 18:49:48.341329676 +0200
Change: 2026-06-12 18:49:48.341329676 +0200

strace into the running bpftune process results in many of similar messages:
[pid 216480] 20:16:59.705881 openat(AT_FDCWD</>, "/proc/various pids/ns/net", O_RDONLY) = -1 EACCES (Permission denied)

I'm unsure, because the files are existing:

stat "/proc/235596/ns/net"
  File: /proc/235596/ns/net -> net:[4026531833]
  Size: 0               Blocks: 0          IO Block: 1024   symbolic link
Device: 0,24    Inode: 3464213     Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Context: unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Access: 2026-06-12 20:16:50.720510203 +0200
Modify: 2026-06-12 20:16:49.604461303 +0200
Change: 2026-06-12 20:16:49.604461303 +0200

So I'm worry that bpftuner is not able to work correctly?
On the other hand: maybe all is fine and I missinterpret the findings.

Can you help me assess whether the error messages are a problem?

regards thorsten

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions