[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rc.local and systemd



On 05/17/2015 03:49 AM, Rainer Dorsch wrote:
Hello,

I have a jessie system here on which /etc/rc.local is not executed.
/etc/rc.local is executable

root@nanette:~# ls -l /etc/rc.local
-rwxr-xr-x 1 root root 328 Jan 31 15:34 /etc/rc.local
root@nanette:~#

Before the jessie upgrade, it was executed properly during startup

root@nanette:~# ls -l /etc/rc*.d/*rc*
lrwxrwxrwx 1 root root 18 Dec  5  2012 /etc/rc2.d/S24rc.local ->
../init.d/rc.local
lrwxrwxrwx 1 root root 18 Dec  5  2012 /etc/rc3.d/S24rc.local ->
../init.d/rc.local
lrwxrwxrwx 1 root root 18 Dec  5  2012 /etc/rc4.d/S24rc.local ->
../init.d/rc.local
lrwxrwxrwx 1 root root 18 Dec  5  2012 /etc/rc5.d/S24rc.local ->
../init.d/rc.local
root@nanette:~#

Is that expected?

Is

cd /lib/systemd/system/multi-user.target.wants
ln -s ../rc-local.service rc-local.service

the proper way to enable it using systemd?

http://blog.iopsl.com/rc-local-compatibility-in-arch-linux/
See if that helps. Ric

--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html


Reply to: