bugutil-vserver - Bugs: bug #15632, start-vservers doesn't clean...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15632: start-vservers doesn't clean temporary file

Submitted by:  Micah Anderson <hacim>
Submitted on:  Mon 06 Feb 2006 04:27:24 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Daniel Hokka Zakrisson <daniel_hozac>
Open/Closed: ClosedComponent Version: alpha
Release: 0.30.210

Sun 17 Sep 2006 10:38:26 PM UTC, comment #1:

Thanks, this should be fixed in SVN.

Daniel Hokka Zakrisson <daniel_hozac>
Project MemberIn charge of this item.
Mon 06 Feb 2006 04:27:24 AM UTC, original submission:

A user submitted this bug against the util-vserver package:

the /usr/lib/util-vserver/start-vservers doesn't clean one of its remporary files. The problem seems to be on line 119 (line 140 in version 0.30.209-2 I've also checked):

makedir=$($_MKTEMPDIR /tmp/vserver-init.XXXXXX)
okfile=$($_MKTEMP /tmp/vserver-init.XXXXXX)
passedfile=$($_MKTEMP /tmp/vserver-init.XXXXXX)
trap "$_RM -rf $makedir $resultfile $passedfile" EXIT

the "$resultfile" should be changed to "$okfile" in the "trap" command.

Micah

Micah Anderson <hacim>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 17 Sep 2006 10:38:26 PM UTCdaniel_hozacStatusNone=>Fixed
  Assigned toNone=>daniel_hozac
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1