Copyright (C) 2008-2020 Oliver Bohlen.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU Free Documentation License".
This documentation comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
This is a small howto for shareing files over rsync.
If you want to use this solution you need the following howto(s) finished:
emerge net-misc/rsync
File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--
Click here for a download of the complete file: /etc/rsyncd.conf
Changed on 24.09.09This serves /gtc/stable and test read only. You can download it for example with "rsync -av rsync://host/thinclient /target"
With the filter Option are some includes and excludes set.
[thinclient] path = /gtc/stable comment = Stable Thinclient read only = yes uid = 0 gid = 0 numeric ids = yes transfer logging = yes auth users = gtc:ro secrets file = /etc/rsyncd.secrets filter = - /_additionalsw - /etc/thinclient/thinclient.conf.local - /etc/thinclient/profiles/* - /etc/thinclient/user-profiles/* - /proc/ - /tmp/ - /home/ - /root/ - /var/tmp/portage/ - /sys - /_gtcroot - /gtcdvd # filter = + /etc/thinclient/global-profile/start.sh + /etc/thinclient/global-profile/etc - /_additionalsw - /etc/thinclient/thinclient.conf.local - /etc/thinclient/profiles/* - /etc/thinclient/global-profile/* - /etc/thinclient/user-profiles/* - /proc/ - /tmp/ - /home/ - /root/ - /var/tmp/portage/ - /sys - /_gtcroot - /gtcdvd [thinclient-test] path = /gtc/test comment = Stable Thinclient read only = yes uid = 0 gid = 0 numeric ids = yes transfer logging = yes auth users = gtc:ro secrets file = /etc/rsyncd.secrets filter = - /_additionalsw - /etc/thinclient/thinclient.conf.local - /etc/thinclient/profiles/* - /etc/thinclient/user-profiles/* - /proc/ - /tmp/ - /home/ - /root/ - /var/tmp/portage/ - /sys - /_gtcroot - /gtcdvd # filter = + /etc/thinclient/global-profile/start.sh + /etc/thinclient/global-profile/etc - /_additionalsw - /etc/thinclient/thinclient.conf.local - /etc/thinclient/profiles/* - /etc/thinclient/global-profile/* - /etc/thinclient/user-profiles/* - /proc/ - /tmp/ - /home/ - /root/ - /var/tmp/portage/ - /sys - /_gtcroot - /gtcdvd
For starting the new service after system reboot you should add it to a runlevel with the following command(s):
rc-update add rsyncd
Please send a feedback to: doc<at>gabosh.net
Howto listingHere you can find the official Gentoo Linux Forums where you can find a lot of answers.
Here a link to the official Gentoo Linux Homepage.