bugutil-vserver - Bugs: bug #11570, wrong exit code for successful...

 
 

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

bug #11570: wrong exit code for successful "vserver myvserver start"

Submitted by:  Daniel Hermann <gaston>
Submitted on:  Wed 12 Jan 2005 10:38:53 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedComponent Version: None
Release: 

Fri 21 Jan 2005 04:12:14 PM UTC, comment #2:

Yes, this fixes the issue as well. Thanks.

regards

Daniel

Anonymous
Fri 21 Jan 2005 01:53:07 PM UTC, comment #1:

will http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/scripts/vserver.diff?r1=1.1.2.1.2.10&r2=1.1.2.1.2.11&only_with_tag=SYSCALL_SWITCH fix the issue?

Enrico Scholz <ensc>
Project Administrator
Wed 12 Jan 2005 10:38:53 AM UTC, original submission:

"vserver myvserver start" gives exit code 1 if there is no file /etc/vservers/myvserver.sh, since the last statement in vserver ("test -x /etc/vservers/$1.sh && ...") evaluates to 1 in this case.

Could you please add an "exit 0" line at the end of /usr/sbin/vserver? It doesn't hurt anyway. Thanks.

regards,

Daniel

PS: I use "vserver start" within heartbeat-initscripts where exit codes are important.

Daniel Hermann <gaston>

 

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

Date Changed By Updated Field Previous Value => Replaced By
Fri 21 Jan 2005 04:36:45 PM UTCenscStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1