Hi Michael, thanks for your quick reply.
Am Sonntag, 17. Mai 2015, 11:33:23 schrieben Sie: > > 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? > > What's the output of > sudo systemctl status rc-local.service root@nanette:~# systemctl status rc-local.service ● rc-local.service - /etc/rc.local Compatibility Loaded: loaded (/lib/systemd/system/rc-local.service; static) Active: failed (Result: exit-code) since Mon 2015-05-18 14:29:04 CEST; 7h ago May 18 14:29:02 nanette rc.local[741]: Loaded 750 prior measurements May 18 14:29:04 nanette rc.local[741]: Error opening terminal: unknown. May 18 14:29:04 nanette rc.local[741]: RAPL device for cpu 0 May 18 14:29:04 nanette rc.local[741]: RAPL device for cpu 0 May 18 14:29:04 nanette rc.local[741]: RAPL device for cpu 0 May 18 14:29:04 nanette systemd[1]: rc-local.service: control process exited, code=exited status=1 May 18 14:29:04 nanette systemd[1]: Failed to start /etc/rc.local Compatibility. May 18 14:29:04 nanette systemd[1]: Unit rc-local.service entered failed state. root@nanette:~# In /etc/rc.local I have root@nanette:~# cat /etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. powertop --auto-tune exit 0 root@nanette:~# Rainer -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/2563499.M34GAdGaSA@nanette