pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0001-No-need-to-call-rhel-specific-domainname-service.patch

a6f99c
From b3378c32603e83ea3d4651cee3af99e644a30457 Mon Sep 17 00:00:00 2001
a6f99c
From: Rob Crittenden <rcritten@redhat.com>
a6f99c
Date: Fri, 20 Jul 2018 11:06:55 -0400
a6f99c
Subject: [PATCH] No need to call rhel-specific domainname service
a6f99c
a6f99c
It was moved upstream into hostname package which named it
a6f99c
nis-domainname. When it was in the initscripts package there were
a6f99c
separate fedora-domainname and rhel-domainname services.
a6f99c
a6f99c
From F29+ it will be nis-domainname. We can use that as well in
a6f99c
RHEL 8.
a6f99c
---
a6f99c
 ipaplatform/rhel/services.py | 3 ---
a6f99c
 1 file changed, 3 deletions(-)
a6f99c
a6f99c
diff --git a/ipaplatform/rhel/services.py b/ipaplatform/rhel/services.py
a6f99c
index 1403d08..06fa633 100644
a6f99c
--- a/ipaplatform/rhel/services.py
a6f99c
+++ b/ipaplatform/rhel/services.py
a6f99c
@@ -30,9 +30,6 @@ from ipaplatform.redhat import services as redhat_services
a6f99c
 # to their actual systemd service names
a6f99c
 rhel_system_units = redhat_services.redhat_system_units
a6f99c
 
a6f99c
-# Service that sets domainname on RHEL is called rhel-domainname.service
a6f99c
-rhel_system_units['domainname'] = 'rhel-domainname.service'
a6f99c
-
a6f99c
 
a6f99c
 # Service classes that implement RHEL-specific behaviour
a6f99c
 
a6f99c
-- 
a6f99c
2.13.6
a6f99c