Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380351 - net-dns/ddclient-3.8.1-r1 warning at startup
Summary: net-dns/ddclient-3.8.1-r1 warning at startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 10:45 UTC by Agostino Sarubbo
Modified: 2011-08-24 09:28 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 Agostino Sarubbo gentoo-dev 2011-08-23 10:45:48 UTC
Starting ddclient I see:

ddclient     WARNING: file /etc/ddclient/ddclient.conf: file /etc/ddclient/ddclient.conf must be accessible only by its owner.

Can the initscript check the permissions before start and fix them?
Comment 1 Aaron W. Swenson gentoo-dev 2011-08-23 20:52:46 UTC
23 Aug 2011; Aaron W. Swenson <titanofold@gentoo.org>
+ddclient-3.8.1-r2.ebuild, +files/ddclient.initd-r2:
Fixes bug 380351
Comment 2 cilly 2011-08-24 06:50:09 UTC
This warning should be eliminated, since it reports if:

rw--r--- root:ddclient ddclient.conf

Btw, the user ddclient must not have write permissions to ddclient.conf.
Comment 3 Agostino Sarubbo gentoo-dev 2011-08-24 09:28:09 UTC
(In reply to comment #2)
> This warning should be eliminated, since it reports if:
> 
> rw--r--- root:ddclient ddclient.conf
> 
> Btw, the user ddclient must not have write permissions to ddclient.conf.

For eliminate the warning you must set correct permission on .conf file, otherwise ddclient fails to start, please use the last revision.