Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 75125 Details for
Bug 91500
ddclient 3.6.6 init script does not start
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ddclient-3.6.6.ebuild.patch
ddclient-3.6.6.ebuild.patch (text/plain), 1.68 KB, created by
Arun Raghavan (RETIRED)
on 2005-12-19 10:32:24 UTC
(
hide
)
Description:
ddclient-3.6.6.ebuild.patch
Filename:
MIME Type:
Creator:
Arun Raghavan (RETIRED)
Created:
2005-12-19 10:32:24 UTC
Size:
1.68 KB
patch
obsolete
>--- /usr/portage/net-dns/ddclient/ddclient-3.6.6.ebuild 2005-08-24 03:35:53.000000000 +0530 >+++ /usr/local/portage/net-dns/ddclient/ddclient-3.6.6.ebuild 2005-12-19 09:16:47.000000000 +0530 >@@ -24,6 +24,9 @@ > unpack ${A}; cd ${S} > epatch ${FILESDIR}/${PN}-mss1.diff > epatch ${FILESDIR}/${PN}-daemon0inconfig.diff >+ epatch ${FILESDIR}/${PN}-cfgprotect.diff >+ epatch ${FILESDIR}/${PN}-normalexit.diff >+ epatch ${FILESDIR}/${PN}-cachefix.diff > > sed -i 's:/var/run/ddclient.pid:/var/run/ddclient/ddclient.pid:' \ > sample-etc_ddclient.conf >@@ -45,18 +48,19 @@ > } > > pkg_postinst() { >- echo >- einfo >- ewarn "The files in ${ROOT}etc/ddclient *NEED* be chowned to" >- ewarn "root:ddclient, and chmodded to 640:" >- ewarn "(user/group read; user write)" >- ewarn "Please run etc-update and update your initscript to take" >- ewarn "advantage of non-root permissions on the daemon" >- ewarn "Further, please note that your config files must be owned" >- ewarn "by the user ddclient or have group ownership by ddclient." >- ewarn "The initscript will NOT run unless you do this. Please see" >- ewarn "bug #88225" >- einfo >- ebeep >- epause >+ local conf perms owner group >+ >+ conf="/etc/ddclient/ddclient.conf" >+ perms=`stat -c %a $conf` >+ owner=`stat -c %U $conf` >+ group=`stat -c %G $conf` >+ >+ if [ $owner != "root" -o $group != "ddclient" -o $perms != "640" ]; then >+ ewarn "It is recommended that /etc/ddclient/ddclient.conf be chown'ed" >+ ewarn "root:ddclient with '640' permissions if you want to run the" >+ ewarn "ddclient initscript at startup. You can use the following" >+ ewarn "commands to do this:" >+ ewarn " chown root:ddclient /etc/ddclient/ddclient.conf" >+ ewarn " chmod 640 /etc/ddclient/ddclient.conf" >+ fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 91500
:
73970
|
73971
|
73972
|
75123
|
75124
| 75125