-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Helios64: workaround fancontrol /dev restriction vs Helios64 udev /dev symlinks #8928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helios64: workaround fancontrol /dev restriction vs Helios64 udev /dev symlinks #8928
Conversation
WalkthroughAdds a systemd override file disabling PrivateDevices for Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
🧰 Additional context used🧠 Learnings (3)📓 Common learnings📚 Learning: 2025-11-02T20:49:56.719ZApplied to files:
📚 Learning: 2025-08-03T15:21:20.148ZApplied to files:
🔇 Additional comments (1)
Comment |
…v symlinks Debian fancontrol service PrivateDevices=yes default prevents access to these /dev symlinks.
aa64b2d to
202587d
Compare
|
v25.08 is also affected, but I believe there won't be any more fix releases for 25.08. |
No. This will get there anyway. |
|
✅ This PR has been reviewed and approved — all set for merge! |
|
You know it is the wrong thing to do, merged it nonetheless. Again. In your defense, I have to admit, I am not aware of the proper fix but we should have consulted with the Debian maintainer of the package to find out. |
I don’t claim to be perfect or to have superhuman oversight. When a contributor confirms that something is ready, I generally trust their judgement and proceed with the merge. This is how collaborative projects typically operate.
If you feel that additional coordination is needed, please feel free to reach out to them or handle it in the way you believe is appropriate. If you confirm that the result works, I will merge it based on your assessment, without requiring further checks or external confirmation. If the current process feels too dependent on my decisions, I’m also open to enabling auto-merge so it’s clear that this isn’t about personal preference but about streamlining our workflow. |
|
It's not really about superhuman oversight. But you were made aware that Debian specifically introduced PrivateDevices=yes as a hardening measure. More info at https://bugs.debian.org/944808. I trust the Debian maintainer to know best what is appropriate for this package and they made a very specific choice here and you knew this full well, overriding and reverting that choice without understanding the implications. This kind of approach is a common topic in Armbian, unfortunately. This is not about Armbian processes but about decisions. This was a poor decision. It made things worse by going against a specifc upstream decision. And it was known for this to be the case before the merge but as usual it was merged regardless overriding a clear veto once more. |
|
Just to be clear, it is absolutely OK to override upstream. I do it all the time. But then you should have a clear understanding of the what and why. There's no understanding here at all. |
Debian fancontrol service PrivateDevices=yes default prevents access to these /dev symlinks.
Description
Trixie fancontrol has PrivateDevices=yes, which prevents access to host /dev. But helios64 sets up
symlinks to thermal and hwmon sysfs entries into /dev via udev rules and uses these links in fancontrol config.
Add a fancontrol systems service drop-in top set PrivateDevices=no in helios64 bsp package to allow
access to these symlinks.
Reported in forum: https://forum.armbian.com/topic/30074-helios64-armbian-2308-bookworm-issues-solved/page/12/#findComment-228274
Likely that also affects helios4, which has the same udev hacks to prepare symlinks to sysfs files for fancontrol.
Mind that I question the requirements for these udev symlinks; this needs to be sorted out if they are needed or were hacks.
Also, there are only 3 boards using fancontrol. I question the use of fancontrol. Maybe we should ship a thermal policy in dts instead.
But for now, let's fix the existing stack.
How Has This Been Tested?
Checklist:
Summary by CodeRabbit