For initial deployment only VIP handling is required, meaning
following modules are left enabled:
- systemd & startup listeners (for detecting service failures),
- vip decision maker (triggers system_reboot action)
- system_reboot action
Disabling rest of modules gives about 20% of .text:
text data bss dec hex filename
63618 5176 208 69002 10d8a before/usr/sbin/faultd
52423 3248 208 55879 da47 after/usr/sbin/faultd
Change-Id: I49b4d5a0fa605ca0469baef59e7c97078974a550
Description=Service Monitoring
[Service]
-ExecStart=@sbindir@/faultd --no-action --disable-module audit_listener
+ExecStart=@sbindir@/faultd
[Install]
WantedBy=multi-user.target
%build
%autogen
-%configure --enable-test-programs --enable-tests
+%configure --enable-test-programs --enable-tests --enable-modules=systemd,startup,vip_fault_dm,system_reboot
make %{?_smp_mflags}
make check