bugSystem V style init programs - Bugs: bug #39312, Rename init provided by sysvinit...

 
 

bug #39312: Rename init provided by sysvinit to something different to "/sbin/init"

Submitted by:  None
Submitted on:  Fri 21 Jun 2013 06:48:09 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  Jesse <newguy>
Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 17 Apr 2018 11:03:54 PM UTC, comment #1:

I have two concerns here:

1. The name /sbin/init is either a standard or de facto standard of UNIX-like systems. Renaming init is probably not a good idea.

2. Most other init implementations already have different names to set them apart from SysV init. systemd, openrc and runit I think all use their own names, leaving the name "init" relatively free for us to use, unless you're on BSD.

We probably could allow init to be renamed, but it seems to have little payoff in exchange for moving around our path definitions. Are there existing cases where other init implementations are clashing with SysV init for the path /sbin/init?

I checked the patch linked below, but it's not available on the Sabayon GitHub page anymore. If it resurfaces and doesn't break anything I'd be willing to test the patch and include it. But I want to make sure there is a practical use case for adding it.

Jesse <newguy>
Project MemberIn charge of this item.
Fri 21 Jun 2013 06:48:09 PM UTC, original submission:

Since there are many init providers, would be interesting to be able to set /sbin/init (used by kernel as fallback in some situations) to the init being used by each setup.

For that, would be interesting to allow sysvinit to (optionally if you prefer) install init file with a different name (or under a different place) letting downstream maintainers to easily choose what init want to run.

Currently, on Sabayon they are tweaking src/paths.h and src/init.h to do that (search by "rename" in https://raw.github.com/Sabayon/systemd-love/master/sys-apps/sysvinit/sysvinit-2.88-r8.ebuild), but an upstream solution could be interesting to show a unified way to do this.

Thanks a lot!

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by newguy (Posted a comment)
  • -email is unavailable- added by pacho
  • -email is unavailable- added by pacho
  • -email is unavailable- added by pacho
  •  

    Do you think this task is very important?
    If so, you can 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):

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Tue 17 Apr 2018 11:03:54 PM UTC newguy StatusNone => Need Info
        Assigned toNone => newguy
    Fri 21 Jun 2013 06:49:13 PM UTC pacho Carbon-Copy- => Added -email is unavailable-
        Carbon-Copy- => Added -email is unavailable-
        Carbon-Copy- => Added -email is unavailable-

    Back to the top


    Powered by Savane 3.3