bugSystem V style init programs - Bugs: bug #40029, please support site-local init...

 
 

bug #40029: please support site-local init scripts under /usr/local/etc

Submitted by:  Ximin Luo <infinity0>
Submitted on:  Sat 14 Sep 2013 12:40:02 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 14 Sep 2013 12:40:02 PM UTC, original submission:

At the moment, recommended practise for site-local initscripts is to install them under /etc/init.d like everything else. This is inconsistent with the separation in FHS between the base system in / and /usr vs site-local packages in /usr/local.

`man hier` says /usr/local/etc is for "Configuration files associated with locally installed programs". This includes site-local initscripts, and contrasts with "config files for system packages". (All config files are "site-local" so that is not relevant here; it is the "site-local" property of the underlying package that is relevant.)

FreeBSD supports /usr/local/etc/rc.d to be consistent with their separation, see [1]. Granted, FreeBSD separates things differently (base system in /usr vs packages/ports/site-local in /usr/local) but the point remains that their separation is consistent and the latter's initscripts are in /usr/local/etc

Additionally, since ${prefix} is by default /usr/local in a build system, a package which tries to install an initscript will by default (i.e. when configured manually for site-local use) install it to /usr/local/etc/init.d but this won't be picked up by sysvinit.

[1] http://www.freebsd.org/doc/en/articles/linux-users/startup.html

Ximin Luo <infinity0>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by infinity0 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup