Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167089 - sys-cluster/util-vserver - upgrade overwrites /etc/vservers/.defaults/vdirbase
Summary: sys-cluster/util-vserver - upgrade overwrites /etc/vservers/.defaults/vdirbase
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo VPS Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-15 18:29 UTC by Romain Riviere
Modified: 2007-04-22 12:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Riviere 2007-02-15 18:29:35 UTC
Every time util-vserver is upgraded, the vdirbase symlink is overwritten with a  symlink pointing to /vservers.
Upgrading the package should certainly not overwritte your settings, unless there is something else to it than meets the eye ?

Reproducible: Always
Comment 1 Romain Riviere 2007-04-22 11:13:53 UTC
The bug is still present in 0.30.213_rc6 : this is a major issue since it breaks all of the vserver utils.
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-04-22 11:36:29 UTC
(In reply to comment #0)
> Every time util-vserver is upgraded, the vdirbase symlink is overwritten with a
>  symlink pointing to /vservers.
> Upgrading the package should certainly not overwritte your settings, unless
> there is something else to it than meets the eye ?

There's a reason, we put a *user* influenceable variable into the ebuild, showing up in pkg_setup and displaying the following:

* "You can change the default vserver base directory (/vservers)"
* "by setting the VDIRBASE environment variable.

Basically, if you export VDIRBASE=/this/is/where/my/vservers/reside, the ebuild _will_ use the "correct" location for the vdirbase symlink.

Comment 3 Romain Riviere 2007-04-22 12:02:55 UTC
My mistake obviously.
Thanks for the heads up.
Comment 4 Christian Heim (RETIRED) gentoo-dev 2007-04-22 12:36:15 UTC
(In reply to comment #3)
> My mistake obviously.
> Thanks for the heads up.

You're welcome, sorry for being a bit harsh before :)
Comment 5 Romain Riviere 2007-04-22 12:55:38 UTC
(In reply to comment #4)

> You're welcome, sorry for being a bit harsh before :)

No harm done :)