Bug 1071969 - rhel-domainname service should use DefaultDependencies=no
Summary: rhel-domainname service should use DefaultDependencies=no
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: initscripts
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: ---
Assignee: initscripts Maintenance Team
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On: 1071951
Blocks: 1139277
TreeView+ depends on / blocked
 
Reported: 2014-03-03 15:15 UTC by Lukáš Nykrýn
Modified: 2019-06-13 07:57 UTC (History)
10 users (show)

Fixed In Version: initscripts-9.49.18-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1071951
Environment:
Last Closed: 2015-03-05 10:52:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Article) 1276563 0 None None None Never
Red Hat Product Errata RHBA-2015:0471 0 normal SHIPPED_LIVE initscripts bug fix and enhancement update 2015-03-05 15:18:11 UTC

Description Lukáš Nykrýn 2014-03-03 15:15:15 UTC
+++ This bug was initially created as a clone of Bug #1071951 +++

Description of problem:

The fedora-domainname.service with default dependencies creates a cycle on system boot up, which makes systemd remove the fedora-domainname job. As a result, NIS domain name is not set (which is the sole purpose of this service).

Setting DefaultDependencies=no solves the issue.

Version-Release number of selected component (if applicable):

systemd-208-14.fc20.x86_64

How reproducible:
always

Steps to Reproduce:
1. # systemctl enable fedora-domainname.service
2. # reboot

Actual results:

fedora-domainname is not started on startup

Expected results:

fedora-domainname is started

Comment 4 Leos Pol 2015-01-07 13:08:36 UTC
# rpm -q initscripts
initscripts-9.49.23-1.el7.x86_64

# systemctl enable rhel-domainname
ln -s '/usr/lib/systemd/system/rhel-domainname.service' '/etc/systemd/system/sysinit.target.wants/rhel-domainname.service'
# reboot
...
# systemctl status rhel-domainname
rhel-domainname.service - Read and set NIS domainname from /etc/sysconfig/network
   Loaded: loaded (/usr/lib/systemd/system/rhel-domainname.service; enabled)
   Active: active (exited) since St 2015-01-07 07:53:45 EST; 4min 15s ago
  Process: 439 ExecStart=/lib/systemd/rhel-domainname (code=exited, status=0/SUCCESS)
 Main PID: 439 (code=exited, status=0/SUCCESS)

Comment 6 errata-xmlrpc 2015-03-05 10:52:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0471.html


Note You need to log in before you can comment on or make changes to this bug.