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

Unequal framing of text in important authentication dialog #1455

Closed
enkore opened this issue Oct 4, 2015 · 2 comments
Closed

Unequal framing of text in important authentication dialog #1455

enkore opened this issue Oct 4, 2015 · 2 comments

Comments

@enkore
Copy link

enkore commented Oct 4, 2015

When systemctl prompts for authentication (this happens for example if one wants to suspend a machine remotely with active sessions) the following text shows up:

$ systemctl suspend
==== AUTHENTICATING FOR org.freedesktop.login1.suspend ===
Authentication is required for suspending the system.
Authenticating as: <redacted>
Password:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===

Note that on the left side there are four equal signs (====), but on the right only three (===) are printed. I can't seem to find where this output is actually generated (and ==== etc. is not part of the source code, it is only mentioned in the man pages), so I can't prepare a patch for this formatting anomaly.

@poettering
Copy link
Member

That's implemented in PolicyKit's pkttyagent tool, and not in systemd.

@enkore
Copy link
Author

enkore commented Oct 4, 2015

Fixed in polkit ( https://bugs.freedesktop.org/show_bug.cgi?id=92276 )

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

No branches or pull requests

2 participants