fix start cobbler 3.2.3 failed
This commit is contained in:
parent
03d6eb7172
commit
7e31d6219e
@ -1,24 +0,0 @@
|
|||||||
From 22a896bea11ef4627222b69056a8b3d9dba0ddee Mon Sep 17 00:00:00 2001
|
|
||||||
From: sun_hai_10 <sunhai10@huawei.com>
|
|
||||||
Date: Fri, 28 Mar 2025 01:56:16 +0800
|
|
||||||
Subject: [PATCH] change permission with web.ss
|
|
||||||
|
|
||||||
---
|
|
||||||
cobbler/cobblerd.py | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/cobbler/cobblerd.py b/cobbler/cobblerd.py
|
|
||||||
index df2f4f6..1dd87c8 100644
|
|
||||||
--- a/cobbler/cobblerd.py
|
|
||||||
+++ b/cobbler/cobblerd.py
|
|
||||||
@@ -53,6 +53,7 @@ def regen_ss_file():
|
|
||||||
|
|
||||||
with open(ssfile, 'w', 0o640, encoding="UTF-8") as fd:
|
|
||||||
fd.write(str(binascii.hexlify(data)))
|
|
||||||
+ os.chmod(ssfiile, 0o660)
|
|
||||||
|
|
||||||
http_user = "apache"
|
|
||||||
family = utils.get_family()
|
|
||||||
--
|
|
||||||
2.43.0
|
|
||||||
|
|
||||||
10
cobbler.spec
10
cobbler.spec
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: cobbler
|
Name: cobbler
|
||||||
Version: 3.2.3
|
Version: 3.2.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Boot server configurator
|
Summary: Boot server configurator
|
||||||
URL: https://cobbler.github.io/
|
URL: https://cobbler.github.io/
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -13,7 +13,7 @@ BuildArch: noarch
|
|||||||
|
|
||||||
Patch9000: huawei-adapt-vendor.patch
|
Patch9000: huawei-adapt-vendor.patch
|
||||||
Patch9001: huawei-repair-switch-condition-error.patch
|
Patch9001: huawei-repair-switch-condition-error.patch
|
||||||
Patch9002: bugfix-change-permission-with-web.ss.patch
|
|
||||||
Patch6001: backport-Fix-package-building-with-Sphinx.patch
|
Patch6001: backport-Fix-package-building-with-Sphinx.patch
|
||||||
|
|
||||||
BuildRequires: system-release
|
BuildRequires: system-release
|
||||||
@ -207,6 +207,12 @@ sed -i -e "s/SECRET_KEY = ''/SECRET_KEY = \'$RAND_SECRET\'/" %{_datadir}/cobbler
|
|||||||
%attr(-,apache,apache) /var/www/cobbler_webui_content/
|
%attr(-,apache,apache) /var/www/cobbler_webui_content/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 23 2025 sunhai <sunhai10@huawei.com> - 3.2.3-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix start cobbler failed
|
||||||
|
|
||||||
* Tue Apr 22 2025 sunhai <sunhai10@huawei.com> - 3.2.3-1
|
* Tue Apr 22 2025 sunhai <sunhai10@huawei.com> - 3.2.3-1
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user