Skip to content
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

writableStore=false still makes the host store writable in build-vm #63

Open
viric opened this issue Oct 31, 2012 · 6 comments
Open

writableStore=false still makes the host store writable in build-vm #63

viric opened this issue Oct 31, 2012 · 6 comments
Labels

Comments

@viric
Copy link
Member

viric commented Oct 31, 2012

I have a virtual machine, of nixos master, with writableStore=false.

I can't see any 'aufs' in "mount" listings, and it can write files to the host /nix/store.

I was just running "nix-channels --update" in the guest, and it complained unpacking the nixexprs.tar about some "utime: Operation not permitted". But the manifest got unpacked into the store, and that file is also in my host store, while "nix-store --check-validity" reports that it's not valid.

@viric
Copy link
Member Author

viric commented Oct 31, 2012

I'm using linuxPackages_3_4 as kernelPackages, and I don't seem to have any 'aufs' module in the booted system.

@viric
Copy link
Member Author

viric commented Oct 31, 2012

Only now I noticed that 'writableStore==false' was meant NOT to use aufs, but also to leave the store read-only. Well, in my case, it is not read-only.

@viric
Copy link
Member Author

viric commented Nov 2, 2012

Stage 2 has this line at boot, related to some EC2 thing:

mount -n -o remount,rw /

Maybe this is related?

@viric
Copy link
Member Author

viric commented Dec 26, 2012

As a note, it shouldn't be a problem if the vm script weren't run by root.

@shlevy shlevy added the backlog label Apr 1, 2018
meditans pushed a commit to Ericson2314/nix that referenced this issue Aug 28, 2020
@stale
Copy link

stale bot commented Feb 16, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Feb 16, 2021
@stale
Copy link

stale bot commented Apr 29, 2022

I closed this issue due to inactivity. → More info

@stale stale bot closed this as completed Apr 29, 2022
@thufschmitt thufschmitt reopened this Feb 24, 2023
zolodev pushed a commit to zolodev/nix that referenced this issue Jan 1, 2024
@edolstra edolstra removed their assignment Apr 26, 2024
@stale stale bot removed the stale label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants