Re: rsyncd pid file already exists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Mar 11, 2010 at 6:41 AM, Chris Allison
<chris.charles.allison@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> rsync when run as a daemon from /etc/rc.d/rsyncd writes it's own pid
> file to /var/run/rsyncd.pid
> this conflicts with the start-stop script which also writes the pid
> file.  I couldn't get rsync to start as a daemon after upgrading
> yesterday, without commenting out the line in the start-stop script:
> case "$1" in
>  start)
>    stat_busy "Starting rsyncd"
>    [ ! -f /var/run/daemons/rsyncd ] && /usr/bin/rsync --daemon
>    if [ $? -gt 0 ]; then
>      stat_fail
>    else
>      # pgrep -of "/usr/bin/rsync --daemon" > /var/run/rsyncd.pid
>      add_daemon rsyncd
>      stat_done
>    fi
>    ;;
>
> Should I report this as a bug, I have searched bugs.archlinux.org for
> rsync with no results, and also in the forums.
>
> cheers
>
> Chris
>

yes, open a bug report.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux