xrdb gone bad. xorg-x11-server-utils-7.1-5.el5_6.1 broken?
Several users started complaining today about various X apps, such as xterm and emacs, that no longer look the way they want. It looks like the resources they set in their .Xresources files are no longer set. In ~/.xsession-errors I find the following: sh: -c: line 0: unexpected EOF while looking for matching `"' sh: -c: line 1: syntax error: unexpected end of file sh: -c: line 0: unexpected EOF while looking for matching `"' sh: -c: line 1: syntax error: unexpected end of file The following is suspicious: % xrdb -merge .Xresources sh: -c: line 0: unexpected EOF while looking for matching `"' sh: -c: line 1: syntax error: unexpected end of file Note that the .Xresources file is fine and hasn't been changed in 3 years. Then there is this: % ls -l /usr/bin/xrdb -rwxr-xr-x 1 root root 25064 Apr 12 06:40 /usr/bin/xrdb* % rpm -q --whatprovides /usr/bin/xrdb xorg-x11-server-utils-7.1-5.el5_6.1.x86_64 I think this package is broken.
Re: xrdb gone bad. xorg-x11-server-utils-7.1-5.el5_6.1 broken?
David M. Cooke writes: > Several users started complaining today about various X apps, such > as xterm and emacs, that no longer look the way they want. It looks > like the resources they set in their .Xresources files are no longer > set. Same in EL6. The changelog for this package says: * Wed Mar 16 2011 Adam Jackson 7.4-15.el6_0.1 - cve-2011-0465: Sanitize cpp macro expansion. (CVE 2011-0465) which sounds like something that could indeed break .Xresources parsing. Although in my case, not only old-style X apps lost their fonts marbles, but so did the KDE programs, menus, etc -- which I didn't think used the old-style X fonts at all. After wasting 15 minutes resetting fonts in many different places, X is usable again. I'm sure Murphy's Law says that this bug will be fixed tomorrow and we'll all have to re-reset things :) -- Alec Habig, University of Minnesota Duluth Physics Dept. ha...@neutrino.d.umn.edu http://neutrino.d.umn.edu/~habig/
Re: xrdb gone bad. xorg-x11-server-utils-7.1-5.el5_6.1 broken?
On Wed, Apr 13, 2011 at 7:47 AM, Alec T. Habig wrote: > David M. Cooke writes: >> Several users started complaining today about various X apps, such >> as xterm and emacs, that no longer look the way they want. It looks >> like the resources they set in their .Xresources files are no longer >> set. > > Same in EL6. The changelog for this package says: > > * Wed Mar 16 2011 Adam Jackson 7.4-15.el6_0.1 > - cve-2011-0465: Sanitize cpp macro expansion. (CVE 2011-0465) > > which sounds like something that could indeed break .Xresources parsing. > Although in my case, not only old-style X apps lost their fonts marbles, > but so did the KDE programs, menus, etc -- which I didn't think used the > old-style X fonts at all. > > After wasting 15 minutes resetting fonts in many different places, X is > usable again. I'm sure Murphy's Law says that this bug will be fixed > tomorrow and we'll all have to re-reset things :) Looks like this bug: https://bugzilla.redhat.com/show_bug.cgi?id=695603 Akemi
Re: xrdb gone bad. xorg-x11-server-utils-7.1-5.el5_6.1 broken?
On 13/04/11 15:47, Alec T. Habig wrote: David M. Cooke writes: Several users started complaining today about various X apps, such as xterm and emacs, that no longer look the way they want. It looks like the resources they set in their .Xresources files are no longer set. Same in EL6. The changelog for this package says: * Wed Mar 16 2011 Adam Jackson 7.4-15.el6_0.1 - cve-2011-0465: Sanitize cpp macro expansion. (CVE 2011-0465) which sounds like something that could indeed break .Xresources parsing. Although in my case, not only old-style X apps lost their fonts marbles, but so did the KDE programs, menus, etc -- which I didn't think used the old-style X fonts at all. After wasting 15 minutes resetting fonts in many different places, X is usable again. I'm sure Murphy's Law says that this bug will be fixed tomorrow and we'll all have to re-reset things :) Thanks for your posts David and Alec. I thought I was losing my marbles when all my fonts went screwy on EL5/KDE so good to know the root cause.
Re: xrdb gone bad. xorg-x11-server-utils-7.1-5.el5_6.1 broken?
Phil Perry wrote: On 13/04/11 15:47, Alec T. Habig wrote: David M. Cooke writes: Several users started complaining today about various X apps, such as xterm and emacs, that no longer look the way they want. It looks like the resources they set in their .Xresources files are no longer set. Same in EL6. The changelog for this package says: * Wed Mar 16 2011 Adam Jackson 7.4-15.el6_0.1 - cve-2011-0465: Sanitize cpp macro expansion. (CVE 2011-0465) which sounds like something that could indeed break .Xresources parsing. Although in my case, not only old-style X apps lost their fonts marbles, but so did the KDE programs, menus, etc -- which I didn't think used the old-style X fonts at all. After wasting 15 minutes resetting fonts in many different places, X is usable again. I'm sure Murphy's Law says that this bug will be fixed tomorrow and we'll all have to re-reset things :) Thanks for your posts David and Alec. I thought I was losing my marbles when all my fonts went screwy on EL5/KDE so good to know the root cause. One of the posters in the bugzilla entry noted the -nocpp option on xrdb. The following works great: $ xrdb -nocpp -merge .Xresources I've added it to my session startup commands and helped some users do the same.
Re: xrdb gone bad. xorg-x11-server-utils-7.1-5.el5_6.1 broken?
On Thu, Apr 14, 2011 at 3:49 PM, David M. Cooke wrote: > Phil Perry wrote: > >> On 13/04/11 15:47, Alec T. Habig wrote: >> >> >>> David M. Cooke writes: >>> >>> Several users started complaining today about various X apps, such as xterm and emacs, that no longer look the way they want. It looks like the resources they set in their .Xresources files are no longer set. >>> Same in EL6. The changelog for this package says: >>> >>> * Wed Mar 16 2011 Adam Jackson 7.4-15.el6_0.1 >>> - cve-2011-0465: Sanitize cpp macro expansion. (CVE 2011-0465) >>> >>> which sounds like something that could indeed break .Xresources parsing. >>> Although in my case, not only old-style X apps lost their fonts marbles, >>> but so did the KDE programs, menus, etc -- which I didn't think used the >>> old-style X fonts at all. >>> >>> After wasting 15 minutes resetting fonts in many different places, X is >>> usable again. I'm sure Murphy's Law says that this bug will be fixed >>> tomorrow and we'll all have to re-reset things :) >>> >>> >>> >> >> Thanks for your posts David and Alec. I thought I was losing my marbles >> when all my fonts went screwy on EL5/KDE so good to know the root cause. >> >> >> > > One of the posters in the bugzilla entry noted the -nocpp option on xrdb. > The following works great: > > $ xrdb -nocpp -merge .Xresources > > > I've added it to my session startup commands and helped some users do the > same. > As you will have seen, the issue has been resolved with xorg-x11-server-utils-7.1-5.el5_6.2 http://rhn.redhat.com/errata/RHBA-2011-0454.html gregory