-
Notifications
You must be signed in to change notification settings - Fork 77
sys-apps/systemd: allow @mount syscalls for systemd-udevd.service #3367
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
base: main
Are you sure you want to change the base?
Conversation
|
Instead of patching the source, can we ship a unit drop in? |
|
Build action triggered: https://github.com/flatcar/scripts/actions/runs/18651858463 |
Indeed, that is what I was expecting. The |
|
One can argue where this would go, e.g., we have some drop-ins in https://github.com/flatcar/init/tree/flatcar-master/systemd/system |
|
I was discussing with @t-lo, and he suggested it would be better to ship it directly in a systemd package instead of baselayout. But yeah, it might be easier to ship it in init/baselayout so that we don't have to maintain yet another patch. |
|
The package is also a good place: the drop-in file can be brought in through the ebuild installing it instead of a source patch |
|
Our systemd package is currently forked from Gentoo, but ideally we would unfork it at some point. You could add the drop-in using a |
fa21dea to
6b04d15
Compare
In Flatcar we are using modprobe helpers that run depmod in temporary overlay. systemd-udevd.service may try to load drivers for some block devices (e.g. ZFS), which ends up calling our helpers, which invoke mount command. The mount syscalls are forbidden by the default systemd-udevd syscall filter.
6b04d15 to
a96a073
Compare
In Flatcar we are using modprobe helpers that run depmod in temporary overlay. systemd-udevd.service may try to load drivers for some block devices (e.g. ZFS), which ends up calling our helpers, which invoke mount command. The mount syscalls are forbidden by the default systemd-udevd syscall filter.