Hello Team,

While working with mount.c , I observed that environment variables(say for 
instance SYSTEMD_DEFAULT_MOUNT_RATE_LIMIT_BURST) defined through the usual 
systemd mechanisms (Environment=, EnvironmentFile=, drop-ins, etc.) are not 
accessible at this early stage of execution. The only working approach I’ve 
found so far is to pass them via kernel boot arguments, which can then be 
picked up reliably.

I wanted to check whether this is indeed the expected limitation, or if there 
are alternative mechanisms within systemd to enable environment variables 
during such an early phase without relying on kernel boot arguments.
Could you please advise if we are on the right track, or suggest other 
approaches that might be viable?

Thank you for your guidance.

Best regards,
Suresh H A

Reply via email to