Bug 153188

Summary: init.d directory
Product: [Fedora] Fedora Reporter: Florian La Roche <laroche>
Component: xenAssignee: Rik van Riel <riel>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: sundaram
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-05 00:46:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Florian La Roche 2005-04-02 11:35:53 UTC
Description of problem: We usually have startup scripts still
in /etc/rc.d/init.d. Untested patch:

--- xen.spec    1 Apr 2005 03:38:40 -0000       1.33
+++ xen.spec    2 Apr 2005 11:34:26 -0000
@@ -16,6 +16,7 @@ BuildRequires: transfig libidn-devel zli
 BuildRequires: xorg-x11-devel python-devel ghostscript tetex-latex
 Requires: bridge-utils python-twisted
 Requires: python-abi = %{pyver}
+Prereq: chkconfig
 ExclusiveArch: i386

 %description
@@ -45,6 +46,10 @@ make DESTDIR=%{buildroot} install-xen in
 mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/xend-db/domain
 mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/xend-db/vnet

+### fixing startup-script dir
+mkdir -p %{buildroot}/etc/rc.d
+mv -f %{buildroot}/etc/init.d %{buildroot}/etc/rc.d/
+
 ### fixing the man
 install -d %{buildroot}%{_mandir}
 mv %{buildroot}/usr/man/* %{buildroot}%{_mandir}
@@ -86,8 +91,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man?/*.?.gz
 %dir %{_localstatedir}/lib/%{name}
 %{_localstatedir}/lib/%{name}/*
-%{_sysconfdir}/init.d/xend
-%{_sysconfdir}/init.d/xendomains
+%{_sysconfdir}/rc.d/init.d/xend
+%{_sysconfdir}/rc.d/init.d/xendomains
 %{_sysconfdir}/%{name}*

 %changelog



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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Rik van Riel 2005-04-02 15:10:35 UTC
I just applied the patch, it will be in the next Xen RPM.  Thank you.