bugJailkit - Bugs: bug #19370, jailkit stderror messages

 
 

bug #19370: jailkit stderror messages

Submitted by:  None
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.5