summaryrefslogtreecommitdiff
path: root/src/exe_action.c
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2015-07-07 07:21:19 +0100
committerAlex Harpin <development@landsofshadow.co.uk>2015-07-07 07:23:57 +0100
commit46639708dce06b6d779651d74e87ede4679f3780 (patch)
tree3324fd073ac427ee76584b8ead584a7e9022a20e /src/exe_action.c
parent881fb397f3759dc356588becddcaff484d134e41 (diff)
downloadvyatta-cfg-46639708dce06b6d779651d74e87ede4679f3780.tar.gz
vyatta-cfg-46639708dce06b6d779651d74e87ede4679f3780.zip
vyatta-cfg: remove unused unionfs mounts following unclean config exits
If a configuration session is exited uncleanly, either as a result of a network disconnect / timeout or other forced quit from within config mode, the unionfs mount is left in place. These remain until the system is rebooted, giving an error when unmounting the config directory. This commit checks for old configuartion directories when a user enters config mode, removing any found that are owned by that user but not part of any active configuration seesion. Bug #564 http://bugzilla.vyos.net/show_bug.cgi?id=564
Diffstat (limited to 'src/exe_action.c')
0 files changed, 0 insertions, 0 deletions