From ae71fef89e76a67e05d1639e7f74a62d9975be81 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 10 Mar 2014 03:58:42 +0100 Subject: Some dirty workarounds to get unionfs-fuse to work. --- etc/init.d/vyatta-router | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'etc') diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router index 9d11aab..6b9edd3 100755 --- a/etc/init.d/vyatta-router +++ b/etc/init.d/vyatta-router @@ -50,6 +50,17 @@ if [ ! -z "$VYOS_CONFIG" ]; then fi fi +# Nothing will work without unionfs-fuse +# In squeeze fuse.conf is not world readable by default, +# ensure it's readable and includes "user_allow_other" +# for correct config operations. +# XXX: Is there a better way to do that? +echo "user_allow_other" > /etc/fuse.conf +chmod 644 /etc/fuse.conf + +# XXX: And a better way to do this? There should be. +chmod 777 /dev/fuse + declare -a subinit declare -a all_subinits=( rl-system -- cgit v1.2.3