[Bug 915215] Re: rc.local should support a runparts of rc.local.d

Scott Moser smoser at ubuntu.com
Mon Jan 30 16:21:40 UTC 2012


** Changed in: sysvinit (Ubuntu)
       Status: New => In Progress

** Changed in: sysvinit (Ubuntu)
   Importance: Undecided => Low

** Changed in: sysvinit (Ubuntu)
     Assignee: (unassigned) => Scott Moser (smoser)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/915215

Title:
  rc.local should support a runparts of rc.local.d

Status in “sysvinit” package in Ubuntu:
  In Progress

Bug description:
  the current rc.local script that gets installed is difficult to work
  with.

  For doing simple things like "i just want to run this at the  end of
  boot", the 'exit 0' at the end means  that human editing is almost
  required to do so without possibly breaking other content that might
  be in it.

  ie, right now we have:
  ---
  #!/bin/sh
  # some comments here

  exit 0
  ----

  that makes it very difficult to add a command.

  2 solutions for this:
  1.) drop 'exit 0', its completely unnecessary
  2.) support runparts

  runparts means something that wants to simply add a script can do so,
  and it can easily be deleted.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: initscripts 2.88dsf-13.10ubuntu8
  ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
  Uname: Linux 3.2.0-7-generic x86_64
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Thu Jan 12 10:12:59 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: sysvinit
  UpgradeStatus: Upgraded to precise on 2011-11-07 (65 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/915215/+subscriptions




More information about the foundations-bugs mailing list