-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DELETED /usr/local #1191
Comments
While this in
|
So the 'problem' seems to be |
Oh, hi, that's the thing I emailed you about some time ago. I hope no one got hurt too badly because of this. Backups, backups, backups... |
Yes - I remember - I will add a warning to the article with link to this issue. What is even more interesting ... there is NOTHING there at
|
Interesting ... I have just set
|
What version of Poudriere? I am using this for a long time
|
Great. But why it deletes I already found a solution that works with Fix the problem - do not seek the solution in workarounds. It has to be bulletproof - not kill each user that did not lost tons of data by trying ... |
I haven't looked at the sources, but isn't it possible that it must not be a directory / filesystem that is already occupied by other data, because Poudriere is trying to create other sub-filesystems in it? If I understand it right, the In your case from the first post, is it true that the filesystem |
Whatever the reason for this, it is definitely NOT OKAY. We need a validation to prevent this. I'll look into it if no one else gets to it. |
As I understood ZROOTFS is the dataset, not directory. As zroot/usr is already mounted on /usr, poudriere will create ZROOTFS datasets hierarchically, so: So, ZFS creates the new dataset and mounts it to a directory already in use (/usr/local/). But note that probably your /usr/local/ was not really deleted. Its a ZFS thing and configuration, nothing wrong to poudriere as I can see. So I use in my configurations: In my settings above: And poudriere jails and ports datasets will be created and mounted on BASEFS: |
There is some logic in it ... and there is not. With ZROOTFS=/usr/local/poudriere it can create (and destroy in the process) these:
... but if I set it up as ZROOTFS=/dev/null then why it does not create these?
|
With this in
/usr/local/etc/poudriere.conf
config:After creating first Jail - like that command below:
Entire
/usr/local
will be deleted.Why?
The text was updated successfully, but these errors were encountered: