<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>16505</bug_id>
          
          <creation_ts>2003-02-27 17:14 0000</creation_ts>
          <short_desc>different gentoo-rsync-mirror rsync init and system rsync init</short_desc>
          <delta_ts>2003-03-19 15:51:16 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mholzer@gentoo.org</reporter>
          <assigned_to>tantive@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-02-27 17:14:09 0000</bug_when>
            <thetext>rsync init from system works with
rsync --daemon

the rsync init in gentoo-rsync-mirror with start-stop-daemon</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-02-27 17:14:37 0000</bug_when>
            <thetext>net-misc/rsync init

depend() {
        use net
}

start() {
        ebegin &quot;Starting rsyncd&quot;
        rsync --daemon ${RSYNC_OPTS}
        eend $?
}

stop() {
        ebegin &quot;Stopping rsyncd&quot;
        kill `cat /var/run/rsyncd.pid`
        eend $?
}
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-02-27 17:15:11 0000</bug_when>
            <thetext>gentoo-rsync-mirror init

depend() {
        need net
}

# FYI: --sparce seems to cause problems.
RSYNCOPTS=&quot;--daemon --safe-links --compress --bwlimit=700 --timeout=1800&quot;

start() {
        ebegin &quot;Starting rsync daemon&quot;
        start-stop-daemon --start --quiet --pidfile /var/run/rsyncd.pid --exec /
usr/bin/rsync -- ${RSYNCOPTS}
        eend $?
}

stop() {
        ebegin &quot;Stopping rsync daemon&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tantive@gentoo.org</who>
            <bug_when>2003-02-28 06:51:39 0000</bug_when>
            <thetext>sorry, i only used the scripts provided in the official gentoo linux rsync mirrors policy at http://www.gentoo.org/doc/en/rsync.xml

so i think the policy needs an update...
but i&apos;ll change the scripts anyway</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tantive@gentoo.org</who>
            <bug_when>2003-03-19 13:43:33 0000</bug_when>
            <thetext>Ok, i just committed gentoo-rsync-mirror-1.0-r2.ebuild with an updated version of rsyncd.init.
Please check/test and report if it&apos;s stable enough for unmasking.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-03-19 15:39:36 0000</bug_when>
            <thetext>works great

now the init script diff is only the parameter line

could be masked as stable i think</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tantive@gentoo.org</who>
            <bug_when>2003-03-19 15:51:16 0000</bug_when>
            <thetext>Ok, unmasked it and cleaned out old ebuilds.
Closing this bug now, thanks for your help.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>