Commit Graph

28 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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