Comments (4)
Turns out this was because my /mnt
was mounted with the noexec
(is it possible that this is the default in Ubuntu 16.04?).
I solved it with mount -o remount,exec /tmp
.
Ideally ./install
would detect this.
from nixos-in-place.
is it possible that this is the default in Ubuntu 16.04?
Looks like the answer is no, and that this is just some "security improvement" shipped by default by my server hoster.
from nixos-in-place.
Awesome job looking into this and I appreciate you reporting your results. I don't think remounting /tmp
is something that nixos-in-place should do, especially since it may not be a separate partition or mount in the first place.
I do think it's good having this ticket to will help anyone who's searching for the issue. Are you good with closing this? Did you NixOS install go through smoothly?
from nixos-in-place.
I agree that it's not the script's job to remount /tmp
.
I wonder though if it could check whether scripts from /tmp
can be executed at the start, because the error can be so confusing and many hosters where you'd need nixos-in-place
seem to like to do this. E.g. to place a bash script with no contents in the temporary dir it creates and execute it, and echo "Could not execute from /tmp, please check that it's not mounted noexec"
if that fails.
from nixos-in-place.
Related Issues (20)
- DigitalOcean now uses /dev/vda HOT 2
- ISO download fails HOT 1
- Installation finished but doesn't prompt for a root password HOT 10
- "Failure to set locale" stopping installation HOT 3
- Failed to check file system type of "/boot": No such file or directory HOT 10
- Iso download: unverified, not trustworthy host, not overrideable HOT 12
- Possible race condition in stage1? HOT 3
- Experience report of using nixos-in-place for OVH cloud servers and qemu-guest issue
- Move /old-root/nixos to / HOT 9
- Failed running on LeaseWeb Ubuntu 16.04 server HOT 1
- error: changing modification time of '...': Read-only file system HOT 4
- Instructions on how to use this to make a Hetzner Cloud snapshot (includes moving /old-root/nixos to /) HOT 8
- Document what this is and what it's not. HOT 1
- login not possible after reboot
- install is not working HOT 1
- Unable to install on VPS HOT 1
- Use drive UUID instead of /dev name
- Instructions for Tiny Core Linux HOT 1
- download link seems offline HOT 2
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 nixos-in-place.