https://bugzilla.redhat.com/show_bug.cgi?id=1711646
Bug ID: 1711646 Summary: Scriptlet error when updating through SSH Product: Fedora Version: 30 Status: NEW Component: ibus Assignee: tfujiwar@redhat.com Reporter: dreua@posteo.de QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, shawn.p.huang@gmail.com, tfujiwar@redhat.com Target Milestone: --- Classification: Fedora
Description of problem: When I update or reinstall ibus-1.5.20-4.fc30 over SSH, dnf outputs the error "X11 connection rejected because of wrong authentication.".
This is caused by https://src.fedoraproject.org/rpms/ibus/blob/master/f/ibus.spec#_338 running `sudo ibus write-cache --system` results in the same error when called over SSH.
Version-Release number of selected component (if applicable): ibus-1.5.20-4.fc30
How reproducible: Always over SSH, never when using the terminal directly on the machine.
Steps to Reproduce: 1. Reinstall or update to ibus-1.5.20-4.fc30
Actual results: Running scriptlet: ibus-1.5.20-4.fc30.x86_64 X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. Verifying : ibus-1.5.20-4.fc30.x86_64
Expected results: Running scriptlet: ibus-1.5.20-4.fc30.x86_64 Verifying : ibus-1.5.20-4.fc30.x86_64
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(dreua@posteo.de)
--- Comment #1 from fujiwara tfujiwar@redhat.com ---
running `sudo ibus write-cache --system` results in the same error when called over SSH.
I cannot reproduce your problem. The `ibus write-cache` does not use the X11 connection. Probably I guess one of your IBus engines could use the X11 connection but not ibus core.
You can move all xml files in /usr/share/ibus/component/ and run the command again so that you check which xml file effects your problem.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
David Auer dreua@posteo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anish.developer@gmail.com, | |mfabian@redhat.com Component|ibus |ibus-typing-booster Flags|needinfo?(dreua@posteo.de) |
--- Comment #2 from David Auer dreua@posteo.de --- It's caused by ibus-typing-booster-2.6.1-1. Changing the component accordingly. Thanks for your help, fujiwara!
The problem also occurs on (re)installing ibus-typing booster as it has the same scriptlets.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|tfujiwar@redhat.com |mfabian@redhat.com
--- Comment #3 from fujiwara tfujiwar@redhat.com --- I think this is a bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #4 from Mike FABIAN mfabian@redhat.com --- I cannot reproduce this.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #5 from David Auer dreua@posteo.de --- I just found out that it only happens when X11 forwarding is active. (I have this as default for my own machines so I didn't realize it earlier.)
If you want to reproduce you will need:
- On your host in /etc/ssh/sshd_config: X11Forwarding yes
- Restart sshd (Untested: sudo systemctl restart sshd)
- Ssh into your machine (client and host can be the same or different machines) with the -X flag.
- sudo dnf reinstall ibus-typing-booster
I see now, that this is quite an edge-case so feel free to just close this as wontfix if you do not want to spend time on it.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #6 from fujiwara tfujiwar@redhat.com --- I can see the "Connection refused" warnings:
``` # /usr/libexec/ibus-engine-typing-booster --xml Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection refused <engines> <engine> <name>typing-booster</name> <longname>Typing Booster</longname> <language>t</language> ... </engines> ```
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #7 from Mike FABIAN mfabian@redhat.com --- (In reply to fujiwara from comment #6)
I can see the "Connection refused" warnings:
# /usr/libexec/ibus-engine-typing-booster --xml Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection refused <engines> <engine> <name>typing-booster</name> <longname>Typing Booster</longname> <language>t</language> ... </engines>
Unfortunately I cannot reproduce this.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #8 from Mike FABIAN mfabian@redhat.com --- $ env -u DISPLAY /usr/libexec/ibus-engine-typing-booster --xml Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection refused <engines> <engine> <name>typing-booster</name> <longname>Typing Booster</longname> <language>t</language> <license>GPL</license> <author>Mike FABIAN <mfabian@redhat.com>, Anish Patil <anish.developer@gmail. com></author>
<icon>/usr/share/ibus-typing-booster/icons/ibus-typing-booster.svg</icon> <layout>default</layout> <description>A completion input method to speedup typing.</description> <symbol>🚀</symbol> <setup>/usr/libexec/ibus-setup-typing-booster</setup> <icon_prop_key>InputMode</icon_prop_key> </engine> </engines>
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
Mike FABIAN mfabian@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|30 |31
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
Mike FABIAN mfabian@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|31 |33
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Fixed In Version| |ibus-typing-booster-2.11.4- | |1.fc35 Resolution|--- |ERRATA Last Closed| |2021-04-29 17:56:56
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-d0315c0d74 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|ibus-typing-booster-2.11.4- |ibus-typing-booster-2.11.4- |1.fc35 |1.fc35 | |ibus-typing-booster-2.11.4- | |1.eln110
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-23444a781e has been pushed to the Fedora ELN stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-dc40c874a1 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-dc40c874a1
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-ba329e760f has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ba329e760f
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #13 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-97349467f8 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-97349467f8
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #14 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-97349467f8 has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-97349467f8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-97349467f8
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #15 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-ba329e760f has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ba329e760f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ba329e760f
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #16 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-dc40c874a1 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-dc40c874a1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-dc40c874a1
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|ibus-typing-booster-2.11.4- |ibus-typing-booster-2.11.4- |1.fc35 |1.fc35 |ibus-typing-booster-2.11.4- |ibus-typing-booster-2.11.4- |1.eln110 |1.eln110 | |ibus-typing-booster-2.11.4- | |1.fc32
--- Comment #17 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-97349467f8 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|ibus-typing-booster-2.11.4- |ibus-typing-booster-2.11.4- |1.fc35 |1.fc35 |ibus-typing-booster-2.11.4- |ibus-typing-booster-2.11.4- |1.eln110 |1.eln110 |ibus-typing-booster-2.11.4- |ibus-typing-booster-2.11.4- |1.fc32 |1.fc32 | |ibus-typing-booster-2.11.4- | |1.fc33
--- Comment #18 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-dc40c874a1 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|ibus-typing-booster-2.11.4- |ibus-typing-booster-2.11.4- |1.fc35 |1.fc35 |ibus-typing-booster-2.11.4- |ibus-typing-booster-2.11.4- |1.eln110 |1.eln110 |ibus-typing-booster-2.11.4- |ibus-typing-booster-2.11.4- |1.fc32 |1.fc32 |ibus-typing-booster-2.11.4- |ibus-typing-booster-2.11.4- |1.fc33 |1.fc33 | |ibus-typing-booster-2.11.4- | |1.fc34
--- Comment #19 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-ba329e760f has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1711646
--- Comment #20 from David Auer dreua@posteo.de --- Thank you! No more warnings at `dnf update` :)
i18n-bugs@lists.fedoraproject.org