Bug 18207 - double "create" overwrites already existing config
Summary: double "create" overwrites already existing config
Status: CLOSED WONTFIX
Alias: None
Product: Branch 4.0
Classification: Distributions
Component: vzctl (show other bugs)
Version: 4.0
Hardware: all Linux
: P2 critical
Assignee: Dmitry V. Levin
QA Contact: Q.A. 4.0
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-15 01:01 MSK by Michael Shigorin
Modified: 2011-09-18 21:11 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2008-12-15 01:01:58 MSK
Re-creating an already existing VE due to human error results in chroot being saved from overwriting it with a clean template, but config file gets reset to whatever the default minimalistic one would be created.

It seems reasonable to check whether a file exists before creating it.

vzctl-3.0.18-alt1
Comment 1 Dmitry V. Levin 2008-12-15 01:05:22 MSK
Please also check vzctl from Sisyphus.
Comment 2 Dmitry V. Levin 2009-04-10 03:18:44 MSD
vzctl from Sisyphus is not affected by this issue.
Comment 3 Michael Shigorin 2009-04-11 22:11:52 MSD
Cool.  Is it reasonable to backport it?
Comment 4 Slava Dubrovskiy 2011-09-18 21:11:22 MSK
4.0 нет и протестировать негде. Думаю стоит задуматься о переходе на 6ю платформу.