Skip to content
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

Errors on unset environment variables are too agressive #425

Open
nhorman opened this issue Jul 11, 2024 · 0 comments
Open

Errors on unset environment variables are too agressive #425

nhorman opened this issue Jul 11, 2024 · 0 comments
Labels

Comments

@nhorman
Copy link

nhorman commented Jul 11, 2024

systemd version the issue has been seen with

253

Used distribution

Fedora 40

Linux kernel version used

6.9.6-200.fc40.x86_64

CPU architectures issue was seen on

x86_64

Component

systemd

Expected behaviour you didn't see

No response

Unexpected behaviour you saw

When starting a service with optional environment variables, systemd is now logging an error about this since commit f331434

Steps to reproduce the problem

  1. run irqbalance service without IRQBALANCE_ARGS set

I can understand adding an information message about an unset variable, but an error seems overly aggressive. There are many programs out there that use a default value (like irqbalance) if an environment variable is unset, and its perfectly reasonable to expect that.

Additional program output to the terminal or log subsystem illustrating the issue

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant