Elektrobit / flake-pilot

Registration/Control utility for applications launched through a runtime-engine, e.g containers
MIT License
9 stars 5 forks source link

Disable loop feature in sys_mount #117

Closed schaefi closed 1 year ago

schaefi commented 1 year ago

By default sysmount supports loop devices. In sci. We don't use them and for kernel 6.x the code does not compile anymore and fails with: ```enum(unnamedat/usr/include/linux/loop_h_16_1)" is not a valid Ident```

Newer distros e.g TW, Lobster, rawhide .... uses kernel 6.x and there the rust loop feature in sys_mout no longer compiles. As it's a code path we never use, the disabling of the feature only has positive effects, less dependencies, smaller binary size, compiles on kernel 6.x based distros