Red Hat Bugzilla – Bug 869651
3.2 - Add a method to reconfigure without init.d parameter
Last modified: 2016-02-10 14:14:53 EST
Author: Alon Bar-Lev <firstname.lastname@example.org>
Date: Mon Oct 22 16:16:04 2012 +0200
packaging: add a method to reconfigure without init.d parameter
systemd does not support additional service commands, while there can
be argue if this is good or bad this is the fact.
Current bootstrap implementation uses hybrid approach while trying to
pass "reconfigure" to init.d, and when fails, access the init.d script
This is highly none expected behavior.
Add /var/lib/vdsm/reconfigure file, if exists perform reconfiguration.
This will work with any init.d system without issues.
The service will be reconfigure at next start.
** We cannot remove the code from the current vdsm-bootstrap, so it able
to reconfigure previous versions of vdsm.
Signed-off-by: Alon Bar-Lev <email@example.com>
Reviewed-by: Zhou Zheng Sheng <firstname.lastname@example.org>
Reviewed-by: Juan Hernandez <email@example.com>
Reviewed-by: Adam Litke <firstname.lastname@example.org>
Reviewed-by: Dan Kenigsberg <email@example.com>
modified per upstream rebase.
Setting requires_doc_text-, I'm assuming that if users need to reconfigure VDSM they should either be re-installing the machine from the management interface or contacting GSS,
OK - SF11
Creating /var/lib/vdsm/reconfigure does indeed cause VDSM to reconfigure on next startup.
3.2 has been released