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

Mattia Dongili malattia at linux.it
Mon Sep 18 18:24:24 UTC 2006


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!




More information about the Pkg-uml-pkgs mailing list