Compare commits
No commits in common. "imports/c9/subscription-manager-1.29.33.1-2.el9_2" and "c8" have entirely different histories.
imports/c9
...
c8
|
@ -1 +1 @@
|
||||||
SOURCES/subscription-manager-1.29.33.1.tar.gz
|
SOURCES/subscription-manager-1.28.42.tar.gz
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
38881af878868368653d5998ce98adc45e82b7cf SOURCES/subscription-manager-1.29.33.1.tar.gz
|
|
|
@ -1,99 +0,0 @@
|
||||||
diff --git a/etc-conf/dbus/system.d/com.redhat.RHSM1.conf b/etc-conf/dbus/system.d/com.redhat.RHSM1.conf
|
|
||||||
index e21c57263..11adf1d79 100644
|
|
||||||
--- a/etc-conf/dbus/system.d/com.redhat.RHSM1.conf
|
|
||||||
+++ b/etc-conf/dbus/system.d/com.redhat.RHSM1.conf
|
|
||||||
@@ -7,23 +7,9 @@
|
|
||||||
<policy user="root">
|
|
||||||
<allow own="com.redhat.RHSM1"/>
|
|
||||||
|
|
||||||
- <!-- Basic D-Bus API stuff -->
|
|
||||||
- <allow send_destination="com.redhat.RHSM1"
|
|
||||||
- send_interface="org.freedesktop.DBus.Introspectable"/>
|
|
||||||
- <allow send_destination="com.redhat.RHSM1"
|
|
||||||
- send_interface="org.freedesktop.DBus.Properties"/>
|
|
||||||
- <allow send_destination="com.redhat.RHSM1"
|
|
||||||
- send_interface="org.freedesktop.DBus.ObjectManager"/>
|
|
||||||
-
|
|
||||||
- <!-- allow Config.Set from root -->
|
|
||||||
- <allow send_destination="com.redhat.RHSM1"
|
|
||||||
- send_interface="com.redhat.RHSM1.Config"
|
|
||||||
- send_member="Set"/>
|
|
||||||
- </policy>
|
|
||||||
-
|
|
||||||
-
|
|
||||||
- <policy context="default">
|
|
||||||
- <!-- TODO: make these read-only by default -->
|
|
||||||
+ <!--
|
|
||||||
+ Lock down the objects to root access only
|
|
||||||
+ -->
|
|
||||||
|
|
||||||
<allow send_destination="com.redhat.RHSM1"
|
|
||||||
send_interface="com.redhat.RHSM1"/>
|
|
||||||
@@ -37,11 +23,6 @@
|
|
||||||
<allow send_destination="com.redhat.RHSM1"
|
|
||||||
send_interface="com.redhat.RHSM1.Config"/>
|
|
||||||
|
|
||||||
- <!-- deny Config.Set by default -->
|
|
||||||
- <deny send_destination="com.redhat.RHSM1"
|
|
||||||
- send_interface="com.redhat.RHSM1.Config"
|
|
||||||
- send_member="Set"/>
|
|
||||||
-
|
|
||||||
<allow send_destination="com.redhat.RHSM1"
|
|
||||||
send_interface="com.redhat.RHSM1.RegisterServer"/>
|
|
||||||
|
|
||||||
@@ -65,5 +46,54 @@
|
|
||||||
<allow send_destination="com.redhat.RHSM1"
|
|
||||||
send_interface="org.freedesktop.DBus.ObjectManager"/>
|
|
||||||
</policy>
|
|
||||||
-</busconfig>
|
|
||||||
|
|
||||||
+
|
|
||||||
+ <policy context="default">
|
|
||||||
+
|
|
||||||
+ <!--
|
|
||||||
+ Non-root users can execute only methods providing
|
|
||||||
+ information from files readable by non-root users.
|
|
||||||
+ -->
|
|
||||||
+
|
|
||||||
+ <allow send_destination="com.redhat.RHSM1"
|
|
||||||
+ send_interface="com.redhat.RHSM1.Entitlement"
|
|
||||||
+ send_member="GetStatus"/>
|
|
||||||
+
|
|
||||||
+ <allow send_destination="com.redhat.RHSM1"
|
|
||||||
+ send_interface="com.redhat.RHSM1.Products"
|
|
||||||
+ send_member="ListInstalledProducts"/>
|
|
||||||
+
|
|
||||||
+ <allow send_destination="com.redhat.RHSM1"
|
|
||||||
+ send_interface="com.redhat.RHSM1.Syspurpose"
|
|
||||||
+ send_member="GetSyspurpose"/>
|
|
||||||
+
|
|
||||||
+ <allow send_destination="com.redhat.RHSM1"
|
|
||||||
+ send_interface="com.redhat.RHSM1.Syspurpose"
|
|
||||||
+ send_member="GetSyspurposeStatus"/>
|
|
||||||
+
|
|
||||||
+ <allow send_destination="com.redhat.RHSM1"
|
|
||||||
+ send_interface="com.redhat.RHSM1.Config"
|
|
||||||
+ send_member="GetAll"/>
|
|
||||||
+
|
|
||||||
+ <allow send_destination="com.redhat.RHSM1"
|
|
||||||
+ send_interface="com.redhat.RHSM1.Config"
|
|
||||||
+ send_member="Get"/>
|
|
||||||
+
|
|
||||||
+ <!--
|
|
||||||
+ The UUID returned by following method is read
|
|
||||||
+ from consumer cert. Only this file is not
|
|
||||||
+ readable by non-root users.
|
|
||||||
+ -->
|
|
||||||
+ <allow send_destination="com.redhat.RHSM1"
|
|
||||||
+ send_interface="com.redhat.RHSM1.Consumer"
|
|
||||||
+ send_member="GetUuid"/>
|
|
||||||
+
|
|
||||||
+ <!-- Basic D-Bus API stuff -->
|
|
||||||
+ <allow send_destination="com.redhat.RHSM1"
|
|
||||||
+ send_interface="org.freedesktop.DBus.Introspectable"/>
|
|
||||||
+ <allow send_destination="com.redhat.RHSM1"
|
|
||||||
+ send_interface="org.freedesktop.DBus.Properties"/>
|
|
||||||
+ <allow send_destination="com.redhat.RHSM1"
|
|
||||||
+ send_interface="org.freedesktop.DBus.ObjectManager"/>
|
|
||||||
+ </policy>
|
|
||||||
+</busconfig>
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
diff -aruN subscription-manager-1.28.29/etc-conf/subscription-manager-cockpit.desktop.in subscription-manager-1.28.29.alma/etc-conf/subscription-manager-cockpit.desktop.in
|
||||||
|
--- subscription-manager-1.28.29/etc-conf/subscription-manager-cockpit.desktop.in 2022-04-13 18:01:03.000000000 +0300
|
||||||
|
+++ subscription-manager-1.28.29.alma/etc-conf/subscription-manager-cockpit.desktop.in 2022-05-10 19:54:57.000000000 +0300
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
-_Name=Red Hat Subscription Manager
|
||||||
|
+_Name=Subscription Manager
|
||||||
|
Icon=subscription-manager
|
||||||
|
Type=Application
|
||||||
|
TryExec=/usr/libexec/cockpit-desktop
|
||||||
|
diff -aruN subscription-manager-1.28.29/etc-conf/subscription-manager-gui.desktop.in subscription-manager-1.28.29.alma/etc-conf/subscription-manager-gui.desktop.in
|
||||||
|
--- subscription-manager-1.28.29/etc-conf/subscription-manager-gui.desktop.in 2022-04-13 18:01:03.000000000 +0300
|
||||||
|
+++ subscription-manager-1.28.29.alma/etc-conf/subscription-manager-gui.desktop.in 2022-05-10 19:55:18.000000000 +0300
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
-_Name=Red Hat Subscription Manager
|
||||||
|
+_Name=Subscription Manager
|
||||||
|
Icon=subscription-manager
|
||||||
|
Exec=subscription-manager-gui
|
||||||
|
Terminal=false
|
||||||
|
diff -aruN subscription-manager-1.28.29/src/subscription_manager/repolib.py subscription-manager-1.28.29.alma/src/subscription_manager/repolib.py
|
||||||
|
--- subscription-manager-1.28.29/src/subscription_manager/repolib.py 2022-04-13 18:01:03.000000000 +0300
|
||||||
|
+++ subscription-manager-1.28.29.alma/src/subscription_manager/repolib.py 2022-05-10 20:01:44.000000000 +0300
|
||||||
|
@@ -87,7 +87,7 @@
|
||||||
|
@staticmethod
|
||||||
|
def warning_message(enabled_yum_plugins):
|
||||||
|
message = _('The yum/dnf plugins: %s were automatically enabled for the benefit of '
|
||||||
|
- 'Red Hat Subscription Management. If not desired, use '
|
||||||
|
+ 'Subscription Management. If not desired, use '
|
||||||
|
'"subscription-manager config --rhsm.auto_enable_yum_plugins=0" to '
|
||||||
|
'block this behavior.') % ', '.join(enabled_yum_plugins)
|
||||||
|
return message
|
|
@ -0,0 +1,16 @@
|
||||||
|
diff -Nurp subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py subscription-manager-1.27.11/src/subscription_manager/repofile.py
|
||||||
|
--- subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py 2020-07-28 11:06:10.000000000 -0500
|
||||||
|
+++ subscription-manager-1.27.11/src/subscription_manager/repofile.py 2020-08-05 16:48:00.911709258 -0500
|
||||||
|
@@ -368,11 +368,7 @@ class RepoFileBase(object):
|
||||||
|
Try to create new repo file.
|
||||||
|
:return: None
|
||||||
|
"""
|
||||||
|
- self.create_dir_path()
|
||||||
|
- if self.path_exists(self.path) or not self.manage_repos:
|
||||||
|
- return
|
||||||
|
- with open(self.path, 'w') as f:
|
||||||
|
- f.write(self.REPOFILE_HEADER)
|
||||||
|
+ pass
|
||||||
|
|
||||||
|
def fix_content(self, content):
|
||||||
|
return content
|
|
@ -0,0 +1,20 @@
|
||||||
|
diff --git a/etc-conf/syspurpose/valid_fields.json b/etc-conf/syspurpose/valid_fields.json
|
||||||
|
index 1ac7ea0e..305ec4b9 100644
|
||||||
|
--- a/etc-conf/syspurpose/valid_fields.json
|
||||||
|
+++ b/etc-conf/syspurpose/valid_fields.json
|
||||||
|
@@ -1,12 +1,10 @@
|
||||||
|
{
|
||||||
|
"role": [
|
||||||
|
- "Red Hat Enterprise Linux Server",
|
||||||
|
- "Red Hat Enterprise Linux Workstation",
|
||||||
|
- "Red Hat Enterprise Linux Compute Node"
|
||||||
|
+ "AlmaLinux Server",
|
||||||
|
+ "AlmaLinux Workstation",
|
||||||
|
+ "AlmaLinux Compute Node"
|
||||||
|
],
|
||||||
|
"service_level_agreement": [
|
||||||
|
- "Premium",
|
||||||
|
- "Standard",
|
||||||
|
"Self-Support"
|
||||||
|
],
|
||||||
|
"usage": [
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue