[contribteam] [Bug 12676] when using pppoe 2nd instance of ddclient running as root

2024-05-07 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12676

Bug ID: 12676
   Summary: when using pppoe 2nd instance of ddclient running as
root
Classification: Contribs
   Product: SME Contribs
   Version: 10.0
  Hardware: ---
OS: ---
Status: CONFIRMED
  Severity: normal
  Priority: P3
 Component: smeserver-ddclient
  Assignee: bri...@koozali.org
  Reporter: te...@pialasse.com
QA Contact: contribteam@lists.contribs.org
  Target Milestone: ---

the culprite is 

/etc/e-smith/templates/etc/ppp/ip-up.local/45ddclient


alternatively we could add this to the unit dropin file

ExecReload=/usr/bin/kill -HUP $MAINPID


and alter the template to do 

/etc/e-smith/templates/etc/ppp/ip-up.local/45ddclient
$OUT= "/usr/bin/systemctl reload-or-restart ddclient" if  (
($ddclient{status}||"disabled") eq "enabled" );




v3.4.1

add option (-pid) to record process id in a file. This option should be
defined in the .conf file as it is done in the sample.
add detection of SIGHUP. When this signal is received, ddclient will wake
up immediately, reload it's configuration file, and update the IP addresses if
necessary.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 12675] ddclient still using old interface after console reconfigure

2024-05-07 Thread bugzilla-daemon--- via contribteam
https://bugs.koozali.org/show_bug.cgi?id=12675

Bug ID: 12675
   Summary: ddclient still using old interface after console
reconfigure
Classification: Contribs
   Product: SME Contribs
   Version: 10.0
  Hardware: ---
OS: ---
Status: CONFIRMED
  Severity: normal
  Priority: P3
 Component: smeserver-ddclient
  Assignee: bri...@koozali.org
  Reporter: te...@pialasse.com
QA Contact: contribteam@lists.contribs.org
  Target Milestone: ---

I moved from using ethernet  on external interface to pppoe by modifying the
config using console, rebooted and I saw that all domains were uptated to
1.1.1.1

looking at the ddclient.conf I saw it was still using the original enp2s IF in
place of the ppp0

expanding the tempalte manaully and restarting the sevrice fixes this


# find /etc/e-smith/events/ -iname  ddclient.conf
/etc/e-smith/events/post-upgrade/templates2expand/etc/ddclient/ddclient.conf
/etc/e-smith/events/domain-create/templates2expand/etc/ddclient/ddclient.conf
/etc/e-smith/events/domain-delete/templates2expand/etc/ddclient/ddclient.conf
/etc/e-smith/events/domain-modify/templates2expand/etc/ddclient/ddclient.conf
/etc/e-smith/events/smeserver-ddclient-update/templates2expand/etc/ddclient/ddclient.conf

I would add 
bootstrap-console-save
console-save

probably post-upgrade would not be usefull with bootstrap-console-save

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/