Bug#388061: rootstrap: print an error message if a module is not executable

2006-09-18 Thread Andreas Beckmann
Package: rootstrap
Version: 0.3.23-1
Severity: wishlist

Hi,

it would be nice if rootstrap would throw an error if a module script is
found to be not executable. The error message
  Module ... failed with status 127
is not that clear ...


Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (30, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages rootstrap depends on:
ii  debootstrap 0.3.3Bootstrap a basic Debian system
ii  dpkg1.13.21  package maintenance system for Deb
ii  python  2.4.3-11 An interactive high-level object-o
ii  user-mode-linux 2.6.17-1um-2 User-mode Linux (kernel)

Versions of packages rootstrap recommends:
ii  uml-utilities 20060323-3 User-mode Linux (utility programs)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#388061: [Pkg-uml-pkgs] Bug#388061: rootstrap: print an error message if a module is not executable

2006-09-18 Thread Mattia Dongili
On Mon, Sep 18, 2006 at 01:34:06PM +0200, Andreas Beckmann wrote:
 Package: rootstrap
 Version: 0.3.23-1
 Severity: wishlist
 
 Hi,
 
 it would be nice if rootstrap would throw an error if a module script is
 found to be not executable. The error message
   Module ... failed with status 127
 is not that clear ...

127 is the error returned by the spawnle and it is simply meaningless...

$ python
Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58) 
[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2
Type help, copyright, credits or license for more information.
 import os
 os.strerror(127)
'Unknown error 127'

I'll try to decode error messages with strerror but I'm not that
convinced we'll gain really something (AFAICT 127 is returned a bit too
often to be truthful...)

-- 
mattia
:wq!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]