From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10 Description of problem: In xinitrc-4.0.4-1 are references to the file /etc/X11/XF86Config which should be /etc/X11/xorg.conf. Especially the files Xsession and xinitrc are affected. Version-Release number of selected component (if applicable): xinitrc-4.0.4-1 How reproducible: Always Steps to Reproduce: 1. search for "/etc/X11/XF86Config" in the sources of xinitrc
Thanks for the report. Hmm, indeed that is some ugly code in there. It should never be parsing config files directly, as there is no way to know exactly which config file is used. The X server can use config files from other locations, etc. I think the existing code in Xsession et al. is very very ancient and stale, probably from the Red Hat Linux 4.x or 5.x days, and we can probably just remove that code block entirely. Need to investigate it a bit more first.
Ok, the code that parsed the config files indeed was for Xsun X servers in XFree86 3.3.6 for sparc platform back in the RHL 5.x or 6.x days. I found some ancient bug reports to that effect. I've removed all of the hacks, as it is not necessary nowadays since we don't support sparc nor 3.3.6 X servers any longer. There's sure a lot of code duplication between the Xsession and xinitrc files I notice. I think I'll try to remove code duplication into a 'common' script. Thanks again for reporting. Updated xinitrc will be in rawhide soon. Setting status to "RAWHIDE" xinitrc 4.0.5-1