imsnif / bandwhich

Terminal bandwidth utilization tool
MIT License
9.98k stars 293 forks source link

Process resolution doesn't work in the Snap package #410

Closed CommonLoon102 closed 5 months ago

CommonLoon102 commented 5 months ago

Installed from snap store on Ubuntu 23. Did run with sudo.

Nettop works fine. https://github.com/Emanem/nettop

CommonLoon102 commented 5 months ago

If I git clone and cargo build then it works fine.

cyqsimon commented 5 months ago

This issue was briefly mentioned in #314. The SEO on that issue isn't great but here's what I replied quoted:

As of the issue you ran into with snap, I assume it is a permission issue. Process resolution on Linux requires direct access to procfs, which the snap may not have been configured to allow. This is something you'd have to ask Ubuntu packagers to fix.

If you could report this to downstream that would be appreciated, thanks.