r/voidlinux • • 1d ago

Void EACv2

Been using Void now for almost 2 years - very happy about the whole experience. Using KDE, Nvidia GPU and gaming alot for the whole period (Steam+Faugus). Updates with xbps monthly have been smooth without needing to fix anything manually.

But now Epic has released a new version of EAC that supports linux. I do miss playing PUBG (I know this isnt supported, yet) with friends and Fortnite (already working) with my kids since when I used Windows. I see some people have gotten it working on Gentoo even.

Any hope of getting EAC support to Void? I really dont want to customize too much myself as I enjoy the problem free update experience and day to day stability. Or would I be better off switching to CachyOS that fully supports it?

28 Upvotes

30 comments sorted by

View all comments

Show parent comment

2

u/Better-Efficiency149 3h ago

I tried already. It didn’t work. The kernel doesn’t recognize it when the two parameters are enabled like signed modules only and lockdown mode. In kernels options are not enabled to sign them with kernel’s own keys after installed, because the option is not enabled in default Void kernels. We could try if enabled. I wonder if there is a reason why it is not enabled in kernels while building which is just a one click for example. Thank you!

2

u/Duncaen 3h ago

I wonder if there is a reason why it is not enabled in kernels while building which is just a one click for example.

It's a different project with a different release schedule and we have like 6 kernels at a time that all would need to be rebuild with nvidia releases. Or we would have to switch to static signing keys instead of using throw away keys to build the module separately from the kernel somehow.

dkms has always been used because of the license and is kind of convenient in this regard.

1

u/Better-Efficiency149 2h ago

I understand that! But it is not only about the nvidia. User could have own modules and if he/she enables signed modules only in default kernel cams lines then lockdown mode , his/ hers modules won’t be loaded by kernel. The nvidia example is in my case and some other user might need own modules signed for example. There is no need to release different kernel versions for specially for nvidia, because the option needs to be enabled while building the kernel and it won’t cause anything. The lockdown mode is an important feature as we know. Thank you! Best regards,

2

u/Duncaen 2h ago

With how the IMA kernel option works it can't currently be enabled, which would be required to trust MOK keys. Enabling it would make the signing rules more strict and that can't be disabled or changed at runtime, every user would have to sign their DKMS modules and enroll their keys. While at the moment lockdown is opt in.

1

u/Better-Efficiency149 2h ago

Well, in this case we won’t benefit from the kernel of lockdown and integrity features. But I still believe that enabling the option in kernel while building it would be useful who cares about the security. and wants to sign the modules with kernel’s own key after installed. The CIA triad is trade off at the moment. Thank you! Best regards,

1

u/Duncaen 2h ago

But I still believe that enabling the option in kernel while building it would be useful who cares about the security.

If you tell me which option I could look into it, but as of now as far as I know its not possible without breaking setups.

1

u/Better-Efficiency149 1h ago

Sure, in kernel configuration currently (#CONFIG_SECONDARY_TRUSTED_KEYRING is not set). After setting it (CONFIG_SECONDARY_TRUSTED_KEYRING=y) and also required to set just below (CONFIG_SYSTEM_TRUSTED_KEYS=/certs/db.pem). These two settings will allow user to sign the needed modules with the kernel”s key. Then we can add two parameters to the default kernel command line (lockdown=integrity module.sig_enforce=1). Thank you! Best regards,

1

u/Duncaen 1h ago

How does that work if the users don't have any keys that are in the db.pem? This looks like its just CONFIG_MODULE_SIG_KEY but for multiple keys.

config SYSTEM_TRUSTED_KEYS
    string "Additional X.509 keys for default system keyring"
    depends on SYSTEM_TRUSTED_KEYRING
	help
	  If set, this option should be the filename of a PEM-formatted file
	  containing trusted X.509 certificates to be included in the default
	  system keyring. Any certificate used for module signing is implicitly
	  also trusted.
    NOTE: If you previously provided keys for the system keyring in the
	  form of DER-encoded *.x509 files in the top-level build directory,
	  those are no longer used. You will need to set this option instead.
config SECONDARY_TRUSTED_KEYRING
bool "Provide a keyring to which extra trustable keys may be added"
depends on SYSTEM_TRUSTED_KEYRING
help
  If set, provide a keyring to which extra keys may be added, provided
  those keys are not blacklisted and are vouched for by a key built
  into the kernel, machine keyring (if configured), or already in the
  secondary trusted keyring.

1

u/Better-Efficiency149 1h ago

Well, user needs to sign the module desired first. If not sign and enabled these two parameters (lockdown=integrity module.sig_enforce=1)in in default kernel cmd line, then module won't be loaded Nvidia for example. That's the whole idea the kernel rejects any module if not signed. (Built in modules will be loaded normally) This is only required for user to sign modules , in my case Nvidia for example. Thank you! Best regards,