Hello, friends,
I've installed squid on my DietPi Wheezie RPI2B, and i've seen these warnings (image attached).
I installed this morning, too, a fresh DietPi Wheezie image, with SSH, VNC and NoIP (that's all).
The messages:
insserv: warning: script 'K01noip2' missing LSB tags and overrides
inssserv: warning: script 'noip2' missing LSB tags and overrides
Have I done something wrong?
I have to say that last week I installed DietPi Wheezie on my first RPI, a 1 B 512 MB RAM and everything worked like a charm. Yesterday I tried to install DietPi Jessie on my recently bought RPI 2 B, and I couldn't go into xxxxx.ddns.org from "the outside" correctly: it just worked for 5 minutes, and I had to reboot the RPI2B calling to my wife, then again it (noIP) worked for 5 minutes, and then another phone calling! For this reason, this morning I went back Wheezie and, although NoIP seems to work perfectly (now SSH connected and with no need to phone call to home), I've got these messages.
Thank you very much for your help,
Oscar
NoIP scripts "missing LSB tabs..." warning + broken scripts
NoIP scripts "missing LSB tabs..." warning + broken scripts
Last edited by skyfly555 on Thu Dec 03, 2015 11:43 am, edited 1 time in total.
Re: NoIP scripts "missing LSB tabs and overrides" warning
There's a post that says the (supposed) solution: http://www.lawebdelprogramador.com/foro ... rides.html
It says adding on /etc/init.d/noip2 these lines on the beginning of the file:
------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------
In the DietPi /etc/init.d/noip2 we have:
------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------
The rest of the file is the same.
Do I do this? I'm newbie on Linux Servers and I don't want to mess with it up!
Thanks,
It says adding on /etc/init.d/noip2 these lines on the beginning of the file:
------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------
In the DietPi /etc/init.d/noip2 we have:
------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------
The rest of the file is the same.
Do I do this? I'm newbie on Linux Servers and I don't want to mess with it up!
Thanks,
Re: NoIP scripts "missing LSB tabs and overrides" warning
Hi Skyfly555,skyfly555 wrote:Do I do this? I'm newbie on Linux Servers and I don't want to mess with it up!
Thanks,
We pulled the noip service file from the noip website.
Yep this should be fine, the only changes I've made are added dietpi-service and moved $syslog to "should". Syslog is not installed on DietPi systems unless you use "full logging mode".
/etc/init.d/noip2
Code: Select all
#! /bin/sh
### BEGIN INIT INFO
# Provides: noip2
# Required-Start: $local_fs $remote_fs $network dietpi-service
# Should-Start: $syslog
# Required-Stop: $local_fs $remote_fs $network
# Should-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/stop noip2
### END INIT INFO
DAEMON=/usr/local/bin/noip2
NAME=noip2
test -x $DAEMON || exit 0
case "$1" in
start)
echo -n "Starting dynamic address update: "
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
stop)
echo -n "Shutting down dynamic address update:"
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
echo "noip2."
;;
restart)
echo -n "Restarting dynamic address update: "
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
Code: Select all
chmod +x /etc/init.d/noip2
update-rc.d noip2 defaults
#Disable services so DietPi-services can take control (DietPi will start all services from rc.local during boot)
/DietPi/dietpi/dietpi-services disable
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: NoIP scripts "missing LSB tabs and overrides" warning
Thank you very much, Fourdee.
Just to be sure I understand:
1) I have to modify /etc/init.d/noip2 with your code (I've done this).
2) I have to write into the terminal the commands you have written into Update-rc.d, the 4 lines (I've done this, but not sure if this is correct) --> I want to say: the "update-rc.d" code is not any file to be modified as I did on step 1?? Are they just lines to be executed into the terminal (in my case, ssh window on my Mac?
Thanks again,
Just to be sure I understand:
1) I have to modify /etc/init.d/noip2 with your code (I've done this).
2) I have to write into the terminal the commands you have written into Update-rc.d, the 4 lines (I've done this, but not sure if this is correct) --> I want to say: the "update-rc.d" code is not any file to be modified as I did on step 1?? Are they just lines to be executed into the terminal (in my case, ssh window on my Mac?
Thanks again,
Re: NoIP scripts "missing LSB tabs..." warning + broken scri
Hello,
I'm installing new things just to get a proxy-firewall working on my RPI2B.
Now, installing a DHCP Server (apt-get install isc-dhcp-server), I've got more error messages (image attached): I suppose this is related to the changing of headers we have done before on the file "/etc/init.d/noip2" because the "INIT SECTION" in the file /etc/init.d/noip2.save.1 seems a little messy (image attached): So, what do I have to do? Taking the "init section" of the file /etc/init.d/noip2 and copy it "as it is" to the files /etc/init.d/noip2.save.1 and /etc/init.d/noip2.save.2?
Note: The file /etc/init.d/noip2.save.2 seems not to be so messy, but neither in a good condition (image attached): Thank you,
I'm installing new things just to get a proxy-firewall working on my RPI2B.
Now, installing a DHCP Server (apt-get install isc-dhcp-server), I've got more error messages (image attached): I suppose this is related to the changing of headers we have done before on the file "/etc/init.d/noip2" because the "INIT SECTION" in the file /etc/init.d/noip2.save.1 seems a little messy (image attached): So, what do I have to do? Taking the "init section" of the file /etc/init.d/noip2 and copy it "as it is" to the files /etc/init.d/noip2.save.1 and /etc/init.d/noip2.save.2?
Note: The file /etc/init.d/noip2.save.2 seems not to be so messy, but neither in a good condition (image attached): Thank you,
Re: NoIP scripts "missing LSB tabs..." warning + broken scri
Looks like a formatting issue when you pasted into the terminal. Try clicking "select all" in the code box, copy, then paste directly into the terminal.skyfly555 wrote:Note: The file /etc/init.d/noip2.save.2 seems not to be so messy, but neither in a good condition (image attached):Thank you,
Lets download the updated NoIp service from DietPi v102:
Code: Select all
wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/conf/noip_init -O /etc/init.d/noip2
Code: Select all
chmod +x /etc/init.d/noip2
update-rc.d noip2 defaults
#Disable services so DietPi-services can take control (DietPi will start all services from rc.local during boot)
/DietPi/dietpi/dietpi-services disable
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: NoIP scripts "missing LSB tabs..." warning + broken scri
Thank you very much, Fourdee.
I will make a fresh v102 install, And I will begin again, I'm having some troubles with IceWeasel, when I try to init it, RPI hangs, and maybe it's SD corrupted (yesterday, a little girl disconnected *two times* the RPI while working on it).
I'll say if everything's ok doing this
)
I will make a fresh v102 install, And I will begin again, I'm having some troubles with IceWeasel, when I try to init it, RPI hangs, and maybe it's SD corrupted (yesterday, a little girl disconnected *two times* the RPI while working on it).
I'll say if everything's ok doing this

Re: NoIP scripts "missing LSB tabs..." warning + broken scri
Hehe, my 1.5yr year old son also loves usb cablesskyfly555 wrote:Thank you very much, Fourdee.
I will make a fresh v102 install, And I will begin again, I'm having some troubles with IceWeasel, when I try to init it, RPI hangs, and maybe it's SD corrupted (yesterday, a little girl disconnected *two times* the RPI while working on it).
I'll say if everything's ok doing this)

Hopefully the card isnt damaged beyond repair.
It may be worth formatting the sd card using a full overwrite (to set all cells to 0) and format adjust on: https://www.sdcard.org/downloads/formatter_4/ I've brought a few corrupt/faulty SD cards back this way.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: NoIP scripts "missing LSB tabs..." warning + broken scri
Thank you for the trick about formatting SD cads, I'm really using SDformatter yet, but all the time simply using "quick format" instead of "Overwrite Format". Nice to know this.