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

powerman.sevice refers to deprecated, now-useless syslog.target #203

Closed
hosiet opened this issue Sep 12, 2024 · 0 comments · Fixed by #209
Closed

powerman.sevice refers to deprecated, now-useless syslog.target #203

hosiet opened this issue Sep 12, 2024 · 0 comments · Fixed by #209

Comments

@hosiet
Copy link
Contributor

hosiet commented Sep 12, 2024

Description=PowerMan
After=syslog.target network.target

syslog.target, which was removed in systemd v198 [1]. It should be safe to remove this as systemd will ensure logging is available before a service is started [2]. Future modules referencing syslog.target should be avoided.

Similar issue: NixOS/nixpkgs#149721

-> % lintian-explain-tags systemd-service-file-refers-to-obsolete-target
N:
W: systemd-service-file-refers-to-obsolete-target
N:
N:   The systemd service file refers to an obsolete target.
N:
N:   Some targets are obsolete by now, e.g. syslog.target or dbus.target. For example, declaring After=syslog.target is
N:   unnecessary by now because syslog is socket-activated and will therefore be started when needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant