From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio M. Di Nitto Date: Thu, 04 Feb 2010 16:02:42 +0100 Subject: New clvmd init script (resend.. first one seems lost) Message-ID: <4B6AE192.9080601@fabbione.net> List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi guys, Started from https://bugzilla.redhat.com/show_bug.cgi?id=533247 - fix whitespaces all over (tabs/spaces) - use secure path - remove hardcoding of paths for tools - increase timeout to 30 secs (on Chrissie request) - source both cluster and clvmd for options (like all the other cluster init scripts) - add clustered_vgs and _lvs commodity fns - move rh_status* fns at the top, so they can be reused - heavily cleanup start and stop fns from redundant code and unnecessary loops - drop wait_for_finish. According to docs killproc will send first specified signals and then SIGKILL and do the way for us. - improve output from status - make the init script lsb compliant Please review and let me know if we need to add more changes. Both Chrissie and I have tested this new version. Fabio -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: clvmd_init.diff URL: