Irqbalance / irqbalance

The irqbalance source tree - The new official site for irqbalance
http://irqbalance.github.io/irqbalance/
GNU General Public License v2.0
576 stars 139 forks source link

A canonical path for policyscript #320

Closed liutgnu closed 2 months ago

liutgnu commented 2 months ago

Hi maintainers,

Do we have a canonical path for irqbalance's policyscript, or do you prefer to leave it to be designed by each distributions? I came to ask because users may place the policyscript file anywhere, with selinux enabled, it may prevent irqbalance from executing the policyscript file. Our selinux team is seeking for a preferred dir for the policyscript files (@zpytela please correct me if I'm wrong). I guess other distributions which enabled selinux may also encounter the same issue. Any ideas?

Thanks, Tao Liu

nhorman commented 2 months ago

I think thats exactly why we need to leave this as a distribution decision. A distributions should create their sysvinit/systemd unit such that they select a specific path for the policy script with the -l option, and setup their selinux policy to match it accordingly

liutgnu commented 2 months ago

OK, agreed. Thanks a lot for your explanation!