bugJailkit - Bugs: bug #19370, jailkit stderror messages

 
 

bug #19370: jailkit stderror messages

Submitter:  None
Submitted:  Wed 21 Mar 2007 01:21:20 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  In Progress
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 14 Nov 2007 09:09:42 PM UTC, comment #1: 

almost all error messages are now sent to stderr. keeping this bug open to remind me to keep checking them ;-)

Olivier Sessink <oli4>
Group administrator
Wed 21 Mar 2007 01:21:20 PM UTC, original submission:  

Hello Olivier,

For all jailkit versions it isn't possible to log error messages from the jailkit utilities in scripts because the utilities don't log error messages to stderror!

When always
reproducible yes
how:
---------------------------------------------------------------
root@william-laptop:/home/william# jk_cp /blah /blah 2>logfile
ERROR: /blah is not a directory

Usage: /usr/sbin/jk_cp [OPTIONS]

-h --help              : this help screen
-v, --verbose          : show what is being copied
-f, --force            : overwrite existing files
-k, --hardlink         : use hardlinks if possible



root@william-laptop:/home/william# cat logfile
root@william-laptop:/home/william#



root@william-laptop:/home/william# jk_cp /blah /blah 1>logfile
root@william-laptop:/home/william#


root@william-laptop:/home/william# cat logfile
ERROR: /blah is not a directory

Usage: /usr/sbin/jk_cp [OPTIONS]

-h --help              : this help screen
-v, --verbose          : show what is being copied
-f, --force            : overwrite existing files
-k, --hardlink         : use hardlinks if possible

---------------------------------------------------------


With kind regards,

William van de Velde
-email is unavailable-
cobradevil

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by oli4 (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-11-14 oli4 StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code