From 1bc8b6e8b0d6dc3bdf9bb69ba2630f202bcbdd48 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 9 Apr 2015 02:44:04 +0200 Subject: Bug #538: run user commit hooks as vyattacfg group member. Fix wrong placement of the post-commit script. --- debian/vyatta-cfg.postinst.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in index f840803..6907b7e 100644 --- a/debian/vyatta-cfg.postinst.in +++ b/debian/vyatta-cfg.postinst.in @@ -47,6 +47,7 @@ rm -f /etc/bash_completion.d/20vyatta-cfg # create symlink for post commit hook ln -sf /opt/vyatta/sbin/vyatta-log-commit.pl /etc/commit/post-hooks.d/10vyatta-log-commit.pl +# User pre/post-commit hook executors ln -s /opt/vyatta/sbin/vyos-user-precommit-hooks.sh /etc/commit/pre-hooks.d/99vyos-user-precommit-hooks -ln -s /opt/vyatta/sbin/vyos-user-postcommit-hooks.sh /etc/commit/pre-hooks.d/99vyos-user-postcommit-hooks +ln -s /opt/vyatta/sbin/vyos-user-postcommit-hooks.sh /etc/commit/post-hooks.d/99vyos-user-postcommit-hooks -- cgit v1.2.3