Public bug reported:

The ddclient package generated /etc/ddclient.conf using trailing
backslashes for line continuation, e.g.

protocol=noip \
use=cmd, cmd=/opt/getip.sh \
login=... \
password=... \
hostname

However, ddclient did not apply the later options as expected. In debug
output, the file was read, but only the first directive was effectively
applied; use/cmd were absent from the parsed host configuration, and
ddclient fell back to an undefined IP source.

Removing the debconf-generated backslash continuation and writing the
options on separate valid lines fixed the issue.

The parser appears to support continuation, but the generated syntax is
invalid because continued options must be comma-separated on the
resulting logical line. The generated config therefore silently produces
misleading behavior.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: ddclient (not installed)
ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
Uname: Linux 7.0.0-15-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Tue May 26 09:09:15 2026
InstallationDate: Installed on 2026-05-16 (10 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/usr/bin/fish
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: ddclient
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ddclient (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

** Attachment added: "Output of ddclient with the debconf-generated config 
file; below, the ddclient.conf file itself"
   https://bugs.launchpad.net/bugs/2154289/+attachment/5973689/+files/output.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154289

Title:
  ddclient debconf-generated config uses invalid multiline syntax;
  options after backslash are ignored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ddclient/+bug/2154289/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to