<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/keepalived/files/usr/libexec/rpcd, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-11-14T11:10:29Z</updated>
<entry>
<title>keepalived: fix empty status from rpcd dump</title>
<updated>2026-11-14T11:10:29Z</updated>
<author>
<name>Alexander Wilhelm</name>
</author>
<published>2026-10-15T09:39:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f8721fb6412ed82c1c3a4428d52564a898816f32'/>
<id>urn:sha1:f8721fb6412ed82c1c3a4428d52564a898816f32</id>
<content type='text'>
The LuCI VRRP status page (luci-app-keepalived) stays empty because 'ubus
call keepalived dump' always returns '{}'. The rpcd plugin asks keepalived
to write /tmp/keepalived.json, but this never works:

- The JSON dump signal is hardcoded as 37. keepalived uses a signal based
  on SIGRTMIN, so the number depends on the libc. On musl (aarch64) it is
  36 ('keepalived --signum=JSON'), and signal 37 is ignored. Query the
  number from keepalived instead.

- keepalived writes the file asynchronously from its event loop, after kill
  has already returned. The script reads it immediately and finds nothing
  (0/20 attempts on aarch64). After 10 ms it is always present (20/20).
  Wait one second before reading it. Whole seconds work with every busybox
  'sleep' build.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
Signed-off-by: Alexander Wilhelm &lt;alexander.wilhelm@westermo.com&gt;
</content>
</entry>
<entry>
<title>keepalived: high-availability files and data sync</title>
<updated>2022-10-13T11:27:02Z</updated>
<author>
<name>Jaymin Patel</name>
</author>
<published>2022-09-09T13:40:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=33398a38aacc02c89c277f5106c079b9c61b97a2'/>
<id>urn:sha1:33398a38aacc02c89c277f5106c079b9c61b97a2</id>
<content type='text'>
add new package keepalived-sync to synchronize files and data
between master and backup node. The master node uses SSH over rsync
to send and the backup node will use inotifywatch to watch received files.

The master node can track rsync.sh script to send configuration file on
a backup node based on the vrrp_script configuration of the same script.

The backup node will have a keepalived-inotify service, which would watch
for newly received files and it would call hotplug event. Each service
can keep its respective script under the keepalived hotplug directory and
executes commands to stop, start service or update any config in real-time.

Whenever a switchover will happen, the backup node would have the latest
config and data files from the master node.

Hotplug events can be used to apply config when files are received.

Signed-off-by: Jaymin Patel &lt;jem.patel@gmail.com&gt;
</content>
</entry>
<entry>
<title>keepalived: add status rpc and service improvement</title>
<updated>2022-09-15T11:38:11Z</updated>
<author>
<name>Jaymin Patel</name>
</author>
<published>2022-09-09T13:40:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0f7415b8a89ea9ff44a725c2fd4763c6bdffc1d4'/>
<id>urn:sha1:0f7415b8a89ea9ff44a725c2fd4763c6bdffc1d4</id>
<content type='text'>
- enable json by default to generate json stats
- add rpc to generate json status
- add kmod-nf-ipvs dependencies for virtual servers
- set default vip labels on virtual interfaces
- set process name for keepalived child processes

Signed-off-by: Jaymin Patel &lt;jem.patel@gmail.com&gt;
</content>
</entry>
</feed>
