Skip to content

Clvmd -E fixes

Zdenek Kabelac lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Clvmd -E fixes

Dne 22.9.2011 18:00, Milan Broz napsal(a):

Quoted 15 lines · Zdenek Kabelac
Quoted 6 lines

Patchset fixed restart of clvmd with -E option.

1st. Adds support for easier restart of clvmd
(i.e. -Isinglenode is preserved).

2nd. Bug fixes support of -E arg.

ack these two.

(maybe cluster lock type is on of the attribute we can store in udev db? to read it later :-)

Quoted 7 lines
Quoted 2 lines

3rd. Allows to build test suite script for checking clvmd restart.
(Any better idea here ?)

We need something for testsuite but I would like to avoid any online reconfiguration of daemon paths, this is tricky and bug there is security problem (clvms -S must not start arbitrary program
- it run with root privileges.)

Note - setting (LVM_CLVMD_BINARY as was suggest by agk) must be done before executing the first clvmd.

You can't influence anything by any further clvmd -S call - since this environment is not passed to the original restarting daemons.

Thus it should not introduce security risk here - as you are working only with settings you've had with the first start.

(If someone could manipulate root's environment - he could surely replace disc content as well)

Zdenek