Mailinglist Archive: opensuse-bugs (5061 mails)
| < Previous | Next > |
[Bug 750980] New: scripts from /etc/X11/xinit/xinitrc.d/ are executed and not sourced
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 7 Mar 2012 12:46:54 +0000
- Message-id: <bug-750980-21960@http.bugzilla.novell.com/>
https://bugzilla.novell.com/show_bug.cgi?id=750980
https://bugzilla.novell.com/show_bug.cgi?id=750980#c0
Summary: scripts from /etc/X11/xinit/xinitrc.d/ are executed
and not sourced
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: All
OS/Version: openSUSE 12.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: X.Org
AssignedTo: bnc-team-xorg-bugs@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: joerg.steffens@xxxxxxxxxx
QAContact: xorg-maintainer-bugs@xxxxxxxxxxxxxxxxxxxxxx
Found By: ---
Blocker: ---
Created an attachment (id=480054)
--> (http://bugzilla.novell.com/attachment.cgi?id=480054)
source scripts from /etc/X11/xinit/xinitrc.d/
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101
Firefox/10.0.2
The xinit system is used to configure X11. For this, environment variables are
set. To make this more configurable for other RPMs, a directory
/etc/X11/xinit/xinitrc.d/ has been added in the past, to place additional
scripts in there.
However, while /etc/X11/xinit/xinitrc sources /etc/X11/xinit/xinitrc.common,
the scripts from /etc/X11/xinit/xinitrc.d/ are executed, not sourced. The
result is, that environment variables set there are not passed to the
X11-session.
An example, where this fails is the RPM libcanberra-gtk, that sets GTK_MODULES.
Reproducible: Always
Steps to Reproduce:
1.install libcanberra-gtk
2.start a X11 session
3.check if GTK_MODULES is set
Actual Results:
environment variables set in /etc/X11/xinit/xinitrc.d/ are not available in X11
Expected Results:
environment variables set in /etc/X11/xinit/xinitrc.d/ should be available in
X11
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |