On Friday 14 July 2006 10:50, Julien Danjou wrote:
> On Fri, Jul 14, 2006 at 10:07:44AM +0200, Bas Wijnen wrote:
> > Any pointers of where to fix this (or ways to reproduce it) would be
> > welcome.
>
> You can reproduce it by linking /bin/sh to dash.
> However I did not look where is the code in fault of this error.

I tried to reproduce this, but could not.

First I make sure bash cannot be used by non-root users:
$ ls -ld /bin/sh
lrwxrwxrwx 1 root root 4 Jul 14 13:04 /bin/sh -> dash
$ chmod go-rx /bin/bash
$ ls -ld /bash
-rwx------ 1 root root 672140 May  6 00:47 bash

I've checked out the the Subversion repository of Pioneers.
As a non-root user:
$ dash
$ CONFIG_SHELL=/bin/dash ./autogen.sh
$ make

All works as it should.

I get no warnings or error related to the shell.

Also, in the shell scripts for building Pioneers the command 'shift' is not 
used. I would expect some of the tools for creating the ./configure script to 
generate this.

Some info about the configuration used:
$ uname -a
Linux slug 2.6.16 #1 PREEMPT Wed May 3 11:50:43 CEST 2006 armv5tel GNU/Linux

Some (relevant) fragments of dpkg-query -l:

ii  autoconf               2.60-1               automatic configure script 
builder
ii  automake1.7            1.7.9-9              A tool for generating GNU 
Standards-complian
ii  autotools-dev          20060223.1           Update infrastructure for 
config.{guess,sub}
ii  bash                   3.1-4                The GNU Bourne Again SHell
ii  binutils               2.17-1               The GNU assembler, linker and 
binary utiliti
ii  cpp                    4.1.1-1              The GNU C preprocessor (cpp)
ii  cpp-4.1                4.1.1-8              The GNU C preprocessor
ii  dash                   0.5.3-3              The Debian Almquist Shell
ii  gcc                    4.1.1-1              The GNU C compiler
ii  gcc-4.1                4.1.1-8              The GNU C compiler
ii  gcc-4.1-base           4.1.1-8              The GNU Compiler Collection 
(base package)
ii  gettext                0.14.6-1             GNU Internationalization 
utilities
ii  gettext-base           0.14.6-1             GNU Internationalization 
utilities for the b
ii  intltool               0.35.0-2             Utility scripts for 
internationalizing XML
ii  libc6                  2.3.6-15             GNU C Library: Shared 
libraries
ii  libc6-dev              2.3.6-15             GNU C Library: Development 
Libraries and Hea
ii  libgcc1                4.1.1-8              GCC support library
ii  libglib2.0-0           2.10.3-3             The GLib library of C routines
ii  libglib2.0-dev         2.10.3-3             Development files for the GLib 
library
ii  libtool                1.5.22-4             Generic library support script
ii  m4                     1.4.4-1              a macro processing language
ii  make                   3.81-2               The GNU version of the "make" 
utility.
ii  mawk                   1.3.3-11             a pattern scanning and text 
processing langu
ii  pkg-config             0.20-1               manage compile and link flags 
fo

Regards,
Roland Clobus
Developer for Pioneers

Attachment: pgp5w8Ro6ghd4.pgp
Description: PGP signature

Reply via email to