Giter Site home page Giter Site logo

Comments (10)

gronke avatar gronke commented on July 28, 2024 1

https://github.com/iocage/iocage_legacy/blob/7c712bda3ca1cfd9b5d93dbe57efa75fc1c54c1b/lib/ioc-common#L39-L41 seems to be causing the issue. I'm thinking of moving the logs into the jail datasets.

from libioc.

urosgruber avatar urosgruber commented on July 28, 2024

Any news on this one. Can you actually replicate it or it's some local issue on my machine?

from libioc.

igalic avatar igalic commented on July 28, 2024

I'm quite certain that a definite goal is to remain backwards compatible with iocage, and iocage_legacy, but i'm not sure how we could remain forward compatible.??

from libioc.

urosgruber avatar urosgruber commented on July 28, 2024

@igalic but is there a reason that sys/iocage/log dataset is created. Always empty and unused. And I can't find any reference to this.

from libioc.

igalic avatar igalic commented on July 28, 2024

@gronke, would you mind weighing in?

from libioc.

gronke avatar gronke commented on July 28, 2024

@urosgruber this dataset should not be created. We should address file logging, but this is a fragment from rebuilding the previous version's behavior. Will remove it and open a ticket for event logging.

from libioc.

gronke avatar gronke commented on July 28, 2024

@urosgruber I've checked iocage_legacy (1.7.6 and master) list output of after using libiocage e128741 (from master). The log dataset will still be created but should not cause any trouble with iocage_legacy.

from libioc.

gronke avatar gronke commented on July 28, 2024

Was able to reproduce this issue with the latest libiocage. Will be fixed in #204

from libioc.

urosgruber avatar urosgruber commented on July 28, 2024

All good now except .default dataset is now causing same issue. The thing is any dataset found inside tank/iocage that iocage_legacy does not recognise causes it to misbehave.

I'm also not sure what is the plan about transition. Is it like using both iocage_legacy and ioc untill all jails migrated or just start using ioc (when released) and migrate jails. If the last is the case then I guess I don't care about this issue and I'll patch iocage_legacy to handle this kind of datasets.

from libioc.

gronke avatar gronke commented on July 28, 2024

@urosgruber a migration command is planned. Anyhow the focus is to be compatible with all existing iocage versions first and then aim to migrate across the formats. You can already mix them if you like (e.g. jails newly created with ioc have JSON config format). Jails that are in JSON format are not seen by the iocage version you are using right now.

I need to investigate why the .defaults dataset is causing trouble. It should never be created from ioc in case it was not existing before. In this case the preferred defaults storage is JSON. (The order of preference is JSON, UCL, ZFS).

from libioc.

Related Issues (20)

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.