Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2013-01-07 | Fix compiler warnings | James Davidson | |
2012-09-12 | Fix a few completion bugs | John Southworth | |
1. Bugfix 8254: Show the help text first so users don't think there is only one completion for a value when it exists with non-comps 2. Fix config mode inconsistencies with operational mode. Show all values in help text. 3. Fix "exists_only" command handling. Only show nodes that exist when doing completion for show, comment, and delete. | |||
2012-09-04 | Add cstore_cfg_path_exists_effective C interface | James Davidson | |
2012-07-13 | Restore original lock file semantics | Stephen Hemminger | |
Don't fail if lock file already exists | |||
2012-07-11 | Minor code cleanup | Stephen Hemminger | |
1. Make local functions static 2. Use C standard for function with no-args versus old K&R style 3. Make some arguments const | |||
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-07-11 | Log node of commit failure | Stephen Hemminger | |
Bug 8192 Put message in log about failed node | |||
2012-06-05 | Fix memory problem on bad config file | John Southworth | |
2012-06-03 | Fix more load/commit memory leaks | John Southworth | |
This fixes some more of the memory leaks in load and commit. Some still exist in the legacy cli_new/cli_parse code. Since that code is supposed to be rewritten such that it interfaces with the rewritten commit code in a clean way, these will not be fixed right now. | |||
2012-05-25 | Partial bugfix 8111 | John Southworth | |
This fixes the biggest memory leak in the config load. There are still a few small ones but they are not as big of a problem since the process is ephemeral. | |||
2012-03-22 | Bugfix 7267: make inodes allocate dynamically | John Southworth | |
2012-02-03 | Add ability to differentiate between node types in help text | John Southworth | |
2011-10-24 | Add VarRef translation to the allowed field for config mode | John Southworth | |
2011-07-29 | Fix build on older gcc | Stephen Hemminger | |
Incorrect use of #ifdef. Gcc major version is in __GNUC__ | |||
2011-07-29 | Merge branch 'oxnard' of git.vyatta.com:/git/vyatta-cfg into oxnard | John Southworth | |
2011-07-29 | Bugfix 2823: Configuration mode command interpreter, output adjustments for ↵ | John Southworth | |
consistency | |||
2011-07-29 | Fix build of config backend on Glibc 4.6 | Stephen Hemminger | |
Bug 7188 The problem is that vyatta cfg backend is using internals of c++ templates (in std::tr1) and these will change between versions of glibc. Workaround by adding necessary conditional compilation | |||
2011-07-29 | Fix warning about unused function prototype | Stephen Hemminger | |
2011-07-25 | Bugfix 7362: Make some adjustments to previous patch per An-Cheng's suggestions | John Southworth | |
2011-07-23 | Oops, should have been false by default. | John Southworth | |
2011-07-23 | Bugfix 7362: Make reset_paths reset to root level when resolving varrefs | John Southworth | |
2011-07-15 | Bugfix 7331: better fix for the bug | John Southworth | |
(cherry picked from commit fdac525b7596f1b18c201bdcd5923d3e76453ebd) | |||
2011-07-15 | Don't allow users to set migration comments | John Southworth | |
(cherry picked from commit 9f1ff5427e0f72f2bded287be6e1d4cf442945cb) | |||
2011-07-01 | Add another check for out_stream now all refrences are validated before ↵ | John Southworth | |
writing to it | |||
2011-06-30 | Bugfix 7259: check that out_stream is not null before attempting to write to it | John Southworth | |
2011-06-30 | Bugfix 7224: check nodes immediate children for changes when the node its ↵ | John Southworth | |
self is unchanged. If a child has changed run the commit check for the node | |||
2011-06-17 | Comment out unused functions | Stephen Hemminger | |
2011-06-15 | Bugfix 6767: Move log files from /tmp to /var/log/vyatta. | Bob Gilligan | |
2011-06-13 | bug fix for 7178 - commit hook for demo-entitlement notifications not working. | Deepti Kulkarni | |
2011-06-10 | Adjust the number of characters we print when creating an offset to the ↵ | John Southworth | |
buffer to remove the errloc tag | |||
2011-06-09 | Bugfix 7153: Initialize buffer before reading into it | John Southworth | |
2011-05-26 | remove unneeded stderr message | An-Cheng Huang | |
2011-05-23 | match old "in_delete_action" behavior | An-Cheng Huang | |
2011-05-20 | fix for bug 5460 | An-Cheng Huang | |
* handle value ordering for "multi:" nodes correctly during commit. | |||
2011-05-20 | update comment, fix typo, etc. | An-Cheng Huang | |
2011-05-18 | correct comment file handling in copy and minor cleanup. | An-Cheng Huang | |
2011-05-17 | add var ref "bug" to maintain backward compatibility. | An-Cheng Huang | |
2011-05-17 | reimplement commit locking | An-Cheng Huang | |
2011-05-17 | minor feature etc. | An-Cheng Huang | |
* add commit notification. * fix relative VAR references that traverse up to root level. | |||
2011-05-16 | reimplement commit hooks mechanism | An-Cheng Huang | |
* do NOT reinvent the wheel (directory traversal, sorting, script execution, etc.) when the functionality is already provided by the system. * eliminate hard-coded hook directory in various feastures. everyone should obtain the directory path from the config backend. | |||
2011-05-16 | tweak directory handling for unionfs | An-Cheng Huang | |
2011-05-14 | close pipe fd before returning | An-Cheng Huang | |
2011-05-14 | minor changes | An-Cheng Huang | |
* remove warning. * make output more responsive. | |||
2011-05-13 | provide more info on failures | An-Cheng Huang | |