Accepting request 266231 from home:wanglh:branches:Base:System
disable lvm2-lvmetad.service and fix lvm.conf for bnc#901859 bnc#906710 bnc#888798 OBS-URL: https://build.opensuse.org/request/show/266231 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=115
This commit is contained in:
parent
da5bb3ab1a
commit
97971092ae
4
lvm.conf
4
lvm.conf
@ -275,7 +275,7 @@ log {
|
|||||||
# for syslog and lvm2_log_fn purposes.
|
# for syslog and lvm2_log_fn purposes.
|
||||||
# Any 'yes' or 'no' questions not overridden by other arguments
|
# Any 'yes' or 'no' questions not overridden by other arguments
|
||||||
# are suppressed and default to 'no'.
|
# are suppressed and default to 'no'.
|
||||||
silent = 1
|
silent = 0
|
||||||
|
|
||||||
# Should we send log messages through syslog?
|
# Should we send log messages through syslog?
|
||||||
# 1 is yes; 0 is no.
|
# 1 is yes; 0 is no.
|
||||||
@ -421,7 +421,7 @@ global {
|
|||||||
# Type 3 uses built-in clustered locking.
|
# Type 3 uses built-in clustered locking.
|
||||||
# Type 4 uses read-only locking which forbids any operations that might
|
# Type 4 uses read-only locking which forbids any operations that might
|
||||||
# change metadata.
|
# change metadata.
|
||||||
locking_type = 3
|
locking_type = 1
|
||||||
|
|
||||||
# Set to 0 to fail when a lock request cannot be satisfied immediately.
|
# Set to 0 to fail when a lock request cannot be satisfied immediately.
|
||||||
wait_for_locks = 1
|
wait_for_locks = 1
|
||||||
|
12
lvm2.changes
12
lvm2.changes
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 22 07:10:10 UTC 2014 - lwang@suse.com
|
||||||
|
|
||||||
|
- delete lvm2-lvmetad.service from %service_add_pre/post and
|
||||||
|
%service_del_preun/postun to avoid lvm2-lvmetad.service running
|
||||||
|
when use_lvmetad=0. (bnc#901859)
|
||||||
|
- locking_type is set to 3(clustered lock) by default will output
|
||||||
|
warning message if cmirrord is not running. Set to 1 to be same
|
||||||
|
with upstream. (bnc#906710)
|
||||||
|
- Set silent default to 0 to avoid some commands have no output
|
||||||
|
and to be same with upstream. (bnc#888798)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 8 21:19:13 UTC 2014 - jengelh@inai.de
|
Mon Dec 8 21:19:13 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -244,22 +244,22 @@ pushd thin-provisioning-tools-%{thin_provisioning_version}
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service
|
%service_add_pre blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%{?regenerate_initrd_post}
|
%{?regenerate_initrd_post}
|
||||||
%service_add_post blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service
|
%service_add_post blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
%{?regenerate_initrd_posttrans}
|
%{?regenerate_initrd_posttrans}
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun blk-availability.service lvm2-monitor.service lvm2-lvmetad.service lvm2-lvmetad.socket
|
%service_del_preun blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%service_del_postun lvm2-lvmetad.service blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket
|
%service_del_postun blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user