Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499548 - net-dns/ddclient-3.8.1-r5 - /etc/init.d/ddclient[-r3]: find: invalid mode '+0044'
Summary: net-dns/ddclient-3.8.1-r5 - /etc/init.d/ddclient[-r3]: find: invalid mode '+0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 07:09 UTC by brho
Modified: 2014-01-30 12:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brho 2014-01-28 07:09:49 UTC
ddclient complains when starting via /etc/init.d/ddclient start.  The output is:

find: invalid mode '+0044'
 * Starting ddclient ...  

ddclient is actually running, so that is not a problem.

The problem is the init.d script that calls find with "-perm +0044", which is deprecated.  My version of find (4.5.12) doesn't allow this, and recommends using "-perm /0044".

Changing +0044 to /0044 in the init.d/ddclient script allows the script to check for permissions on ddclient.conf properly.  Without this change, the check silently fails.

Reproducible: Always
Comment 1 Aaron W. Swenson gentoo-dev 2014-01-30 12:34:56 UTC
*ddclient-3.8.2 (30 Jan 2014)

  30 Jan 2014; Aaron W. Swenson <titanofold@gentoo.org> +ddclient-3.8.2.ebuild,
  +files/ddclient.initd-r4:
  Fixed bug 499458: Use checkpath instead of find
  Version bump