xbase-clients: [startx] uses non-POSIX statements (/bin/bash)

Bug #27879 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
xorg (Debian)
Fix Released
Unknown
xorg (Ubuntu)
Fix Released
High
Daniel Stone

Bug Description

Automatically imported from Debian bug report #345671 http://bugs.debian.org/345671

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #345671 http://bugs.debian.org/345671

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.2 KiB)

Message-ID: <20060102175507.6619.55596.reportbug@cante>
Date: Mon, 02 Jan 2006 19:55:07 +0200
From: Jari Aalto <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: xbase-clients: [startx] uses non-POSIX statements (/bin/bash)

Package: xbase-clients
Version: 6.9.0.dfsg.1-1
Severity: serious

The new /usr/X11R6/bin/startx script contains statement that is
is not /bin/sh compatible. I use /bin/sh => /bin/dash and the
script fails to start.

The offending line is:

   147 add $displayname . $mcookie
   148 EOF
   149 removelist="$displayname $removelist"
   150 else
>> 151 dummy=$((dummy+1));
   152 /usr/X11R6/bin/xauth -q -f $xserverauthfile << EOF
   153 add :$dummy . $authcookie
   154 EOF
   155 fi
   156 done

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages xbase-clients depends on:
ii cpp 4:4.0.2-2 The GNU C preprocessor (cpp)
ii libc6 2.3.5-9 GNU C Library: Shared libraries an
ii libdmx1 6.9.0.dfsg.1-1 Distributed Multihead X client lib
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii libfontconfig1 2.3.2-1.1 generic font configuration library
ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib
ii libfs6 6.9.0.dfsg.1-1 X Font Server library
ii libglu1-xorg [libglu1] 6.9.0.dfsg.1-1 Mesa OpenGL utility library [X.Org
ii libice6 6.9.0.dfsg.1-1 Inter-Client Exchange library
ii libncurses5 5.5-1 Shared libraries for terminal hand
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libsm6 6.9.0.dfsg.1-1 X Window System Session Management
ii libxau6 6.9.0.dfsg.1-1 X Authentication library
ii libxaw8 6.9.0.dfsg.1-1 X Athena widget set library
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.9.0.dfsg.1-1 X Window System miscellaneous exte
ii libxfixes3 6.9.0.dfsg.1-1 X Window System miscellaneous 'fix
ii libxft2 2.1.7-1 FreeType-based font drawing librar
ii libxi6 6.9.0.dfsg.1-1 X Window System Input extension li
ii libxinerama1 6.9.0.dfsg.1-1 X Window System multi-head display
ii libxkbfile1 6.9.0.dfsg.1-1 X Keyboard Extension file parsing
ii libxkbui1 6.9.0.dfsg.1-1 X Keyboard Extension user interfac
ii libxmu6 6.9.0.dfsg.1-1 X Window System miscellaneous util
ii libxmuu1 6.9.0.dfsg.1-1 lightweight X Window System miscel
ii libxp6 6.9.0.dfsg.1-1 X Window System printing extension
ii libxpm4 6.9.0.dfsg.1-1 X pixmap library
ii libxrandr2 6.9.0.dfsg.1-1 X Window System Resize, Rot...

Read more...

Revision history for this message
In , Adam D. Barratt (debian-bts-adam-barratt) wrote : Re: Bug#345671: xbase-clients: [startx] uses non-POSIX statements (/bin/bash)

package xbase-clients
severity 345671 normal
merge 345671 345446
thanks

On Mon, 2006-01-02 at 19:55 +0200, Jari Aalto wrote:
> Package: xbase-clients
> Version: 6.9.0.dfsg.1-1
> Severity: serious
>
> The new /usr/X11R6/bin/startx script contains statement that is
> is not /bin/sh compatible. I use /bin/sh => /bin/dash and the
> script fails to start.

The only problem with the line is the fact that a $ was missed out
accidentally; this has already been reported as 345446 a few days ago,
and is already fixed in SVN.

$(()) for shell arithmetic is perfectly POSIX complaint.

Regards,

Adam

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 02 Jan 2006 20:38:14 +0000
From: "Adam D. Barratt" <email address hidden>
To: <email address hidden>, Jari Aalto <email address hidden>
Subject: Re: Bug#345671: xbase-clients: [startx] uses non-POSIX statements
 (/bin/bash)

package xbase-clients
severity 345671 normal
merge 345671 345446
thanks

On Mon, 2006-01-02 at 19:55 +0200, Jari Aalto wrote:
> Package: xbase-clients
> Version: 6.9.0.dfsg.1-1
> Severity: serious
>
> The new /usr/X11R6/bin/startx script contains statement that is
> is not /bin/sh compatible. I use /bin/sh => /bin/dash and the
> script fails to start.

The only problem with the line is the fact that a $ was missed out
accidentally; this has already been reported as 345446 a few days ago,
and is already fixed in SVN.

$(()) for shell arithmetic is perfectly POSIX complaint.

Regards,

Adam

Revision history for this message
In , Adam D. Barratt (debian-bts-adam-barratt) wrote : setting package to xbase-clients, retitle 345671 to startx: missing a $ in variable name $dummy

# Automatically generated email from bts, devscripts version 2.9.10
package xbase-clients
retitle 345671 startx: missing a $ in variable name $dummy

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 2 Jan 2006 22:35:30 +0000
From: Adam D. Barratt <email address hidden>
To: <email address hidden>
Subject: setting package to xbase-clients,
 retitle 345671 to startx: missing a $ in variable name $dummy

# Automatically generated email from bts, devscripts version 2.9.10
package xbase-clients
retitle 345671 startx: missing a $ in variable name $dummy

Revision history for this message
In , David Nusinow (david-nusinow-verizon) wrote : Tag Pending Bugs

tags 345328 +pending
tags 343693 +pending
tags 343822 +pending
tags 345285 +pending
tags 345406 +pending
tags 345446 +pending
tags 345387 +pending
tags 343728 +pending
tags 345893 +pending
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-id: <20060104222931.GF12894@localdomain>
Date: Wed, 04 Jan 2006 17:29:31 -0500
From: David Nusinow <email address hidden>
To: <email address hidden>
Subject: Tag Pending Bugs

tags 345328 +pending
tags 343693 +pending
tags 343822 +pending
tags 345285 +pending
tags 345406 +pending
tags 345446 +pending
tags 345387 +pending
tags 343728 +pending
tags 345893 +pending
thanks

Revision history for this message
In , David Nusinow (dnusinow) wrote : Bug#345446: fixed in xorg-x11 6.9.0.dfsg.1-2
Download full text (43.3 KiB)

Source: xorg-x11
Source-Version: 6.9.0.dfsg.1-2

We believe that the bug you reported is fixed in the latest version of
xorg-x11, which is due to be installed in the Debian FTP archive:

lbxproxy_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/lbxproxy_6.9.0.dfsg.1-2_i386.deb
libdmx-dev_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libdmx-dev_6.9.0.dfsg.1-2_i386.deb
libdmx1-dbg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libdmx1-dbg_6.9.0.dfsg.1-2_i386.deb
libdmx1_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libdmx1_6.9.0.dfsg.1-2_i386.deb
libfs-dev_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libfs-dev_6.9.0.dfsg.1-2_i386.deb
libfs6-dbg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libfs6-dbg_6.9.0.dfsg.1-2_i386.deb
libfs6_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libfs6_6.9.0.dfsg.1-2_i386.deb
libglu1-xorg-dbg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libglu1-xorg-dbg_6.9.0.dfsg.1-2_i386.deb
libglu1-xorg-dev_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libglu1-xorg-dev_6.9.0.dfsg.1-2_i386.deb
libglu1-xorg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libglu1-xorg_6.9.0.dfsg.1-2_i386.deb
libice-dev_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libice-dev_6.9.0.dfsg.1-2_i386.deb
libice6-dbg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libice6-dbg_6.9.0.dfsg.1-2_i386.deb
libice6_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libice6_6.9.0.dfsg.1-2_i386.deb
libsm-dev_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libsm-dev_6.9.0.dfsg.1-2_i386.deb
libsm6-dbg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libsm6-dbg_6.9.0.dfsg.1-2_i386.deb
libsm6_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libsm6_6.9.0.dfsg.1-2_i386.deb
libx11-6-dbg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libx11-6-dbg_6.9.0.dfsg.1-2_i386.deb
libx11-6_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libx11-6_6.9.0.dfsg.1-2_i386.deb
libx11-dev_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libx11-dev_6.9.0.dfsg.1-2_i386.deb
libxau-dev_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxau-dev_6.9.0.dfsg.1-2_i386.deb
libxau6-dbg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxau6-dbg_6.9.0.dfsg.1-2_i386.deb
libxau6_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxau6_6.9.0.dfsg.1-2_i386.deb
libxaw6-dbg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxaw6-dbg_6.9.0.dfsg.1-2_i386.deb
libxaw6-dev_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxaw6-dev_6.9.0.dfsg.1-2_i386.deb
libxaw6_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxaw6_6.9.0.dfsg.1-2_i386.deb
libxaw7-dbg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxaw7-dbg_6.9.0.dfsg.1-2_i386.deb
libxaw7-dev_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxaw7-dev_6.9.0.dfsg.1-2_i386.deb
libxaw7_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxaw7_6.9.0.dfsg.1-2_i386.deb
libxaw8-dbg_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxaw8-dbg_6.9.0.dfsg.1-2_i386.deb
libxaw8-dev_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxaw8-dev_6.9.0.dfsg.1-2_i386.deb
libxaw8_6.9.0.dfsg.1-2_i386.deb
  to pool/main/x/xorg-x11/libxaw8_6.9.0.dfsg.1-2_i386.deb
libxcomposite-dev_6.9.0.dfsg.1-2_i386.deb
  to pool...

Revision history for this message
Daniel Stone (daniels) wrote :

fixed in dappah

Revision history for this message
In , Zane Isaev (zane-isaev) wrote : rtialq gkns ross

If you want to start the same way every time, disable the start-up dialog and select how to start up here.

AN ALLE FINANZINVESTOREN!
DIESE AKTIE WIRD DURCHSTARTEN!
FREITAG 20. APRIL STARTET DIE HAUSSE!
REALISIERTER KURSGEWINN VON 400%+ IN 5 TAGEN!

Symbol: G7Q.F
Company: COUNTY LINE ENERGY
5 Tages Kursziel: 0.95
Schlusskurs: 0.21
WKN: A0J3B0
ISIN: US2224791077
Markt: Frankfurt

LASSEN SIE SICH DIESE CHANCE NICHT ENTGEHEN!
G7Q WIRD WIE EINE RAKETE DURCHSTARTEN!
UNSERE ERWARTUNGEN WIRD G7Q.F UBERTREFFEN!

If you download this file, try downloading the file again.

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.