Re: It's annoying when something other than rsyncd listens on tco/873

2010-08-17 Thread Paul Schmehl
--On Monday, August 16, 2010 20:20:31 -0400 jhell wrote: On 08/16/2010 01:49, David Wolfskill wrote: My build machine is noisy & generates heat, so I leave it powered off when it's not actively in use. As a consequence, it gets rebooted rather often. It is configured to run rsyncd(8) so I ca

Re: It's annoying when something other than rsyncd listens on tco/873

2010-08-16 Thread RW
On Mon, 16 Aug 2010 20:20:31 -0400 jhell wrote: > The problem that I came across was that /usr/local/etc/rc.d is parsed > long after /etc/rc.d contents so adding the BEFORE to the rsync start > script would not help or didn't at that time. That only matters if you need to sort before the early

Re: It's annoying when something other than rsyncd listens on tco/873

2010-08-16 Thread Doug Barton
On 08/16/2010 17:20, jhell wrote: The problem that I came across was that /usr/local/etc/rc.d is parsed long after /etc/rc.d contents This hasn't been true for a very long time. I first added the code to incorporate the local scripts into the base rcorder almost 5 years ago. so adding the

Re: It's annoying when something other than rsyncd listens on tco/873

2010-08-16 Thread jhell
On 08/16/2010 01:49, David Wolfskill wrote: > My build machine is noisy & generates heat, so I leave it powered off > when it's not actively in use. > > As a consequence, it gets rebooted rather often. > > It is configured to run rsyncd(8) so I can update my laptop's local mirror > of the FreeBSD

Re: It's annoying when something other than rsyncd listens on tco/873

2010-08-16 Thread David Wolfskill
On Sun, Aug 15, 2010 at 10:49:32PM -0700, David Wolfskill wrote: > [... rsyncd(8) port -- 873/tcp -- grabbed by either ypbind or amd before > rsynd started, so rsyncd isn't functional -- and doesn't whine about > it or terminate] Thanks for the suggestions so far. Unfortunately, I'm findin

Re: It's annoying when something other than rsyncd listens on tco/873

2010-08-16 Thread Doug Barton
On 8/15/2010 10:49 PM, David Wolfskill wrote: > The most straightforward way to make this a non-issue (it seems to me) > would be to start rsyncd(8) before other services that grab arbitrary > ports; however, the start-up script for rsyncd s[ecifies: > > # PROVIDE: rsyncd > # REQUIRE: LOGIN > # BE

Re: It's annoying when something other than rsyncd listens on tco/873

2010-08-16 Thread Jyoti Sharma
I would prefer this approach: amd.conf has the option preferred_amq_port to specify the listening port. Don't know about ypbind. It is not just rsyncd that can get disturbed. Grabbing arbitrary port without consulting /etc/services and the startup scripts is a bad idea for any service. bindresvpo

It's annoying when something other than rsyncd listens on tco/873

2010-08-15 Thread David Wolfskill
My build machine is noisy & generates heat, so I leave it powered off when it's not actively in use. As a consequence, it gets rebooted rather often. It is configured to run rsyncd(8) so I can update my laptop's local mirror of the FreeBSD SVN repository. A couple of mornings ago, I woke up, rea