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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: In Progress
Privacy: PublicAssigned 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
-unavailable-
cobradevil

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 14 Nov 2007 09:09:42 PM UTColi4StatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1