init scripts without all variables

Bug #1663357 reported by Luděk Sladký
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
n2n (Ubuntu)
Triaged
Medium
Rolf Leggewie

Bug Description

There is variable N2N_DAEMON_OPTS in /etc/default/n2n config file. I
use this variable for netmask or for settings MTU.

This variable for settings netmask may be like:
N2N_DAEMON_OPTS="-s 255.255.0.0"

but, in init scripts this variable is not used (in /etc/init.d/n2n)

There is in line 69:
-f -a $N2N_IP -c $N2N_COMMUNITY -l $N2N_SUPERNODE:$N2N_SUPERNODE_PORT \

I thing that correct may be:
-f -a $N2N_IP -c $N2N_COMMUNITY -l $N2N_SUPERNODE:$N2N_SUPERNODE_PORT
$N2N_DAEMON_OPTS \

I rewrote this and it works well. Could you repair in repository?

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Thank you for this report. Sorry for the delay to respond. I shall incorporate it into the next release. I'll try before bionic.

Changed in n2n (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Luděk Sladký (ludek-sladky) wrote :

Hello,
I installed new distribution Kubuntu 18.10 Beta and there is old init skript. Is it possible to rewrite one line in the init.d sktipt?

Best regards

Ludek Sladky

Revision history for this message
Luděk Sladký (ludek-sladky) wrote :

Hi Rolf,

could you rewrite one line in the next release? Please....

Luděk

Revision history for this message
Luděk Sladký (ludek-sladky) wrote :

It's horrible. 3 years ago without response....

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.