Skip to content

Commit ff466d9

Browse files
authored
Fix bug report template (canonical#935)
2 parents 2130633 + bc09661 commit ff466d9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ body:
6666
description: |
6767
Copy this command and run it in a terminal. It will open a text editor with the system information and logs. Paste the output below. Redact any sensitive information from the logs.
6868
```bash
69+
sudo -v
6970
TMPFILE=$(mktemp authd-system-info-XXXXXX.md)
7071
if command -v xdg-open > /dev/null && [ -n "${DISPLAY:-}" ]; then authd_editor=xdg-open; elif [ -n "${EDITOR:-}" ]; then authd_editor=$EDITOR; fi
7172
cat > "$TMPFILE" <<EOF && ${authd_editor:-editor} "$TMPFILE"
@@ -91,7 +92,7 @@ body:
9192
9293
#### Logs
9394
\`\`\`
94-
$(journalctl -o short-monotonic --lines 500 _SYSTEMD_UNIT=authd.service \+ UNIT=authd.service \+ \
95+
$(sudo journalctl -o short-monotonic --lines 500 _SYSTEMD_UNIT=authd.service \+ UNIT=authd.service \+ \
9596
_SYSTEMD_UNIT=snap.authd-msentraid.authd-msentraid.service \+ UNIT=snap.authd-msentraid.authd-msentraid.service \+ SYSLOG_IDENTIFIER=authd-msentraid \+ \
9697
_SYSTEMD_UNIT=snap.authd-google.authd-google.service \+ UNIT=snap.authd-google.authd-google.service \+ SYSLOG_IDENTIFIER=authd-google \+ \
9798
'_CMDLINE="gdm-session-worker [pam/gdm-authd]"' | sed -E -e 's/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/<UUID redacted>/g' \

0 commit comments

Comments
 (0)