diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2015-07-07 07:21:19 +0100 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2015-07-07 07:23:57 +0100 |
commit | 46639708dce06b6d779651d74e87ede4679f3780 (patch) | |
tree | 3324fd073ac427ee76584b8ead584a7e9022a20e /src/cstore/ctemplate.hpp | |
parent | 881fb397f3759dc356588becddcaff484d134e41 (diff) | |
download | vyatta-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/cstore/ctemplate.hpp')
0 files changed, 0 insertions, 0 deletions