Bug 1686008
| Summary: | "clipboard: unexpected selection type x-special/gnome-copied-files" errors in journal | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Radek Duda <rduda> |
| Component: | spice-vdagent | Assignee: | Victor Toso <victortoso> |
| Status: | CLOSED ERRATA | QA Contact: | SPICE QE bug list <spice-qe-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | rduda, spice-qe-bugs, tpelka, victortoso |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spice-vdagent-0.14.0-18.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-06 13:07:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Radek Duda
2019-03-06 14:22:21 UTC
> VSELPRINTF("unexpected selection type %s", > vdagent_x11_get_atom_name(x11, target)); The macro is defined as: > #define VSELPRINTF(format, ...) \ > do { \ > if (x11->debug) { \ > syslog(LOG_DEBUG, "%s: " format, \ > vdagent_x11_sel_to_str(selection), ##__VA_ARGS__); \ > } \ > } while (0) The x11->debug is set if you are running spice-vdagent with -d, is that correct in your environment? It is a bit too verbose indeed but it shows clipboard metadata that we are not handling from X11. I did not run spice-vdagentd with -d argument
[root@localhost sysconfig]# systemctl status spice-vdagentd
● spice-vdagentd.service - Agent daemon for Spice guests
Loaded: loaded (/usr/lib/systemd/system/spice-vdagentd.service; indirect; vendor preset: enabled)
Active: active (running) since Wed 2019-03-06 16:46:30 CET; 2s ago
Process: 4796 ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS (code=exited, status=0/SUCCESS)
Main PID: 4797 (spice-vdagentd)
Tasks: 1
CGroup: /system.slice/spice-vdagentd.service
└─4797 /usr/sbin/spice-vdagentd
(In reply to Radek Duda from comment #3) > I did not run spice-vdagentd with -d argument ... > Process: 4796 ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS (code=exited, status=0/SUCCESS) Perhaps you have SPICE_VDAGENTD_EXTRA_ARGS set to -d in /etc/sysconfig/spice-vdagentd ? If yes, I'd keep the behavior and close this bug otherwise I'll need to check how x11->debug (comment #2) is set to true without explicit debug configuration. no I did not set SPICE_VDAGENTD_EXTRA_ARGS to -d . I double-checked it before. You can try it yourself it is not so hard to reproduce. Sorry Radek, you are right. I was looking in the code upstream which this is fixed. Just for reference, this was fixed for Fedora at Bug 918310 with commit: commit d39230cee236bc6b8b150c7687d49a46f519bd2b Author: Hans de Goede <hdegoede> Date: Tue Aug 13 12:19:54 2013 +0200 vdagent-x11: Turn some error messages into debugging messages (rhbz#918310) Some bad clients, ie autocutsel, don't stick to the icccm spec, causing us to flood the logs with error messages, turn these into debug messages instead, so that they are only shown when debuggging / verbose logging is turned on. Signed-off-by: Hans de Goede <hdegoede> Moving to POST, setting devel_ack+ Radku could you please verify this bz. Thanks -Tom Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:2229 |