summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-08-26 19:04:24 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-08-26 19:04:24 -0700
commitefe1f2b5aea0065f94394b916f1fa8b447229d5a (patch)
tree9e12a5a7cd095ce073a58a53ebd3af5f377fae1c /debian
parentdd0e8e1abf74b79a0fd259007d803db7359dffc2 (diff)
downloadvyatta-cfg-efe1f2b5aea0065f94394b916f1fa8b447229d5a.tar.gz
vyatta-cfg-efe1f2b5aea0065f94394b916f1fa8b447229d5a.zip
fix for bug 5960
* change "commit" to use syscalls (instead of system("...") calls) for mount/umount. * this is a temporary fix, and such low-level details need to be moved into the backend library.
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg.postinst.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index c007538..bb747d4 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -28,7 +28,7 @@ if [ "$sysconfdir" != "/etc" ]; then
fi
# capability stuff
-for bin in my_cli_bin my_cli_shell_api; do
+for bin in my_cli_bin my_cli_shell_api my_commit; do
touch -ac $sbindir/$bin
setcap cap_sys_admin=pe $sbindir/$bin
done