xorg-common_xresources tries to run run_parts - easy fix suggested

Bug #296884 reported by janl
2
Affects Status Importance Assigned to Milestone
xinit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xinit

Hi,

8.04.1 i686 system. In .xsession-errors I find:

/etc/X11/Xsession.d/30xorg-common_xresources: line 13: run_parts: command not found

And sure enough:

  if [ -d "$SYSRESOURCES" ]; then
    RESOURCEFILES=$(run_parts $SYSRESOURCES)
    if [ -n "$RESOURCEFILES" ]; then
      for RESOURCEFILE in $RESOURCEFILES; do
        xrdb ${XRDBOPTS} -merge $RESOURCEFILE
      done
    fi
  fi

I'm fairly sure that should read $(run-parts --list $SYSRESOURCES) to get it to actually work.
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller [8086:2590] (rev 03)
     Subsystem: Fujitsu Limited. Unknown device [10cf:12d7]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 03) (prog-if 00 [VGA controller])
     Subsystem: Fujitsu Limited. Unknown device [10cf:12de]

Tags: easy
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

Hi janl-langfeldt,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

Changed in xinit:
status: New → Incomplete
Revision history for this message
janl (janl) wrote :

So for a script issue you want hardware information? OK, attaching.

Revision history for this message
janl (janl) wrote :
Revision history for this message
janl (janl) wrote :
Revision history for this message
janl (janl) wrote :

The relevant error message is at line two of this .xsession-errors file.

Bryce Harrington (bryce)
description: updated
Revision history for this message
janl (janl) wrote :

Hi

This ticket is complete. Please read the initial text carefully. What I point out is a typo in the script, e.g. run_parts should be run-parts. this is not a hardware issue, or anything, it's a script typo.

Nicolai

Bryce Harrington (bryce)
Changed in xinit (Ubuntu):
status: Incomplete → Confirmed
tags: added: easy
Revision history for this message
janl (janl) wrote :

It's fixed in 9.04

Changed in xinit (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.