Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#28718 - ddclient does not work with iproute2 configuration tools

Attached to Project: Community Packages
Opened by Neil Darlow (neildarlow) - Wednesday, 29 February 2012, 17:53 GMT
Last edited by Chris Brannon (cmb) - Wednesday, 14 March 2012, 20:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Chris Brannon (cmb)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
ddclient relies on "ifconfig -a" to detect IP addresses when an interface is specified in the configuration file.

With the attached patch (which has been submitted upstream by Gentoo) it is possible to use "ip addr show" instead. As the package currently exists it will not work for interface mode on Arch without the patch.


Additional info:
* ddclient-3.8.1-2
* /etc/ddclient/ddclient.conf with "use=if, ..." enabled

Steps to reproduce:
1) Enable "use=if, if=eth0 #via interfaces" in /etc/ddclient/ddclient.conf
2) Disable daemon mode and enable verbose reporting in /etc/ddclient/ddclient.conf
3) Execute ddclient from command line and note "Unable to determine IP address" errors
4) Apply attached patch and repeat step (3)
5) Note that ddclient now operates as expected

I appreciate that Arch has a restricted patching policy but without this patch a common mode of operation of ddclient on Arch is not possible
This task depends upon

Closed by  Chris Brannon (cmb)
Wednesday, 14 March 2012, 20:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  Ok, I applied the patch.
Thanks.
Comment by Chris Brannon (cmb) - Wednesday, 29 February 2012, 20:43 GMT
I suppose that adding net-tools as a dependency would also fix the problem,
wouldn't it?
I could do that temporarily.
Comment by Neil Darlow (neildarlow) - Wednesday, 29 February 2012, 22:32 GMT
It certainly would but wouldn't installing an obsolete set of utilities to satisfy a single package be frowned upon by the Arch "Higher-ups"?
Comment by Jens Adam (byte) - Thursday, 01 March 2012, 09:15 GMT
No idea about the devs, but I (=user) would prefer the patch :>

Loading...