Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38882 - [xorg-xinit] /etc/X11/xinit/xinitrc requires the .sh extention for xinitrc.d

Attached to Project: Arch Linux
Opened by Olivier Médoc (oliv) - Wednesday, 12 February 2014, 09:05 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 06 August 2014, 09:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The /etc/X11/xinit/xinitrc script use the following code to call xinitrc.d scripts:
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi

As a consequence all scripts that do not use the .sh extension in xinitrc.d won't start when xinit is called. For instance, 30-dbus [dbus 1.8.0-1], pulseaudio [pulseaudio 4.0-6] and 40-libcanberra-gtk-module [libcanberra 0.30-4] are affected.

Additional info:
* xorg-xinit 1.3.3-3

Steps to reproduce:
1/ Start xorg through xinit (ex: using startx)
2/ dbus-launch --sh-syntax --exit-with-session is not started even if /etc/X11/xinit/xinitrc.d/30-dbus has executable privileges
3/ Rename /etc/X11/xinit/xinitrc.d/30-dbus to /etc/X11/xinit/xinitrc.d/30-dbus.sh
4/ dbus-launch --sh-syntax --exit-with-session is started correctly.

This is just an example with dbus, bug the problem is more general. I would suggest changing the xinitrc script from:
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
to:
for f in /etc/X11/xinit/xinitrc.d/?* ; do
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 06 August 2014, 09:08 GMT
Reason for closing:  Not a bug
Comment by Daniel Micay (thestinger) - Tuesday, 05 August 2014, 00:07 GMT
All 3 of the xinitrc.d scripts in the repositories are Arch-specific while the global xinitrc comes from upstream, so this is a problem on our end. I filed new bugs against those packages:

https://bugs.archlinux.org/task/41470
https://bugs.archlinux.org/task/41471
https://bugs.archlinux.org/task/41472

Loading...