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

Unknown lvalue warning on service start #54772

Closed
jayjupdhig opened this issue Sep 6, 2022 · 2 comments
Closed

Unknown lvalue warning on service start #54772

jayjupdhig opened this issue Sep 6, 2022 · 2 comments
Labels
area/backend needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating

Comments

@jayjupdhig
Copy link

jayjupdhig commented Sep 6, 2022

Hi there

There are some warnings on grafana service start / system boot with

Grafana Version: 9.1.3 on Raspbian 10.x (must current version via apt upgrade today)

[ 4.707209] systemd[1]: /usr/lib/systemd/system/grafana-server.service:26: Unknown lvalue 'ProtectClock' in section 'Service', ignoring [ 4.719518] systemd[1]: /usr/lib/systemd/system/grafana-server.service:29: Unknown lvalue 'ProtectHostname' in section 'Service', ignoring [ 4.732157] systemd[1]: /usr/lib/systemd/system/grafana-server.service:30: Unknown lvalue 'ProtectKernelLogs' in section 'Service', ignoring [ 4.744864] systemd[1]: /usr/lib/systemd/system/grafana-server.service:33: Unknown lvalue 'ProtectProc' in section 'Service', ignoring [ 4.757100] systemd[1]: /usr/lib/systemd/system/grafana-server.service:39: Unknown lvalue 'RestrictSUIDSGID' in section 'Service', ignoring

I was able to hide them with adding a #-character to the service unit file..

When i search for that issue, i always read: " ... it's fixed in version 8.x.y."

E.g.:

Thank you very very much for your feedbacks...

With best regards, Jan

@ivanahuckova ivanahuckova added area/backend needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating labels Sep 7, 2022
@kminehart
Copy link
Contributor

kminehart commented Sep 7, 2022

Hi Jan,

This warning typically appears on older versions of systemd. Luckily the systemd developers don't crash the application when it runs into an unrecognized config option.

I did some research and it seems that Raspbian 10 (buster), like Debian 10, is an LTS version and is end-of-life in 2024, and the current LTS version is 11. According to this page, Raspbian 10 has a systemd package 241 from February, 2019. (3 separate links)

I don't think I would suggest upgrading your distribution to resolve these warnings; who knows what else that kind of upgrade could impact. Since these options only restrict the application and don't enhance any features, I wouldn't worry too much about it.

@jayjupdhig
Copy link
Author

ok thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating
Projects
None yet
Development

No branches or pull requests

3 participants