[Bug 1261091] [NEW] [Ubuntu Touch] rc.local should be in /etc/writable

David Keaton 1261091 at bugs.launchpad.net
Sun Dec 15 05:02:42 UTC 2013


Public bug reported:

In Ubuntu Touch, /etc/rc.local is on a read-only filesystem.  This
prevents inserting commands to be executed at boot time.  Here is the
output of ls -l /etc/rc.local on Ubuntu Touch 13.10.

-rwxr-xr-x 1 root root 306 Oct 18 11:45 /etc/rc.local

Instead, rc.local needs to be a symbolic link into /etc/writable .  Here
is an example of a file in /etc that has been made writable.

lrwxrwxrwx 1 root root 17 Nov 14 17:45 /etc/timezone ->
writable/timezone

One consequence of this (not the only one, just an example) is that a
startup command cannot be added to turn off Bluetooth permanently.  The
usual instructions for this are to put "rfkill block bluetooth" or
"service bluetooth stop" in /etc/rc.local .

** Affects: sysvinit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1261091

Title:
  [Ubuntu Touch] rc.local should be in /etc/writable

Status in “sysvinit” package in Ubuntu:
  New

Bug description:
  In Ubuntu Touch, /etc/rc.local is on a read-only filesystem.  This
  prevents inserting commands to be executed at boot time.  Here is the
  output of ls -l /etc/rc.local on Ubuntu Touch 13.10.

  -rwxr-xr-x 1 root root 306 Oct 18 11:45 /etc/rc.local

  Instead, rc.local needs to be a symbolic link into /etc/writable .
  Here is an example of a file in /etc that has been made writable.

  lrwxrwxrwx 1 root root 17 Nov 14 17:45 /etc/timezone ->
  writable/timezone

  One consequence of this (not the only one, just an example) is that a
  startup command cannot be added to turn off Bluetooth permanently.
  The usual instructions for this are to put "rfkill block bluetooth" or
  "service bluetooth stop" in /etc/rc.local .

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



More information about the foundations-bugs mailing list