mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
2565ffad25
clvmd daemon itself does the right thing when invoked as non-root, by returning 4. The patch removes the use daemon function from /etc/rc.d/init.d/functions that´s unnecessary and has th bad habit to mask the return codes from the real daemon. Add a simple and generic check to see if clvmd is executed by root or not. Our stop/reload/restart paths in the init script are complex and not all the tools involved in the process are guaranteed to return 4 if executed by non-root against a process that´s running as root (for example kill -TERM will return -1 and parsing the output to catch the error is suboptimal at best). https://bugzilla.redhat.com/show_bug.cgi?id=553381 |
||
---|---|---|
.. | ||
lvm2create_initrd | ||
clvmd_fix_conf.sh | ||
clvmd_init_red_hat.in | ||
cmirrord_init_red_hat.in | ||
fsadm.sh | ||
last_cvs_update.sh | ||
lvm2_monitoring_init_red_hat.in | ||
lvm2_monitoring_init_rhel4 | ||
lvm_dump.sh | ||
lvmconf_lockingtype2.sh | ||
lvmconf.sh | ||
lvmdump.sh | ||
Makefile.in | ||
relpath.awk | ||
vg_convert | ||
vgimportclone.sh |