-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Description
Steps To Reproduce
- Set up a Linux system
- Ensure that the
/usr/share/polkit-1path lives on abcachefs-based file system (as part of the root partition,/usrpartition, whatever). - Install BitWarden Desktop.
- Attempt to enable system-based authentication.
- Observe it will not enable.
- See the following logs in the output:
15:39:16.132 › [SearchService]: index complete took 88.39999999990687 [ [ 'Items', 793 ] ]
15:39:22.185 › [Main Biometrics IPC Listener] setup failed Failed to set up polkit policy
15:39:22.286 › [SearchService]: isSearchable took 16.300000000279397 null
Poster's Note: Everything after here is with a humorous tone but may still be useful.
- Be very confused.
- Spend an hour trying to figure out what's gone wrong.
- Trace the issue down to the following command:
chcon system_u:object_r:usr_t:s0 /usr/share/polkit-1/actions/com.bitwarden.Bitwarden.policy
# chcon: failed to change context of '/usr/share/polkit-1/actions/com.bitwarden.Bitwarden.policy' to ‘system_u:object_r:usr_t:s0’: Operation not supported- Spend another 15 minutes trying to figure out WHY
chconis failing. - Realize
bcachefsdoesn't support SELinux fully 💢💢💢 - Regret the choices that led to using
bcachefs.
Expected Result
System authentication should work fine on bcachefs-based file systems.
Actual Result
System authentication does not work fine on bcachefs-based file systems due to chcon just not working.
Screenshots or Videos
No response
Additional Context
If there is some way to work around this or use a different command within BitWarden that would let it work on bcachefs-based file systems, that would be amazing. Obviously, bcachefs is still experimental so I'm not expecting miracles here. Understandable that I picked an experimental file system so this may well be a consequence I have to live with.
Operating System
Linux
Operating System Version
Arch Linux
Installation method
Other
Build Version
2025.8.1
Issue Tracking Info
- I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.