Commit Graph

47 Commits

Author SHA256 Message Date
Dominique Leuenberger
5d1ea11b82 Accepting request 591650 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/591650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=18
2018-03-30 09:59:27 +00:00
James Fehlig
92e72bfed7 Accepting request 591649 from home:jfehlig:branches:Virtualization
- Fix module initialization to work with both python2 and python3
  Updated sanlock-python3.patch
  bsc#1076414

- Add code to build with both python2 and python3 bindings with
  provided condition so we can later on optionalize python2 builds
  sanlock-python3.patch
  bsc#1076414

- Cleanup with spec-cleaner (only support SLE12 and newer)
- Add -fno-strict-aliasing to python subpkg
- Create rcsanlk-resetd link for the service control

OBS-URL: https://build.opensuse.org/request/show/591649
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=46
2018-03-27 14:48:02 +00:00
Dominique Leuenberger
5254a45602 Accepting request 554610 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/554610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=17
2017-12-12 20:16:54 +00:00
James Fehlig
107c6db1f9 Accepting request 554609 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.6.0
  - preserve dblock values when setting shared flag
  - fix detection of shared lease
  - fix release interference with paxos
  - retry ballot when new lver is seen
  - add a NOWAIT flag for convert

OBS-URL: https://build.opensuse.org/request/show/554609
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=44
2017-12-05 19:02:08 +00:00
Dominique Leuenberger
b4bf2e00fa Accepting request 545093 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/545093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=16
2017-11-30 11:40:42 +00:00
c2aea8bfbf Accepting request 544763 from home:RBrownSUSE:branches:Virtualization
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544763
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=42
2017-11-24 09:58:09 +00:00
Dominique Leuenberger
ef18ecc7bf Accepting request 501828 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/501828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=15
2017-06-17 08:20:31 +00:00
James Fehlig
9e6162062e Accepting request 501827 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.5.0
  - increase open file limit to 2048
  - add option to log UTC timestamps
  - doc improvements
- Remove support for old, non-systemd distros

OBS-URL: https://build.opensuse.org/request/show/501827
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=40
2017-06-07 23:24:30 +00:00
Yuchen Lin
ccea45f802 Accepting request 487143 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/487143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=14
2017-04-17 08:22:23 +00:00
James Fehlig
95451a96b2 Accepting request 486659 from home:jengelh:branches:Virtualization
- Remove redundant %if guards around %package and scriptlets.
  They are only really needed for %files.
- Replace $RPM_ shell vars by modern macros.
- Trim descriptions a little.

OBS-URL: https://build.opensuse.org/request/show/486659
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=38
2017-04-10 20:54:42 +00:00
James Fehlig
534fe664ad fix typo in changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=37
2017-04-03 15:45:46 +00:00
James Fehlig
88af9ec68d - spec: fix permisssions on config files
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=36
2017-04-03 15:44:34 +00:00
James Fehlig
a1a50e1c49 - Use System/Base in fence and reset subpackages
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=35
2017-04-03 15:32:51 +00:00
James Fehlig
9868a10d1e Accepting request 484795 from home:pluskalm:branches:Virtualization
- Use correct permissions on unit files (bsc#1032046)

OBS-URL: https://build.opensuse.org/request/show/484795
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=34
2017-04-03 15:26:48 +00:00
James Fehlig
a25cdb433d Accepting request 483281 from home:msmeissn:branches:Virtualization
- prerequire groupadd and useradd.

OBS-URL: https://build.opensuse.org/request/show/483281
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=33
2017-03-29 15:10:27 +00:00
Yuchen Lin
2acf14c748 Accepting request 482340 from Virtualization
Another Factory submission for sanlock. Supersedes 482020.

- Update to sanlock 3.4.0
- Enable fence_sanlockd so that lvm2 can use the new lvmlocked
  feature in cluster environment
  * fix unpackaged file - /usr/sbin/rcfence_sanlockd
  * refresh suse-no-date-time.patch to cover the same issue
    in fence_sanlockd
  * adjust fence_sanlockd.init and suse-systemd.patch
- Enable sanlk-reset subpackage 
- Fix "undefined symbol to io_suspend" at runtime, bsc#1030060
  suse-fix-link-errors.patch

- Add group disk as Prerequires

OBS-URL: https://build.opensuse.org/request/show/482340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=13
2017-03-29 11:21:47 +00:00
James Fehlig
4666b55e11 remove invalide URL prefix from sanlock tarball name
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=31
2017-03-23 17:00:01 +00:00
James Fehlig
99cb1fa5f7 sanlock sources moved to https://pagure.io/sanlock
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=30
2017-03-22 15:45:41 +00:00
James Fehlig
b921ae3f65 Minor changelog tidying
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=29
2017-03-22 14:40:05 +00:00
James Fehlig
7699c03a36 Accepting request 481647 from home:ZRen:branches:Virtualization
- Update to sanlock 3.4.0
- Enable fence_sanlockd so that lvm2 can use the new lvmlocked
  feature in cluster environment
  * fix unpackaged file - /usr/sbin/rcfence_sanlockd
  * refresh suse-no-date-time.patch to cover the same issue
  in fence_sanlockd
  * adjust fence_sanlockd.init and suse-systemd.patch
- Enable sanlk-reset subpackage 
- Fix "undefined symbol to io_suspend" at runtime, bsc#1030060
  suse-fix-link-errors.patch

OBS-URL: https://build.opensuse.org/request/show/481647
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=28
2017-03-21 21:32:03 +00:00
James Fehlig
cc984a4d6c Accepting request 478718 from home:kukuk:branches:Virtualization
Adjust for new system-users RPM

OBS-URL: https://build.opensuse.org/request/show/478718
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=27
2017-03-16 14:45:58 +00:00
Dominique Leuenberger
fa99d996cd Accepting request 313902 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/313902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=12
2015-06-30 08:17:10 +00:00
James Fehlig
374ed6e8df - Update to sanlock 3.2.4
- Add conf file sanlock.conf
  - Add pkgconfig files
  - Numerous improvements and bug fixes.  For details, see
    https://git.fedorahosted.org/cgit/sanlock.git/log/

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=25
2015-06-19 18:04:42 +00:00
Dominique Leuenberger
fc496063b1 Accepting request 292524 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/292524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=11
2015-03-27 08:40:07 +00:00
James Fehlig
a2ab379904 Accepting request 292230 from home:posophe:branches:Virtualization
update

OBS-URL: https://build.opensuse.org/request/show/292230
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=23
2015-03-23 19:57:16 +00:00
Stephan Kulow
013ae55e78 Accepting request 213524 from Virtualization
Updated sanlock package for Factory / SLE12 alpha2.

- Update to sanlock 3.1.0
  - fix debug status for add/rem lockspace
  - add_lockspace error for conflicting lockspace definitions
  - transient timeout handling in acquire and release
  - allow more than 8 resources per client
  - fix spaces in path names

OBS-URL: https://build.opensuse.org/request/show/213524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=9
2014-01-14 14:12:44 +00:00
James Fehlig
7cb3448ec1 - Update to sanlock 3.1.0
- fix debug status for add/rem lockspace
  - add_lockspace error for conflicting lockspace definitions
  - transient timeout handling in acquire and release
  - allow more than 8 resources per client
  - fix spaces in path names

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=21
2014-01-10 17:33:48 +00:00
Tomáš Chvátal
72c1ef12ae Accepting request 186515 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/186515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=7
2013-08-12 12:26:14 +00:00
James Fehlig
09f5ad0288 - Update to sanlock 3.0.1
- Add lvb feature
  - Various bug fixes and improvements
  - Drop upstream patch 0001-fix-systemd-service-files.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=19
2013-08-01 22:48:51 +00:00
Stephan Kulow
66fb8e665d Accepting request 156919 from Virtualization
update license to new format (forwarded request 156918 from coolo)

OBS-URL: https://build.opensuse.org/request/show/156919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=6
2013-03-03 20:08:31 +00:00
Olaf Hering
51ac7c8dce Accepting request 156918 from openSUSE:Factory:Staging:spdx
update license to new format

OBS-URL: https://build.opensuse.org/request/show/156918
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=17
2013-03-01 06:27:57 +00:00
Stephan Kulow
cbad02e580 Accepting request 145056 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/145056
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=4
2012-12-19 12:22:31 +00:00
James Fehlig
1dfd85810b - Update to sanlock 2.6
- Add fence_sanlock, a fence agent that uses /dev/watchdog to
    reset hosts (currently disabled)
  - Various bug fixes and improvements

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=15
2012-12-03 22:15:47 +00:00
Stephan Kulow
93dc4b4f72 Accepting request 109771 from Virtualization
- Update to sanlock 2.1
  - python: release leases for other processes
  - python: add shared resource parameter to acquire
  - add a logrotate file
  - status for all shared tokens
  - retry transient sh failures
  - fix inquire state string

OBS-URL: https://build.opensuse.org/request/show/109771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=2
2012-03-20 10:35:26 +00:00
James Fehlig
60c3e5e0b3 - Update to sanlock 2.1
- python: release leases for other processes
  - python: add shared resource parameter to acquire
  - add a logrotate file
  - status for all shared tokens
  - retry transient sh failures
  - fix inquire state string

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=13
2012-03-13 18:08:11 +00:00
Stephan Kulow
2dd1b4ed39 Accepting request 101564 from Virtualization
New sanlock package that, in conjunction with libvirt, provides
ability to "lock" KVM virtual machines.  Without this feature,
it is possible to start a VM on more than one host, resulting in
corruption of the VM's disk image.  See FATE#306399.

OBS-URL: https://build.opensuse.org/request/show/101564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=1
2012-01-27 14:24:17 +00:00
James Fehlig
fcbad5080b - Fixed init script packaging
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=11
2012-01-25 18:04:47 +00:00
James Fehlig
8876b30f89 Fixed specification of licenses
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=10
2012-01-23 18:36:21 +00:00
James Fehlig
f5e6017c30 - Fixed specification of licenses
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=9
2012-01-23 18:23:00 +00:00
James Fehlig
54178d4fbf - Source sanlock tarball instead of download URL
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=8
2012-01-23 16:43:47 +00:00
James Fehlig
57fd50a370 - Don't use __DATE__ and __TIME__ macros when printing version
- Don't add user 'sanlock' for now

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=7
2012-01-20 22:40:06 +00:00
James Fehlig
d73f369410 spec file fix
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=6
2012-01-20 01:38:32 +00:00
James Fehlig
83dabbae74 - Fix some rpmlint warnings
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=5
2012-01-20 01:07:06 +00:00
James Fehlig
d59465cf9e spec file fix
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=4
2012-01-20 00:36:35 +00:00
James Fehlig
85b7dd53be - Add support for systemd
- Add /etc/sysconfig/sanlock configuration file

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=3
2012-01-20 00:08:24 +00:00
James Fehlig
c3db1be504 Pass '-g sanlock' option to wdmd
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=2
2012-01-19 23:26:01 +00:00
James Fehlig
52c43cd53d Initial sanlock package for openSUSE
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=1
2012-01-18 22:10:06 +00:00