Kicksecure / security-misc

Kernel Hardening; Protect Linux User Accounts against Brute Force Attacks; Improve Entropy Collection; Strong Linux User Account Separation; Enhances Misc Security Settings - https://www.kicksecure.com/wiki/Security-misc
https://www.kicksecure.com/wiki/Impressum
Other
518 stars 51 forks source link

Fix unmount error - This time real #149

Closed monsieuremre closed 1 year ago

monsieuremre commented 1 year ago

I tested everything. Works like charm. Fixed. No slowdown no drawback. True and real. I just added a unit for var.mount in lib/systemd/system, that makes sure /var is unmounted before /var/log and /var/tmp. And my guess was true, it was the ordering that cauesd the issue. When they are unmounted in the correct order, no errors occur. Var has to be unmounted first. And this file makes sure of that.

adrelanos commented 1 year ago

Looks nice and minimal.

monsieuremre commented 1 year ago

I am closing this pull in favor of a much elegant, better, and smooth solution. New pull is on the way.