Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-01 | use unique_ptr if gcc is version 6 or higher | Kim Hagen | |
2017-11-01 | replace deprecated auto_ptr for unique_ptr | Kim Hagen | |
2017-10-25 | fix compilation error | Kim | |
2017-10-25 | try not to tear down session on boot | Kim | |
2017-08-28 | fix compilation errors on newer gcc | Kim Hagen | |
2015-12-16 | More fixes to cstore-unionfs & cli_shell_api. | Thomas Jepp | |
2015-11-23 | Build fixes for updated libraries on Jessie. | Thomas Jepp | |
2015-07-07 | vyatta-cfg: remove unused unionfs mounts following unclean config exits | Alex Harpin | |
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 | |||
2015-06-26 | vyatta-cfg: correct UnionfsCstore::do_umount error message | Alex Harpin | |
2015-01-11 | vyatta-cfg: fix for "failed to generate commited config" | Alex Harpin | |
When changes are made to the system by more than one user, only the first user after a reboot is able to commit successfully, the others fail with "Failed to generate committed config". This is caused as a result of the underlying unionfs-fuse mount used for the system configuration and the fact that a .unionfs directory if left in the active configuration with permissions set such that only the original committing user can change them. Bug #403 http://bugzilla.vyos.net/show_bug.cgi?id=403 | |||
2014-04-30 | Removed dirty workaround for fuse completely. | Kim Hagen | |
Use Build-iso to create /etc/fuse.conf file. Use pipe(),fork(),execl() functions instead of system() function to call unionfs-fuse. | |||
2014-03-10 | Add umount functions for unionfs-fuse. | Daniil Baturin | |
2014-03-10 | Import and adapt Kim Hagen's changes for union-fs support. | Daniil Baturin | |
2012-07-13 | Restore original lock file semantics | Stephen Hemminger | |
Don't fail if lock file already exists | |||
2012-07-11 | Don't leak file descriptors to action | Stephen Hemminger | |
Bug 8204 Make sure we don't handle unnecessary file descriptors to child processes. This is done by marking file descriptors as close on exec, and closing pipe before exec. | |||
2012-03-22 | Bugfix 7267: make inodes allocate dynamically | John Southworth | |
2011-07-25 | Bugfix 7362: Make some adjustments to previous patch per An-Cheng's suggestions | John Southworth | |
2011-07-23 | Bugfix 7362: Make reset_paths reset to root level when resolving varrefs | John Southworth | |
2011-05-18 | correct comment file handling in copy and minor cleanup. | An-Cheng Huang | |
2011-05-17 | reimplement commit locking | An-Cheng Huang | |
2011-05-16 | tweak directory handling for unionfs | An-Cheng Huang | |
2011-05-13 | provide more info on failures | An-Cheng Huang | |
2011-05-10 | preliminary implementation of new commit | An-Cheng Huang | |
(cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538) | |||
2011-04-06 | minor refactoring | An-Cheng Huang | |
2011-03-31 | add missing initialization | An-Cheng Huang | |
2011-03-31 | fix for bug 6966 | An-Cheng Huang | |
* fix paths issue in edit mode. | |||
2011-03-17 | add config path abstraction and high-level caching | An-Cheng Huang | |
* part of the config backend cleanup/optimization work. * improves the performance of "load" (w/o commit) by ~55% and "show" by ~15%. | |||
2011-03-09 | switch query functions to use lower-level API directly. | An-Cheng Huang | |
2011-03-01 | tweak map iterator usage | An-Cheng Huang | |
2011-03-01 | add caching for parsed config templates | An-Cheng Huang | |
* this improves backend performance by ~15% in, e.g., "load" (w/o commit) and "show". * this is only temporary and eventually caching should be done at higher level for better performance, and that will require config path abstraction. | |||
2011-02-28 | add config template abstraction | An-Cheng Huang | |
2011-02-18 | namespace reorg | An-Cheng Huang | |
2011-01-27 | rework/simplify path handling | An-Cheng Huang | |
2011-01-05 | fix for bug 6641 | An-Cheng Huang | |
* change shell API to only use "edit level" when needed. * add factory functions for cstore creation to simplify code. (cherry picked from commit 2208bfef1004295d3227492c6a3e9d7b36903db5) | |||
2010-12-10 | fix for bug 6026 | An-Cheng Huang | |
* for unionfs cstore implementation, enforce file size limit on both read and write and raise limit to 256 KB. | |||
2010-11-22 | fix for bug 6459 | An-Cheng Huang | |
* don't throw away "unsaved" state when doing "discard". | |||
2010-09-14 | fix for bug 6195 | An-Cheng Huang | |
* fix ".*" filtering. | |||
2010-08-26 | mark changed ancestors up to the root | An-Cheng Huang | |
2010-08-25 | switch to unordered_map | An-Cheng Huang | |
2010-08-23 | move "changed" status handling into library | An-Cheng Huang | |
* remove public status modifier as high-level operations no longer need it. * add more information to clarify changed status handling in library. * mark changed status at appropriate places in library. | |||
2010-08-20 | don't remove the workaround yet | An-Cheng Huang | |
* need to move changed status handling into the library. | |||
2010-08-20 | remove workaround for "changed" status handling | An-Cheng Huang | |
2010-08-20 | handle "changed" status properly | An-Cheng Huang | |
* original backend implementation uses unionfs-specific "changes only" dir to determine "changed" status. this breaks when it involves deactivated nodes. * new library design uses explicit per-node "changed" marker. however, since previously "commit" only handles a root "changed" marker, the new library could not implement this scheme and used a workaround instead. * now add API functions for "commit" to properly clean up "changed" markers. * modify "commit" to use these API functions and remove the workaround from the new library. | |||
2010-08-13 | change all vector/string size to size_t just to be safe. | An-Cheng Huang | |
* would have been a problem if template tree becomes more than 2^32 levels deep or if value strings longer than 2^32 characters are allowed. | |||
2010-08-09 | provide default edit level | An-Cheng Huang | |
2010-08-03 | remove "def" and "node.val" usage from high-level operations. | An-Cheng Huang | |
2010-07-31 | handle potential exceptions from filesystem operations. | An-Cheng Huang | |
2010-07-30 | make destructors virtual | An-Cheng Huang | |
2010-07-30 | add default status observers | An-Cheng Huang | |
2010-07-28 | add cstore-specific header file | An-Cheng Huang | |