summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-01Merge pull request #49 from sempervictus/bug/T4607-copy_file_exedevChristian Poessinger
T4607: Fallthrough to simple stream copy when Boost's copy_file fails
2022-08-13Fallthrough to binstream copy when copy_file failsRageLtMan
Kernel 5.15, and probably newer, present an EXEDEV error when the vyatta-cfg code tries to boost::filesystem::copy_file on UnionFS FUSE mounts. This completely breaks operation on newer kernels, and is therefore a blocker to the rest of the project moving on to new Linux LTS versions. Boost is complex and fraught, this code behaves inconsistently in verious operating environments, and can be a nightmare to debug. Handle the concerns above using binary streaming in C++ to copy the source to the destination if an exception occurs during the existing Boost copy_file operation. Testing: Built ISO (cloud target), packer install, booted in OpenStack on KVM, booted in AWS on Xen, verified configurations are committed in both cases and that error logs are being generated to inform users about the fall-through being utilized to write-out configurations. Notes: Logging may be dropped to avoid flooding storage on often-updated systems. It is left in-place to aid developers in debugging the root concern underpinning Boot breakage (which may impact other areas of the code).
2022-07-22T31: reset iproute2 VRF table on startupChristian Poessinger
2022-07-17frr: T4536: start via systemdChristian Poessinger
2022-06-21Merge pull request #48 from c-po/currentChristian Poessinger
T1748: vbash: beautify tab completion output/line breaks
2022-06-20T1748: vbash: beautify tab completion output/line breaksChristian Poessinger
2022-05-21Merge pull request #47 from volodymyrhuti/currentChristian Poessinger
vyos-debug: T4394: extend profiling support
2022-05-16vyos-debug: T4394: extend profiling supportVolodymyr Huti
1. Use chrono library instead of basic C library to improve accuracy 2. Introduce the tracing helpers 3. Add tracing calls to the main processing points NOTE: loger is writing to the stdout, and for bootloader it is redirected to - /var/log/vyatta/vyos-boot-config-loader.log
2022-05-02T2216: file is called container.pyChristian Poessinger
2022-04-29vyos-router: T2216: call container script to populate default registriesChristian Poessinger
2022-04-06Merge pull request #46 from erkin/currentDaniil Baturin
loadkey: T3506: Remove loadkey
2022-03-10Revert "save-config: T4292: use vyos-save-config.py"John Estabrook
This reverts commit 18e2864769226e39479cf3fc3be2dc5ec67acac1. Revert while investigating failure in vyos-configtest.
2022-03-08save-config: T4292: use vyos-save-config.pyJohn Estabrook
2022-03-08loadkey: T3506: Remove loadkeyerkin
2022-01-01T4049: add tab completion support for "compare commands"Christian Poessinger
2022-01-01Merge pull request #43 from sarthurdev/firewallChristian Poessinger
firewall: T2199: Call firewall.py in vyos-router to create tables/chains
2021-12-16Merge pull request #44 from erkin/currentDaniil Baturin
remote: Add checks for newly supported protocols
2021-12-16remote: Add checks for newly supported protocolserkin
2021-12-04T4049: add completion help for "compare commands"Christian Poessinger
2021-10-31vyos-router: dhcpv6: T3885: fix stderr output when main UUID source is not ↵Christian Poessinger
present
2021-10-24vyos-router: dhcpv6: T3885: add alternative UUID sourceChristian Poessinger
Not all boards/devices ship the /sys/class/dmi/id/product_uuid file, thus a fallback is used (e.g. on PCEngines APU4 board) which feeds the device specific UUID from /sys/class/dmi/id/product_serial
2021-10-20firewall: T2199: Call firewall.py in vyos-router to create tables/chainssarthurdev
2021-10-10vyos-router: dhcpv6: T3885: generate persistent DUID based on system UUIDChristian Poessinger
2021-10-04Merge pull request #42 from srividya0208/T3888Daniil Baturin
poweroff: T3888: correction of error message
2021-10-04poweroff: T3888: correction of error messagesrividya0208
A proper message is added i.e. Exit from configure mode before shutting down. for the poweroff command when executed from the config mode.
2021-09-30Merge pull request #41 from jestabro/interface-namesJohn Estabrook
interface-names: T3869: use vyos-interface-rescan instead of legacy
2021-09-27interface-names: T3869: use vyos-interface-rescan instead of legacyJohn Estabrook
2021-08-28vyos-router: add debug possibilitiesChristian Poessinger
Specifying vyos-debug on the Kernel commandline will enable additional debug featurs as the following temporary files are created so the boot process can be logged: * /tmp/vyos.container.debug * /tmp/vyos.ifconfig.debug * /tmp/vyos.frr.debug * /tmp/vyos.container.debug
2021-08-16conntrack: T3579: initialize subsystemChristian Poessinger
2021-08-05serial: T1739: properly delete/recreate serial interface on system bootChristian Poessinger
2021-08-05ipsec: T3719: fix "No such file or directory" warningChristian Poessinger
strongSwan expects the directories to be present - so we only clean out the config files instead of the entire folder structure.
2021-06-26Reset ctrl-alt-delete setting using the vyos-1x provided python handlerChristian Poessinger
2021-06-26Reset issue/motd using the vyos-1x provided python handlerChristian Poessinger
2021-06-26ipsec: T3643: delete potential zombie files on system startupChristian Poessinger
2021-06-19Debian: fix package dependencies to support Debian BullseyeChristian Poessinger
2021-04-29Merge pull request #38 from erkin/currentDaniil Baturin
T3439: Fix false positives in URL scheme check
2021-04-26T3439: Fix false positives in URL scheme checkerkin
2021-04-17Merge pull request #32 from zdc/T3425-sagittaChristian Poessinger
scripts: T3425: Make paths to custom scripts relative
2021-04-17Merge pull request #37 from erkin/currentChristian Poessinger
T3356: Fix URL scheme check
2021-04-17T3356: Fix URL scheme checkerkin
2021-04-16Merge pull request #36 from erkin/currentDaniil Baturin
T3356: Replace curl calls in vyatta-save-config.pl with calls to remote.py
2021-04-16T3356: Replace curl calls in vyatta-save-config.pl with calls to remote.pyerkin
2021-04-13Merge pull request #35 from sever-sever/T2216-podChristian Poessinger
containers: T2216: Delete default and networks for podman
2021-04-11containers: T2216: Delete default and networks for podmansever-sever
2021-04-09Debian: add libboost-filesystem1.74.0 dependency for bullseyeChristian Poessinger
2021-04-04lsb: always restore the default issue banner on bootChristian Poessinger
2021-04-02Merge pull request #34 from sever-sever/3217Christian Poessinger
vyos-router: T3217: mount frr.conf to /run/frr/config dir
2021-04-02vyos-router: T3217: mount frr.conf to /run/frr/config dirsever-sever
2021-03-23scripts: T3425: Make paths to custom scripts relativezsdc
In some cases, like ISO or PXE boot, the `/opt/vyatta/etc/config/` folder does not bind to `/config/`. To run scripts from the `/scripts/` subfolder paths must be relative, just like for the `config.boot` file. This commit replaces hardcoded paths to relative that use the `$vyatta_sysconfdir` as the prefix.
2021-02-07Jenkins: enable arm64 buildsChristian Poessinger