Fwd: rc.local and systemd

Rainer Dorsch rdorsch at ieee.org
Sun May 17 08:59:19 BST 2015


Sorry, I forgot to put you on copy.

Rainer

----------  Weitergeleitete Nachricht  ----------

Betreff: rc.local and systemd
Datum: Sonntag, 17. Mai 2015, 09:49:48
Von: Rainer Dorsch <ml at bokomoko.de>
An: debian-user at lists.debian.org

Hello,

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

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

Before the jessie upgrade, it was executed properly during startup

root at 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 at 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?

Thanks
Rainer
-------------------------------------------------------------



More information about the Pkg-systemd-maintainers mailing list