-
Notifications
You must be signed in to change notification settings - Fork 908
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
/run is not ephemeral on *BSD #4180
Comments
Cloud-init will still write each file on reboot for BSD like other distributions. But, if cloud-init is disabled via |
[1] At least on Ubuntu systems, What about changing |
This would fix #4231 if implemented |
can you try by replacing /run with a link to /var/run ? that one should be ephemeral, in that it's cleared before cloudinitlocal |
On *BSD, `/run` is not ephemeral, but the way cloud-init behaves, it expects it to be. This is hack is partial fix for canonicalGH-4180 / canonicalGH-4231. But to be good Unix citizens, we should still make /run relocatable in the code and in the installer. Sponsored by: The FreeBSD Foundation Fixes canonicalGH-4180 Fixes canonicalGH-4231
On *BSD, `/run` is not ephemeral, but the way cloud-init behaves, it expects it to be. This is hack is partial fix for canonicalGH-4180 / canonicalGH-4231. But to be good Unix citizens, we should still make /run relocatable in the code and in the installer. Sponsored by: The FreeBSD Foundation Fixes canonicalGH-4180 Fixes canonicalGH-4231
on BSD, /run is not ephemeral. relocate BSDs config to /var/run Sponsored by: The FreeBSD Foundation Fixes canonicalGH-4180 Fixes canonicalGH-4231
on BSD, /run is not ephemeral. relocate BSDs config to /var/run Sponsored by: The FreeBSD Foundation Fixes canonicalGH-4180 Fixes canonicalGH-4231 Co-authored-by: Brett Holman <brett.holman@canonical.com>
on BSD, /run is not ephemeral. relocate BSDs config to /var/run Sponsored by: The FreeBSD Foundation Fixes canonicalGH-4180 Fixes canonicalGH-4231 Co-authored-by: Brett Holman <brett.holman@canonical.com>
on BSD, /run is not ephemeral. relocate BSDs config to /var/run Sponsored by: The FreeBSD Foundation Fixes canonicalGH-4180 Fixes canonicalGH-4231
on BSD, /run is not ephemeral. relocate BSDs config to /var/run Sponsored by: The FreeBSD Foundation Fixes canonicalGH-4180 Fixes canonicalGH-4231
on BSD, /run is not ephemeral. relocate BSDs config to /var/run Sponsored by: The FreeBSD Foundation Fixes canonicalGH-4180 Fixes canonicalGH-4231
on BSD, /run is not ephemeral. relocate BSDs config to /var/run Sponsored by: The FreeBSD Foundation Fixes canonicalGH-4180 Fixes canonicalGH-4231
Bug report
cloud-init sets up a
Paths.run_dir
which on Linux is the ephemeral/run
directory.On BSD, the corresponding directory would be
/var/run
, but we don't change that path./run
is non-standard. (Seehier(7)
)That means that cloud-init potentially behaves very differently on BSD
Steps to reproduce the problem
/run/cloud-init
still existsEnvironment details
The text was updated successfully, but these errors were encountered: