Bug 153188 - init.d directory
init.d directory
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: xen (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Rik van Riel
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-02 06:35 EST by Florian La Roche
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-04 20:46:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Florian La Roche 2005-04-02 06:35:53 EST
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 10:10:35 EST
I just applied the patch, it will be in the next Xen RPM.  Thank you.

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