Comments (10)
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.
Any news on this one. Can you actually replicate it or it's some local issue on my machine?
from libioc.
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.
@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.
@gronke, would you mind weighing in?
from libioc.
@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.
@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.
Was able to reproduce this issue with the latest libiocage. Will be fixed in #204
from libioc.
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.
@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)
- Exporting ZFS basejails includes basejail datasets
- provisioning does not cleanup mounted resources HOT 1
- ioc pkg no longer works HOT 2
- `ioc destroy -f` should call `ioc stop -f` HOT 3
- DHCP no longer works HOT 3
- Disable sendmail, for real please
- Symlink race condition
- Broken create Jail with net address already available on host HOT 3
- FreeBSD package names can contain dots
- Exporting jails fails with AbsolutePath error
- Unable to build under 12.1-p2 (python3.7)
- ZFS root dataset is not mounted HOT 1
- METADATA is incomplete
- Missing files in sdist
- how to (remember to) reload /etc/pf.conf when (re)starting a jail HOT 3
- fdescfs is no longer necessary HOT 1
- libioc's pkg feature can conflict badly with its provisioning feature HOT 1
- Network's __create_new_epair_interface function parameter nic_suffix_b is ignored
- Export without fstab fails
- EOL Warnings fail download on FreeBSD 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libioc.