Displaying 2 results from an estimated 2 matches for "3c5ef1b".
2015 Jun 03
2
[PATCH] appliance: Make sure /tmp and /var/tmp are real directories.
...pied into the appliance, probably pointing to a non-existent
directory, and everything goes downhill from there.
Avoid this by making sure that /tmp and /var/tmp are real directories.
---
appliance/init | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/appliance/init b/appliance/init
index 3c5ef1b..3973f18 100755
--- a/appliance/init
+++ b/appliance/init
@@ -10,6 +10,11 @@ RUNLEVEL=S
PREVLEVEL=N
export RUNLEVEL PREVLEVEL
+# Make sure /tmp /var/tmp are real directories, not symlinks.
+rm -f /tmp /var/tmp
+mkdir /tmp /var/tmp
+chmod 1777 /tmp /var/tmp
+
# Make sure to find all the librari...
2015 Jun 05
0
Re: [PATCH] appliance: Make sure /tmp and /var/tmp are real directories.
...a non-existent
> directory, and everything goes downhill from there.
>
> Avoid this by making sure that /tmp and /var/tmp are real directories.
> ---
> appliance/init | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/appliance/init b/appliance/init
> index 3c5ef1b..3973f18 100755
> --- a/appliance/init
> +++ b/appliance/init
> @@ -10,6 +10,11 @@ RUNLEVEL=S
> PREVLEVEL=N
> export RUNLEVEL PREVLEVEL
>
> +# Make sure /tmp /var/tmp are real directories, not symlinks.
> +rm -f /tmp /var/tmp
> +mkdir /tmp /var/tmp
> +chmod 1777 /t...