Commit Graph

45 Commits

Author SHA256 Message Date
James Fehlig
28c58ae561 Accepting request 932182 from home:jsegitz:branches:systemdhardening:Virtualization
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/932182
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=67
2021-11-29 22:11:50 +00:00
James Fehlig
728dc4e053 Accepting request 898904 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.4
  - sanlock: socket send and recv retries
  - python: expose {get,set}_lvb
  - sanlock: Shrink thread pool when there is no work
  - config: Add max_worker_threads

OBS-URL: https://build.opensuse.org/request/show/898904
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=65
2021-06-09 22:24:29 +00:00
James Fehlig
d0f2017906 Accepting request 843688 from home:bnavigator:branches:Virtualization
-  Make python subpackage ready for multiple python3 flavors
   using the multibuild feature gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/843688
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=63
2020-10-27 22:41:41 +00:00
James Fehlig
6bcd7e7869 Accepting request 828552 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.2
  - Remove extra link args
  - Add write_init_io_timeout
  - Disable high_priority SCHED_RR by default
  - Dropped patches:
    sanlock-lto-disable-fpie.patch
- Add tar_scm source service and use xz compression

OBS-URL: https://build.opensuse.org/request/show/828552
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=61
2020-08-21 17:07:44 +00:00
James Fehlig
64349bd16a Accepting request 820767 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.1
  - python: add flake8 env
  - Add client debug logging
  _ Add per command debug logging
  - Misc bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/820767
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=59
2020-07-13 22:36:18 +00:00
James Fehlig
ba55dc992e Accepting request 723915 from home:dimstar:Factory
Needed to fix failure in Staging:C with new util-linux

OBS-URL: https://build.opensuse.org/request/show/723915
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=57
2019-08-16 13:18:32 +00:00
James Fehlig
8a6b3be298 Accepting request 711807 from home:marxin:branches:Virtualization
- Add sanlock-lto-disable-fpie.patch in order to handle
  boo#1138836. Extra -fPIE is stripped.

OBS-URL: https://build.opensuse.org/request/show/711807
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=55
2019-06-25 14:44:52 +00:00
James Fehlig
c7a785ce92 Accepting request 710440 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.0
  - Add support for python 3
  - Add support for 4k sector size
  - More API test coverage
  - Misc bug fixes and improvements
  - Dropped patches:
    revert-5d535c0d-py2.patch, sanlock-python3.patch

OBS-URL: https://build.opensuse.org/request/show/710440
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=53
2019-06-17 22:41:08 +00:00
James Fehlig
82b744757f Accepting request 694649 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.7.1
  - Fix bugs in read_resource_owners

OBS-URL: https://build.opensuse.org/request/show/694649
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=51
2019-04-15 23:12:22 +00:00
James Fehlig
9d5d31947e fixup of last changelog entry
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=49
2019-03-21 23:47:39 +00:00
James Fehlig
f7c6cf369e Accepting request 687475 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.7.0
  - allow setting max_sectors_kb
  - configurable sector size and align size
  - support SANLOCK_RUN_DIR and SANLOCK_PRIVILEGED environment
    variables
  - Dropped patches:
    sanlock-old_blkid.patch, suse-fix-link-errors.patch

OBS-URL: https://build.opensuse.org/request/show/687475
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=48
2019-03-21 23:40:06 +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
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
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
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
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
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
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