Ticket #268 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

Scripts not run on recent Linux distributions, due to local filesystem change

Reported by: vjo Owned by: pruth
Priority: major Milestone:
Component: External: NEuca-Py VM tools Version: baseline
Keywords: Cc:

Description

In the latest Linux distributions, /var/run is actually a symlink to /run, which is itself a tmpfs that is mounted noexec.

Case in point:
root@ubuntu:~# ls -alps /var/run
0 lrwxrwxrwx 1 root root 4 Jun 20 12:38 /var/run -> /run/
root@ubuntu:~# mount | grep "run "
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)

This results in the post-boot scripts not being run *at all* - and confused me, until I figured it out.

Verified on Ubuntu 13.04.

Change History

Changed 6 years ago by ibaldin

Is this still relevant?

Changed 4 years ago by vjo

  • status changed from new to closed
  • resolution set to fixed

Fixed. NEuca uses /var/lib/neuca for cross-reboot persistent state, now.

Note: See TracTickets for help on using tickets.