Giter Site home page Giter Site logo

Comments (1)

Kabouik avatar Kabouik commented on June 4, 2024

I agree about the .pyc file, but isn't it standard to keep configuration files and data files when uninstalling? pkgbuild even has a macro for configuration files to identify them and protect them from deletion at uninstall. Default configuration files sure should be removed, but all configuration files here are tied to container names, and hence could be considered customized by user (mine is actually customized anyway because I added mount points).

Files in /home/.lxc/ are data files in my opinion, and I'm not sure it would be good to have them deleted with no prior notice at uninstall, people would expect to find them again if they reinstall the application. They would not only lose the data they have in the container, but everything they set up, installed and configured too. To me the rootfs in /home/.lxc/ are pretty much like .img or .vbox files for VMs, they should persist even if the VM application is uninstalled.

However I agree that scripts/buttons to help cleaning for anyone wanting a full uninstall could be useful. I believe the Settings > Destroy container button is already doing that for /home/.lxc/containername, but it will work only for containers listed in the application, and hence would probably not be possible if the corresponding configuration file in /var/lib/lxc/ has already been removed or moved. Actually, does the Destroy button delete the configuration file too? I didn't test that.

from harbour-containers.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.