i3status doesn't work because of sysfs restrictions

2 posts / 0 new
Last post
#1 Sat, 2016-09-03 08:18
  • imv's picture
  • Offline
  • Last seen: 3 days 11 hours ago
  • Joined: 2016-09-03

Some modules in i3status config (battery, cpu_temperature) want to access files in /sys/. However, due to GRKERNSEC_SYSFS_RESTRICT they can't do that.
Is there a way to make i3status work without ditching linux-grsec for linux-vanilla, or setting SUID bit for i3status, or recompiling the kernel?

Wed, 2016-09-28 11:08
  • Youbi's picture
  • Offline
  • Last seen: 6 months 7 hours ago
  • Joined: 2016-09-28

Hello imv :)

I think that I chowned all /sys tree to root:wheel, and added my user to the wheel group, so that I can read the values (and only read them) provided by the sysfs.

Log in or register to post comments