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"

Submitter:  None
Submitted:  Fri 21 Jun 2013 06:48:09 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  newguy
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 08 Nov 2018 11:33:56 PM UTC, comment #2: 

It has been about six months with no follow-up. Am going to close this report.

Should someone come forward with a patch for renaming init or have a strong technical reason for having multiple programs called /sbin/init on the same machine, please open a new issue and we can discuss it again.

Jesse <newguy>
Group administrator
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>
Group administrator
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
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-08 newguy StatusNeed Info Wont Fix
        Open/ClosedOpen Closed
    2018-04-17 newguy StatusNone Need Info
        Assigned toNone newguy
    2013-06-21 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.13-3230.
    Corresponding source code