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

"systemctl -q is-enabled $service" prints misc. info messages on stderr despite the -q flag for legacy services #6196

Closed
KimBrodowski opened this issue Jun 26, 2017 · 7 comments
Milestone

Comments

@KimBrodowski
Copy link

Submission type

  • Bug report

systemd version the issue has been seen with

233

Used distribution

Debian

In case of bug report: Expected behaviour you didn't see

With the "-q" flag set I would not expect any output apart from actual error messages.

In case of bug report: Unexpected behaviour you saw

The following line was printed: Executing: /lib/systemd/systemd-sysv-install is-enabled $service

In case of bug report: Steps to reproduce the problem

  1. Install squid/squid3
  2. Run systemctl -q is-enabled squid
  3. Take a look at the explanation given if you run it without the "-q" flag. systemctl is-enabled squid squid.service is not a native service, redirecting to systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install is-enabled squid enabled
@evverx
Copy link
Member

evverx commented Jun 26, 2017

The issue seems to have been fixed by 689e4e6. Could you check again that v233 is really being used?

@evverx evverx added needs-reporter-feedback ❓ There's an unanswered question, the reporter needs to answer systemctl labels Jun 26, 2017
@KimBrodowski
Copy link
Author

That's what I was being told on #debian. I don't have a version that recent running myself.

@KimBrodowski
Copy link
Author

Also this is only about the line Executing: /lib/systemd/systemd-sysv-install is-enabled squid enabled which does not appear to be affected by the commit.

@evverx
Copy link
Member

evverx commented Jun 26, 2017

689e4e6 partially fixes -q is-enabled. systemctl still prints Executing: ...

log_info("Executing: %s", l);

@evverx evverx removed the needs-reporter-feedback ❓ There's an unanswered question, the reporter needs to answer label Jun 26, 2017
@poettering poettering added this to the v234 milestone Jun 26, 2017
@mbiebl
Copy link
Contributor

mbiebl commented Jun 26, 2017

fwiw, there is this old bug report for mine #3813

@mbiebl
Copy link
Contributor

mbiebl commented Jun 26, 2017

I guess the fix for #3813 was incomplete and the !arg_quiet condition should also be applied to the Executing... log line

@poettering
Copy link
Member

Fix waiting in #6199.

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

No branches or pull requests

4 participants