3 Commits

Author SHA256 Message Date
9e7bfc85e2 drbd: sync factory SR 1327106 and 1318578
https://build.opensuse.org/request/show/1327106
- drbd-selinux: change arch from x86_64 to noarch
  * Update drbd-utils.spec:  add "BuildArch: noarch"

https://build.opensuse.org/requests/1318578
- Update SELinux module dir as macro to allow root path move from /var/lib/selinux
  to /etc/selinux (bsc#1221342)

update bsc-1233273-1252991_drbd.ocf-update-for-OCF-1.1.patch
- sync with facotry, update commit log subject only (no code change)
2026-01-15 10:35:47 +08:00
Su Yue
7559ade8ad sync OBS request 1318531 and 1318206 from network:ha-clustering:Factory
https://build.opensuse.org/requests/1318531
- [SELinux] nfs_drbd: "fence-peer helper broken, returned 0" and nfs WRITE hang when power off the secondary node (bsc#1252991)
  * Update and rename patch
    - bsc-1233273_drbd.ocf-update-for-OCF-1.1.patch
    + bsc-1233273-1252991_drbd.ocf-update-for-OCF-1.1.patch

https://build.opensuse.org/request/show/1318206
- Allow domtrans from kernel_t to drbd_t (bsc#1252991)
  * add patch
    - 1252991-selinux-domtrans-from-kernel.patch

Signed-off-by: Su Yue <glass.su@suse.com>
2025-11-19 12:05:23 +08:00
d55ea56963 drbd: sync factory changes for fixing bsc#1247534
drbd_passive didn't start due to drbd.rules returning error (bsc#1247534)
- add patch:
   bsc-1247534_drbd-didnt-start-due-to-drbd_rules-returning-err.patch
- remove patch:
   bsc-1239437_drbd.rules-fix-missing-udev-device.patch

Signed-off-by: Heming Zhao <heming.zhao@suse.com>
2025-10-14 15:44:16 +08:00
3 changed files with 16 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
From 8c53c6777e4336f1d4e50279dc539ed70aa04f33 Mon Sep 17 00:00:00 2001
From: Su Yue <glass.su@suse.com>
Date: Sun, 7 Jul 2024 16:52:18 +0800
Subject: [PATCH] update for OCF 1.1
Subject: [PATCH] drbd.ocf: update for OCF 1.1
According to [1], the commit
1. bumps drbd ocf version to 1.5

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Jan 13 11:47:08 UTC 2026 - heming zhao <heming.zhao@suse.com>
- drbd-selinux: change arch from x86_64 to noarch
* Update drbd-utils.spec: add "BuildArch: noarch"
-------------------------------------------------------------------
Thu Nov 19 08:32:12 UTC 2025 - Zdenek Kubala <zkubala@suse.com>
- Update SELinux module dir as macro to allow root path move from /var/lib/selinux
to /etc/selinux (bsc#1221342)
-------------------------------------------------------------------
Tue Nov 18 08:43:39 UTC 2025 - Glass Su <glass.su@suse.com>

View File

@@ -1,6 +1,7 @@
#
# spec file for package drbd-utils
#
# Copyright (c) 2026 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
@@ -170,6 +171,7 @@ rm -rf %{buildroot}%{libdir}/drbd/crm-*fence-peer.sh # bsc#1204276
%package -n drbd-selinux
Summary: SElinux policy for DRBD
BuildArch: noarch
BuildRequires: checkpolicy
BuildRequires: selinux-policy
BuildRequires: selinux-policy-%{selinuxtype}
@@ -183,7 +185,7 @@ drbd-selinux contains the SELinux policy meant to be used with this version of D
%files -n drbd-selinux
%attr(0644,root,root) %{_datadir}/selinux/packages/%{selinuxmodulename}.pp.bz2
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{selinuxmodulename}
%ghost %{_selinux_store_path}/%{selinuxtype}/active/modules/200/%{selinuxmodulename}
%pre -n drbd-selinux
%selinux_relabel_pre -s %{selinuxtype}