Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143250 - install rsyncd.conf as rsyncd.conf.example
Summary: install rsyncd.conf as rsyncd.conf.example
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-08 13:40 UTC by Rajiv Aaron Manglani (RETIRED)
Modified: 2007-07-09 02:23 UTC (History)
1 user (show)

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 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2006-08-08 13:40:40 UTC
rsyncd.conf should be installed as rsyncd.conf.example and /etc/init.d/rsyncd
should check for the presense of /etc/rsyncd.conf before starting.

this will prevent users from starting rsyncd with the default conf file.

it will also allow custom ebuilds to install an /etc/rsyncd.conf file without
having to worry about overwriting an existing file.
Comment 1 SpanKY gentoo-dev 2006-08-08 18:01:31 UTC
what exactly is wrong with starting rsyncd with default config file ?  there is nothing in there that would cause problems

as for installing .example, imo installing '.sample' or '.example' or whatever in /etc/ is garbage and all such packages should be shot :p

i wouldnt mind installing into say /usr/share/rsync/ ...

and why would custom rsync packages be allowed to install into /etc/rsyncd.conf but not rsync itself ?  that seems a little wonky
Comment 2 step 2006-12-14 02:57:36 UTC
Do I need to edit the /etc/rsyncd.conf or  /etc/init.d/rsyncd? 

emerge net-misc/rsync (2.6.9) adds a config file to /etc/. 
Comment 3 Pavel Riha 2006-12-14 03:18:35 UTC
I'm surprised why the ebuild is now moving the rsyncd.conf from /etc/rsync/ to /etc. I thing /etc/rsync is a better location, where I can have another files like rsyncd.users and passwords ...
Comment 4 SpanKY gentoo-dev 2007-07-09 02:23:45 UTC
no reason for rsyncd.conf.example