[Bug 882254] Re: /etc/rc.local is not executed at startup

Steve Langasek steve.langasek at canonical.com
Wed May 30 00:32:49 UTC 2012


I have no idea why people are following up to this bug with questions
about max brightness all of a sudden, but this is a bug report about
/etc/rc.local not being marked executable.  If your /etc/rc.local file
is not executable, then you may be seeing this bug - in which case it
would be helpful if you would provide more information about how
/etc/rc.local came to not be executable on your system, since we can't
reproduce this.

However, it is much more likely that the problem you're encountering is
not due to /etc/rc.local failing to execute at startup, but instead due
to your rc.local not being configured to do what you actually want.  You
should test that the proposed command does anything at all by running it
at the command line:

    echo 0 > /sys/class/backlight/acpi_video0/brightness

If you can't get it to work at the commandline, you definitely won't get
it to work from rc.local.  And even if you get it to work at the
commandline, this setting may be getting overridden by the desktop after
rc.local runs.

But unless 'ls -l /etc/rc.local' shows that the file is not executable,
please do not send further follow-ups to this bug report.  The askubuntu
question is a much more appropriate place to discuss.

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

Title:
  /etc/rc.local is not executed at startup

Status in “sysvinit” package in Ubuntu:
  Incomplete

Bug description:
  /etc/rc.local is not executed at startup in 11.10. In 11.04 this was
  not the case. Is there any alternative?

  Greetz,
  Florian

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: upstart 1.3-0ubuntu10
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Wed Oct 26 22:15:00 2011
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: upstart
  UpgradeStatus: Upgraded to oneiric on 2011-10-24 (2 days ago)

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




More information about the foundations-bugs mailing list