fedora 37 selinux vs. pyenv installations and systemd

18 views
Skip to first unread message

Vince Skahan

unread,
Nov 28, 2022, 11:39:08 PM11/28/22
to weewx-development
Just a heads up - Tom's wiki example of how to install weewx in a pyenv does work ok with systemd on fedora37 once I disabled selinux with setenforce=0.   My setup also was running as a non-privileged user (Simulator driver) at the time.

Failure symptoms were Permission Denied indicated in the logs when I did a 'systemctl status weewx' when the os permissions were ok otherwise.  Could be confusing for folks.

I didn't look into how to relabel whatever it was complaining about so selinux could be left in enforcing mode, but I wanted to note the error that will likely throw folks a bit when they run into it.  Even after all these years selinux default policies sure are finicky.
Reply all
Reply to author
Forward
0 new messages