← Back to team overview

touch-packages team mailing list archive

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

 

Hello, 
---------------------------------------------------------
- hello, on ubuntu 15.04 64Bit
 rc.local don't start!
---------------------------------------------------------
- on terminal using command 
# sudo /etc/init.d/rc.local start

it stop loading libs at :

. /lib/init/vars.sh
. /lib/lsb/init-functions

" it stop here. "
---------------------------------------------------------
this is rc.clocal file...

#!/bin/sh
### BEGIN INIT INFO
# Provides:          rc.local
# Required-Start:    $all
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Run /etc/rc.local if it exist
### END INIT INFO


do_start() {
	if [ -x /etc/rc.local ]; then
	        [ "$VERBOSE" != no ] && log_begin_msg "Running local boot scripts (/etc/rc.local)"
		/etc/rc.local
		ES=$?
		[ "$VERBOSE" != no ] && log_end_msg $ES
		return $ES
	fi
}

case "$1" in
    start)
	do_start
        ;;
    restart|reload|force-reload)
        echo "Error: argument '$1' not supported" >&2
        exit 3
        ;;
    stop)
        ;;
    *)
        echo "Usage: $0 start|stop" >&2
        exit 3
        ;;
esac
---------------------------------------------------------
can someone help me?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Expired

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


Follow ups