- 17 Jun, 2021 2 commits
-
-
Lucas Kanashiro authored
-
Lucas Kanashiro authored
In Ubuntu some users started to complain about the change of behavior introduced here: ha-team/corosync@2f8aa88f After this, the node name is always 'node1' by default instead of using the hostname. The discussion can be seen here: https://bugs.launchpad.net/ubuntu/+source/corosync/+bug/1874719
-
- 07 Apr, 2021 4 commits
-
-
Ferenc Wágner authored
-
Ferenc Wágner authored
-
Ferenc Wágner authored
Update to upstream version '3.1.2' with Debian dir e06905545c6482f04bb0b97d459039f2ef135c3e
-
Ferenc Wágner authored
-
- 06 Apr, 2021 1 commit
-
-
Fabio M. Di Nitto authored
totemknet_configure_compression was using knet_context just to gather the knet handle / instance. On first time config knet_contex is not initialized till much later in the code, passing some random garbage pointers to knet_handle_compress, that would crash later trying to acquire a mutex lock. Signed-off-by:
Fabio M. Di Nitto <fdinitto@redhat.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
- 03 Apr, 2021 8 commits
-
-
Ferenc Wágner authored
-
Ferenc Wágner authored
-
Ferenc Wágner authored
Thanks: Fabio M. Di Nitto Closes: #986325
-
Ferenc Wágner authored
-
Ferenc Wágner authored
-
Ferenc Wágner authored
-
Ferenc Wágner authored
Update to upstream version '3.1.1' with Debian dir 5e43fd2551079dbaaca1ec201718abf08d994688
-
Ferenc Wágner authored
-
- 29 Mar, 2021 1 commit
-
-
Johannes Krupp authored
Fix integer underflow when computing `namelen` in `nodelist_byname`, always use computed `namelen`. Fixes #626. Signed-off-by:
Johannes Krupp <johannes.krupp@cispa.saarland> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
- 25 Mar, 2021 1 commit
-
-
liangxin1300 authored
Insted of using "magic number" use UDP_NETMTU constant. Signed-off-by:
liangxin1300 <XLiang@suse.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
- 18 Mar, 2021 1 commit
-
-
Dan Streetman authored
Retry knet_handle_new without privileged operations if it fails knet_handle_new can fail with ENAMETOOLONG if its privileged operations fail, which can happen if we're running as a user process or in an unprivileged container. This adds a cmap key 'allow_knet_handle_fallback' that defaults to no, which is the current behavior of exiting with error if the knet_handle can't be created with privileged operations. If the new cmap key is set to 'yes' and the knet_handle creation fails, fallback to creating the handle using unprivileged operations is tried. Signed-off-by:
Dan Streetman <ddstreet@canonical.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
- 11 Mar, 2021 1 commit
-
-
Dan Streetman authored
Don't lock all current and future memory if can't increase memlock rlimit. If we fail to increase our RLIMIT_MEMLOCK, then locking all our current and future memory is extremely dangerous; once our memory use reaches our RLIMIT_MEMLOCK, memory allocations will start failing, very likely leading to our entire process crashing. This can happen if we aren't a privileged process, for example if running as non-root user, or inside an unprivileged container. Signed-off-by:
Dan Streetman <ddstreet@canonical.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
- 09 Mar, 2021 4 commits
-
-
Fabio M. Di Nitto authored
Signed-off-by:
Fabio M. Di Nitto <fdinitto@redhat.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
Fabio M. Di Nitto authored
Move exec_prefix sanitize closer to prefix. This is not functional change, just group functional tests together. Signed-off-by:
Fabio M. Di Nitto <fdinitto@redhat.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
Fabio M. Di Nitto authored
prefix is sanitized already at the top of configure.ac to /usr, hence the second instance can never hit. Signed-off-by:
Fabio M. Di Nitto <fdinitto@redhat.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
Fabio M. Di Nitto authored
this also allows to use PKG_CONFIG_* macros immediately in conditional calls Signed-off-by:
Fabio M. Di Nitto <fdinitto@redhat.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
- 04 Mar, 2021 1 commit
-
-
Christine Caulfield authored
Found by covscan which also didn't like us 'leaking' the fd to the lockfile. So close that too. Signed-off-by:
Christine Caulfield <ccaulfie@redhat.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
- 28 Feb, 2021 2 commits
-
-
Ferenc Wágner authored
-
+ Drop unused libxml2-dev dependency. It deals with xml via xsltproc. + Drop unused augeas-tools dependency. While it ships a lens, it does not further integrate with augeas. Closes: #980989
-
- 14 Jan, 2021 3 commits
-
-
Jan Friesse authored
... to trigger cfg shutdown callbacks. Signed-off-by:
Jan Friesse <jfriesse@redhat.com> Reviewed-by:
Christine Caulfield <ccaulfie@redhat.com>
-
Christine Caulfield authored
Signed-off-by:
Christine Caulfield <ccaulfie@redhat.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
Christine Caulfield authored
CFG tracking was removed in 81537541 , probably as a mistake, as part of the tidy up of cfg and the removal of dynamic loading. This means that shutdown tracking (using cfg_try_shutdown()) stopped working. This patch restores the trackstart & trackstop API calls (renamed to be more consistent with the exiting libraries) so that shutdown tracking can be used again. Change cfg.shutdown_timeout to be in milliseconds rather than seconds nd use libqb macros for conversion. Add --force option to corosync-cfgtool -H Signed-off-by:
Christine Caulfield <ccaulfie@redhat.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
- 01 Jan, 2021 2 commits
-
-
Ferenc Wágner authored
-
Ferenc Wágner authored
-
- 26 Dec, 2020 1 commit
-
-
Ferenc Wágner authored
-
- 26 Nov, 2020 2 commits
-
-
Jan Friesse authored
Patch tries to make nodestatusget really extendable. Following changes are implemented: - corosync_cfg_node_status_version_t is added with (for now) single value CFG_NODE_STATUS_V1 - corosync_knet_node_status renamed to corosync_cfg_node_status_v1 (it isn't really knet because it works as well for udp(u() - struct res_lib_cfg_nodestatusget_version is added which holds only ipc result header and version on same position as for corosync_cfg_node_status_v1 - corosync_cfg_node_status_get requires version and pointer to one of corosync_cfg_node_status_v structures - request is handled in case switches to make adding new version easier Also fix following bugs: - totempg_nodestatus_get error was retyped to cs_error_t without any meaning. - header.error was not checked at all in the library Signed-off-by:
Jan Friesse <jfriesse@redhat.com> Reviewed-by:
Christine Caulfield <ccaulfie@redhat.com>
-
Christine Caulfield authored
Current we horribly over-use totempg_ifaces_get() to retrieve information about knet interfaces. This is an attempt to improve on that. All transports are supported (so not only Knet but also UDP(U)). This patch builds best against the "onwire-upgrade" branch of knet as that's what sparked my interest in getting more information out. Signed-off-by:
Christine Caulfield <ccaulfie@redhat.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
- 12 Nov, 2020 1 commit
-
-
Jan Friesse authored
Previously only crypto cipher was used as a way to find out if crypto is enabled or disabled. This usually works ok until cipher is set to none and hash to some other value (like sha1). Such config is perfectly valid and it was not supported correctly. As a solution, check both cipher and hash. Signed-off-by:
Jan Friesse <jfriesse@redhat.com> Reviewed-by:
Fabio M. Di Nitto <fdinitto@redhat.com> Reviewed-by:
Christine Caulfield <ccaulfie@redhat.com>
-
- 10 Nov, 2020 1 commit
-
-
Ferenc Wágner authored
At the same time simplify the overwrite logic and stop clearing the umask (which is unexpected and quite pointless here, as applications can't really protect the users from their own pathological settings). Signed-off-by:
Ferenc Wágner <wferi@debian.org>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
-
- 08 Nov, 2020 1 commit
-
-
Ferenc Wágner authored
According to #604807 the buster logrotate already skips missing directories gracefully, so we don't need this workaround anymore, as #588515 is fixed.
-
- 06 Nov, 2020 1 commit
-
-
Fabio M. Di Nitto authored
logdir is configurable at build time and can change from distro to distro. Export the path for pcs to use. Signed-off-by:
Fabio M. Di Nitto <fdinitto@redhat.com> Reviewed-by:
Jan Friesse <jfriesse@redhat.com>
-
- 02 Nov, 2020 1 commit
-
-
Jan Friesse authored
Also add release to version to match autogenerated corosynclib-devel provides. Signed-off-by:
Jan Friesse <jfriesse@redhat.com> Reviewed-by:
Christine Caulfield <ccaulfie@redhat.com>
-
- 26 Oct, 2020 1 commit
-
-
Ferenc Wágner authored
-