Added etcd service and configuration file support to start etcd service
with existing cluster configuration.
Change-Id: Ia52bbf20fd1951aa76184da54af94231d2324888
Signed-off-by: ojayanth <ojayanth@in.ibm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Changes:
* Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val()
* Add support for JSON format
* Add support for OpenStep format
* Introduce error codes and format constants
* Add return value to import/export functions to allow returning error codes
* Add new plist_sort function
* Add several human-readable output-only formats
* Add new plist_write_to_string/_stream/_file functions
* Add new plist_print function
* Add new plist_read_from_file function
* Add new plist_mem_free() function
* Add a few C++ methods
* Add C++ interface test
* Add PLIST_NULL type
* Some code housekeeping (mostly clang-tidy)
- Breaking:
* plist_from_memory() gets additional parameter
- Bugfixes:
* Fix multiple bugs in all of the parsers
* Fix handling of PLIST_UID nodes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* it's often pulled by elfutils when debuginfod is in DISTRO_FEATURES, but
when it isn't, it fails with:
http://errors.yoctoproject.org/Errors/Details/702773/
checking for libarchive... no
configure: error: Package requirements (libarchive) were not met:
No package 'libarchive' found
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This tool is installed as a part of the build process (build.sh sources
test_lib.sh)
This tool has been removed in the latest etcd main branch. Installing it
as a part of the build process breaks bitbake (it doesn't allow
downloading of packages once in the build steps).
This tool is not needed to build etcd (it appears to be used for some
optional test cases).
The following upstream commit removes the use of gobin in the main
branch, but it's not clear to me if the alternative of just running "go
install" will fix this issue. Fundamentally etcd allows package install
during build and bitbake does not:
900fc8dd7e
Upstream-Status: Inappropriate
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes:
| # github.com/cespare/xxhash/v2
| asm: xxhash_amd64.s:120: when dynamic linking, R15 is clobbered by a global
| variable access and is used here:
| 00092 (/home/pokybuild/yocto-worker/meta-oe/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120) ADDQ R15, AX
| asm: assembly failed
Upstream-Status: Backport [f0f77fc14e]
Limited PR with just this patch submitted via this PR:
https://github.com/etcd-io/etcd/pull/15556
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Investigating the potential use of etcd within an OpenBMC distribution
to manage data sharing and leader election in a multi-BMC system. Start
off with a basic recipe to build the package.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop patches now part of new upstream release:
- 0001-Fix-memory-leak.patch
- 0001-cmake-Link-with-libatomic-on-rv32-rv64.patch
- 0001-dlt-system-Fix-buffer-overflow-detection-on-32bit-ta.patch
Cherry-pick and propose upstream two patches to fix build failures with security hardening flags enabled
and with some systemd configuration (underlink)
- 481.patch
- 482.patch
Add new dlt-adaptor-stdin cmake optional flag
Drop PV variable, not needed anymore
Drop latomic manual added flag, upstream code changed to avoid its need
See: https://github.com/COVESA/dlt-daemon/pull/433 and 2224cddf14
(changed from atomic_bool to atomic_int, the latter doesn't require manual atomic library link since
it can be optimized properly by the compiler on riscv platforms)
What's Changed:
dlt-system: fix a libc buffer overflow detection on 32bit targets by @mtitinger in #337
dlt-daemon: create sockets using "android way" by @sebastienraillet in #333
fixes compilation issue with clang by @sebastienraillet in #339
dlt-daemon: Only create directories if they do not exist yet by @alexmohr in #340
dlt-system : fix invalid free with ConfigurationFileName by @mtitinger in #342
fix for the issue #341 by @rvalovyi in #347
Forcibly the severity level set by @dhnatiuk1 in #346
fix -Wformat issues reported by clang by @sebastienraillet in #349
dlt-system: fix invalid free by removing unused TempDir by @andreirusu96 in #350
Support for Cygwin toolchain. by @DoctorNoobingstoneIPresume in #351
filetransfer: Return error if no free space by @ssugiura in #354
lib: Correct VARI usage in dlt_user_log_write_uint by @ssugiura in #356
Fix DLT User/Client tests by @andreirusu96 in #357
tests: Deplicate unused files and variables by @ssugiura in #359
Fix the target name in documentation by @mawillers in #372
cmake: Add option to enable each adaptor by itself by @alexmohr in #364
cmake: Add options to enable/disable each dlt console tool by @alexmohr in #363
filetransfer: Fix getFileCreationDate2 stat check by @andreirusu96 in #361
dlt_config_file_parser.c:Fix a pointer release bug in the file。 by @Leslie-bcy in #376
Update workflow by @thanhbnq in #389
README: Update link to github actions by @ssugiura in #392
Fix handle returned value by @thanhbnq in #384
systemd: install adaptor-udp service for adaptor=on by @danielweber2018 in #393
automotive-dlt.pc: add the path to find the static library by @zeerd in #387
enforce-trace-limit: ContextLogLevel is now enforced in the daemon by @alexmohr in #382
dlt-daemon-connection: Start up even if not all bindings are valid by @alexmohr in #380
dlt_common.c: Change default logging_mode by @wusto in #406
logstorage: Truncate ECUid in Logstorage filter to prevent crash by @andreirusu96 in #402
Update dlt_for_developers.md by @marques-bruno in #405
dlt-gateway: Fix crash on invalid ip by @alexmohr in #381
dlt_client:Block in connect() by @thanhbnq in #409
dlt_daemon_client: Fix change loglevel of application by @lti9hc in #408
Update maintainer by @thanhbnq in #410
systemd: add support for socket activation via systemd by @alexmohr in #401
internal-logging: Fix issues with file logging by @alexmohr in #378
dlt_common: change output of message for log initialization by @lti9hc in #412
Avoid memory corruption behind buffer wp in function dlt_getloginfo_conv_ascii_to_id by @michael-methner in #411
dlt_daemon_client: Fix Control Msg ECUId comparison with active Gateway by @andreirusu96 in #414
Fix for Resource and Memory Leak by @lti9hc in #418
dlt-receive: set host interface and allow multiple udp multicast addresses by @thanhbnq in #420
dlt-system: Fix buffer overflow detection on 32bit targets by @sandy-lcq in #398
cmake: network trace enable toggle by @danielweber2018 in #424
client: Fix Get Log Info response conversion method by @andreirusu96 in #422
filetransfer: fix filesize divisible by blocksize case by @danielweber2018 in #383
Updates for Coding Styles by @thanhbnq in #425
gateway: Fix Node handling and ECUid checks by @andreirusu96 in #429
Update contacts and removed mailing lists by @michael-methner in #431
dlt-user: Fix crashes in dlt_free during dlt_init by @alexmohr in #362
dlt-convert: Fix memory leak by calling dlt_file_free by @lvklevankhanh in #434
dlt-user: fix potential non closed socket in init/free by @alexmohr in #435
Check for negative index in dlt_file_message by @michael-methner in #437
Fix memory leak by @lvklevankhanh in #441
dlt-connection: add socket timeout by @alexmohr in #439
Installs dlt.conf on android by @sebastienraillet in #446
This changes a mispatch from fcb676a to install udp binary correctly by @smooge in #449
logfile: exhance internal dlt logging by introducing size limits by @danielweber2018 in #369
dlt-logd-converter: fixes android 12 compilation by @sebastienraillet in #445
dlt-logd-converter: Fix getting log level from log msg by @RobinChenJP in #456
house-keeper: remove infinite wait by @alexmohr in #438
cmake: remove duplicated option message by @minminlittleshrimp in #454
Android: Add new feature in Android bp by @minminlittleshrimp in #461
dlt_multiple_files: remove superfluous mode bits and add header file to header list by @minminlittleshrimp in #462
dlt-user: fix crash with certain strings by @alexmohr in #463
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
etcd-cpp-apiv3 is a C++ API for etcd's v3 client API.
This is etcd community recommended C++ library for etcd.
libetcd-cpp-api.so shared library provides both synchronous runtime
(etcd/SyncClient.hpp) and asynchronous runtime (etcd/Client.hpp).
To fix the build issues reported in OpenEmbedded setup updated commit id
on top of v0.14.2 release. Refer #etcd-cpp-apiv3/issues/210 for details.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Don't forget to apply object type filters to "perflevel" caches detected
on recent Mac OS X releases, thanks to Michel Lesoinne for the report.
* Fix a failed assertion in hwloc_topology_restrict() when some NUMA nodes
are removed because of HWLOC_RESTRICT_FLAG_REMOVE_CPULESS but no PUs are.
Thanks to Mark Grondona for reporting the issue.
* Mark HPE Cray Slingshot NICs with subtype "Slingshot".
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
stat64 is an alias to stat on 64bit linux moreover this makes it work
with musl where LFS64 functions are deprecated
Signed-off-by: Khem Raj <raj.khem@gmail.com>
With the exception of paho-mqtt-cpp, the double protocol= attributes
were added to the SRC_URIs when protocol=https was added to all SRC_URIs
fetching from github.com in commit b402a3076f (recipes: Update SRC_URI
branch and protocols).
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add 'sysroot.bootprefix' option
deploy: Use 'semodule --refresh' if available
configure: post-release version bump
Release rust/ bindings 0.17.1
rust-bindings: Regenerate for 2023.1
rust-bindings: 'Sysroot' is 'Send'
itest-pull-space: Use mkfs.ext4, align to at least 512b
tests: Set size on fileinfo
Enable 'trust_return_value_nullability'
Add docs and fix annotations for ostree-repo-file.c
rust: Bump semver
lib: Fix two nullable annotations
repo: Fix nullability for remote options
rust: Renerate bindings
Revert "repo: Fix nullability for remote options"
rust-bindings: Regenerate
configure: post-release version bump
build: Do not include private headers in the introspection
libostree: Ignore new_and_connect in the introspection
libostree: Enhance the annotation coverage
core: Ensure glib standard::size attribute is always set
ci: update for new kolaTestIso()
lib/fetcher-util: Wake up main context when a request is complete
Increase buffer size for create_regular_tmpfile_linkable_with_content
tests: Ensure non-root users have access to libcap tools
ostree_raw_file_to_content_stream: Make size default to 0
_ostree_zlib_file_header_new: Default size to 0
write_content_object: Don't assume file info has standard::size
Use g_steal_fd() in preference to glnx_steal_fd()
docs: Use upstream theme & update to 0.4.1
build(deps): bump libglnx from '4e44fd9' to '07e3e49'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fixed a bug where the build type didn't default to "Release" when using
CMake 3.10 or earlier.
* Fixed a bug where some optimized code wasn't used when building with
Clang 15 or later (x86), or with Clang 16 or later (aarch64).
* Fixed build errors with some architecture and compiler combos:
* aarch64 with Clang 16
* armv6kz or armv7e-m with gcc
* armhf with gcc (on Debian only)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
With version 3.22.11 it's not enough avoid linking to the
closed source ImageProcessor library, it must not be installed
either. This library is pre-stripped so package QA fails.
Add a new patch to fix installing HPLIP.conf into
/usr/share/ipp-usb/quirks. The upstream Makefile.am fails
to take DESTDIR into account and do_install fails because
of this. Also, instead of detecting the presence of the
target directory which is invalid for a source build,
create it and install the quirk file.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Support of new kernel features:
-----------------------------------
j1939: make use of new RX UAPI
isotp: rework FRAME_TXTIME handling and buffer size (Linux v5.18+)
isotp: add support for transmission without flow control (Linux v5.19+)
mcp251xfd-dump: add support for dumps created with Linux kernel >= v5.18
can-calc-bit-timing: import bit timing calculation algorithm from v5.19
cangen: add support for SO_TXTIME
includes: update to Linux 6.2 upstream (with CAN XL data structures)
Improvements and features:
--------------------------------
canfdtest: Add extended frame format / message length / FD / BRS support
can-calc-bit-timing: add support for calculation of CAN-FD bit timings
cangen: add option for absolute timeouts
cangen: new generation mode - partially randomized payload (-D)
slcan: increase BTR char limit to 8 for 32bit BTR
log asc converter: support len8_dlc for Classical CAN frames
candump: handle individual logfile name for stdout
cansniffer: add CAN FD support
cansniffer: make ASCII output switchable in CAN FD mode
canplayer: introduce option to limit the number of processed frames
Fixes:
-----------------------
candump: print number of dropped frames as unsigned values
candump: reserve enough space for ctrlmsg
candump: fix accidentally disabled traffic timeout feature
lib: fix seperator in snprintf_error_data
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
They are not cross compile friendly as they poke into build host
directories to determine if system is upstart based and it can fail
build on such hosts e.g. ubuntu
If someone is still using upstart with OE then please fix it and send a
better fix upstream to re-enable it here.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade urgency: SECURITY, contains fixes to security issues.
Security Fixes:
* (CVE-2023-28425) Specially crafted MSETNX command can lead to assertion and denial-of-service
Bug Fixes
=========
* Large blocks of replica client output buffer may lead to psync loops and unnecessary memory usage (#11666)
* Fix CLIENT REPLY OFF|SKIP to not silence push notifications (#11875)
* Trim excessive memory usage in stream nodes when exceeding `stream-node-max-bytes` (#11885)
* Fix module RM_Call commands failing with OOM when maxmemory is changed to zero (#11319)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Under sysvinit when trying to restart redis-server using
service redis-server restart two calls are made to start-stop-daemon, first
with the --stop argument and then with --start argument consecutively.
Because the process doesn't immediately terminate when start-stop-daemon
--stop is called, the next call to start-stop-daemon --start finds the
process still running and does not attempt to start another one.
This leads to only a stop of the redis-server process when a restart is
requested. This behavior affects all redis versions using sysvinit only.
This can be fixed by using the --retry <timeout/schedule> argument with
start-stop-daemon --stop in order for the call to block until the process
terminates so that start-stop-daemon --start will attempt to start a new
process.
Unfortunately the --retry argument works only in the implementation of
start-stop-daemon provided by dpkg package and is ignored in the
implementation provided by busybox package.
A repeated check if the process is still running and another try with
another signal after a timeout will effectively simulate a stop with
--retry=TERM/5/KILL/5 schedule.
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update SRC_REV and change recipe name.
Modify patches to apply and remove unrecognized configure
option --without-python2. Retain --with-python3 even
though it is the default.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To prevent naming collisions when BB_GENERATE_MIRROR_TARBALLS is used,
the packagename is used for the downloaded file.
Otherwise it would just be source-${PV}.tar.gz
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* test/yacc/ok_syntax1.tab.h, test/yacc/ok_syntax1.tab.c,
test/btyacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.tab.c:
regen
* test/ok_syntax1.y:
modify test for %union to add tag for testing reader.c
* reader.c:
provide for a named union, e.g., "%union foo" by detecting the name and
deferring the typedef in that case until the end of copying the union
definition
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
With DEBUG_BUILD = "1", the following error occurs:
src/relpsess.c:95:1: error:
inlining failed in call to 'relpSessFreePermittedPeers': function not considered for inlining [-Werror=inline]
so use the compiler flag '-Wno-error=inline' for DEBUG_OPTIMIZATION only.
Tracked by upstream bug: https://github.com/rsyslog/librelp/issues/256
but it's looking like a toolchain bug.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>