Bug #3155

Purge of Debian package should not remove the sqlite database

Added by Daniel Dehennin almost 7 years ago. Updated almost 7 years ago.

Status:NewStart date:08/18/2014
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution: Pull request:
Affected Versions:OpenNebula 4.6, OpenNebula 4.8



I don't think removing the sqlite database even on a purge is a good idea.

Normally, a purge will remove configuration files, not application datas.

The MySQL server has a debconf question asking the administrator if she wants to delete database when purging the package.



#1 Updated by Ruben S. Montero almost 7 years ago

  • Status changed from Pending to New

#2 Updated by Daniel Dehennin almost 7 years ago

I think the same could apply for .ssh and .one directories.

If the database remains, we shouldn't loose the authentication stored in .one.

If an admin want to purge the opennebula packages to remake a configuration from scratch, we should keep ssh keys (and authorized_keys) as they could have been deployed and be reused soon.


NB: If your are interested, I'm working on a workflow to put package source under Git in separate branches, one branch per distribution, I will ease users to provide patches.

Also available in: Atom PDF