Hide Forgot
Description of problem: Some warnings appear on a console when running firstboot or subscription-manager-gui. Version-Release number of selected component (if applicable): Red Hat Enterprise Linux Server release 6.8 Beta (Santiago) ---------------------------------------- server type This system is currently not registered. subscription management server 0.9.51.15-1 subscription management rules 5.15.1 subscription-manager 1.16.8-7.el6 python-rhsm 1.16.6-1.el6 ---------------------------- ---------------------------- Product 69.pem 135.pem ---------------------------- ---------------------------- Entitlement ---------------------------- ---------------------------- How reproducible: Run subscription-manager-gui or firstboot at console. The warnings appear everytime. Steps to Reproduce: I start firstboot from root console. When starting this appears: #+BEGIN_SRC [root@localhost ~]# firstboot Loading /lib/kbd/keymaps/i386/qwerty/us.map.gz Loading /lib/kbd/keymaps/i386/qwerty/us.map.gz Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xa0008d (firstboot) Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed. #+END_SRC When closing firstboot this appears: #+BEGIN_SRC /usr/lib/python2.6/site-packages/firstboot/interface.py:424: GtkWarning: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.VDPVEY': No such file or directory gtk.main() /usr/lib/python2.6/site-packages/firstboot/interface.py:424: GtkWarning: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory gtk.main() firstboot: Fatal IO error 11 (Resource temporarily unavailable) on X server :9. Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':9'. [root@localhost ~]# pkill -9 Xorg #+END_SRC Expected results: No warning, I guess. Additional info:
I am able to reproduce this (with the following output) when closing subman gui. """ /usr/sbin/subscription-manager-gui:208: GtkWarning: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.SRJ1EY': No such file or directory sys.exit(ga_Gtk.main() or 0) /usr/sbin/subscription-manager-gui:208: GtkWarning: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory sys.exit(ga_Gtk.main() or 0) """ Running firstboot from the cli, correct me if I'm wrong, but I believe it is only launched from the commandline in testing cases.
Yes, it could be due to the fact I run firstboot from console. I will try it with subscription-manager-gui. I suspect the messages appear when I run sub-man-gui too. moment.
I have reproduced the same you wrote: """ /usr/sbin/subscription-manager-gui:208: GtkWarning: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.SRJ1EY': No such file or directory sys.exit(ga_Gtk.main() or 0) /usr/sbin/subscription-manager-gui:208: GtkWarning: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory sys.exit(ga_Gtk.main() or 0) """ Nothing more. If I run sub-man-gui common way (ie using Application desptop menu) Nothing appears in any logfile.
This warning appears because a Gnome session was never started by the root user. It is what causes that file to be created. The closing of subman gui or firstboot leads to that attempted file access, but it is out of our control. At best we trap it and then report it [maybe] but it would not lead to more or better information than the current warning message.