Skip to content

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

Closed as not planned

Description

@viric

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.

Activity

  1. viric commented on Oct 31, 2012

    @viric
    MemberAuthor

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

  2. viric commented on Oct 31, 2012

    @viric
    MemberAuthor

    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.

  3. viric commented on Nov 2, 2012

    @viric
    MemberAuthor

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

    mount -n -o remount,rw /
    

    Maybe this is related?

  4. viric commented on Dec 26, 2012

    @viric
    MemberAuthor

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

  5. added a commit that references this issue on Aug 28, 2020
  6. stale commented on Feb 16, 2021

    @stale

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

  7. stale commented on Apr 29, 2022

    @stale

    I closed this issue due to inactivity. → More info

  8. added a commit that references this issue on Jan 1, 2024
  9. removed their assignment
    on Apr 26, 2024
  10. added a commit that references this issue on Jul 25, 2025
  11. tomberek commented on Aug 13, 2026

    @tomberek
    Contributor

    Closing as stale. Re-open if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions