bugJailkit - Bugs: bug #23079, jailkit overwrites existing config...

 
 

bug #23079: jailkit overwrites existing config files (fix included)

Submitted by:  DOrdal <dordal>
Submitted on:  Sun 27 Apr 2008 07:42:37 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 01 May 2008 04:17:52 PM UTC, comment #1:

thanks, comitted to cvs

Olivier Sessink <oli4>
Project Administrator
Sun 27 Apr 2008 07:42:37 PM UTC, original submission:

In Makefile.in:
iniprefix = ${sysconfdir}/jailkit
should be
iniprefix = ${sysconfdir}/jailkit/

Without the extra slash, it causes this test:
if [ -f ${iniprefix}$${file} ]; then
to look for
/etc/jailkitFILE.ini
rather than
/etc/jailkit/FILE.ini

That test fails, so it overwrites the existing configuration files whenever you do 'make install'

DOrdal <dordal>

 

(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)
  • -unavailable- added by dordal (Submitted the item)
  •  

    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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 01 May 2008 04:17:52 PM UTColi4StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1