summaryrefslogtreecommitdiff
path: root/scripts/vyatta-cfg-cmd-wrapper
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2008-03-17 16:53:30 -0700
committerBob Gilligan <gilligan@vyatta.com>2008-03-17 16:53:30 -0700
commit1b22d8e098abf1f2cf4f479dab158c7a93805d11 (patch)
tree451bb37dc9e6f14a628e791d475d7bd07c28552d /scripts/vyatta-cfg-cmd-wrapper
parentb5864fdc4462d1f329ebe852754c7877846d8bfa (diff)
downloadvyatta-cfg-1b22d8e098abf1f2cf4f479dab158c7a93805d11.tar.gz
vyatta-cfg-1b22d8e098abf1f2cf4f479dab158c7a93805d11.zip
Bugfix: 2885
Place the "changes only" directory that is used by the configuration subsystem in its union mount into /tmp. We see kernel panics in unionfs at umount time in some cases when the "changes only" directory is located in a tmpfs filesystem.
Diffstat (limited to 'scripts/vyatta-cfg-cmd-wrapper')
-rwxr-xr-xscripts/vyatta-cfg-cmd-wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-cfg-cmd-wrapper b/scripts/vyatta-cfg-cmd-wrapper
index a1a573e..518147d 100755
--- a/scripts/vyatta-cfg-cmd-wrapper
+++ b/scripts/vyatta-cfg-cmd-wrapper
@@ -32,7 +32,7 @@ export VYATTA_EDIT_LEVEL=/;
export VYATTA_TEMPLATE_LEVEL=/;
export VYATTA_ACTIVE_CONFIGURATION_DIR=/opt/vyatta/config/active;
-export VYATTA_CHANGES_ONLY_DIR=/opt/vyatta/config/tmp/changes_only_$PPID;
+export VYATTA_CHANGES_ONLY_DIR=/tmp/changes_only_$PPID;
export VYATTA_TEMP_CONFIG_DIR=/opt/vyatta/config/tmp/new_config_$PPID;
export VYATTA_CONFIG_TMP=/opt/vyatta/config/tmp/tmp_$PPID;