Package: lsyncd
Version: 2.0.4-1
Severity: normal

I've backported lsyncd from wheezy to squeeze so the bug may or may
not apply to real wheezy. In any case, I'm reporting this here so that
we have a central place to collect information on the bug that seems
to happen only rarely.

Today nagios alerted me that files on the external web server are too
old. When I looked that process list I saw that lsyncd is not present.
Last lines in /var/log/user.log are

Aug 23 12:55:16 nova lsyncd: Normal, Deleting 
list#012/srv/www/www.metsahovi.fi//user/lindi/lindi.iki.fi/lindi/debian-with-patches/.#update.sh
Aug 23 12:55:16 nova lsyncd: Normal, Finished a list = 0
Aug 23 12:55:16 nova lsyncd: Normal, Rsyncing 
list#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/update.sh
Aug 23 12:55:16 nova lsyncd: Normal, Finished a list = 0
Aug 23 12:55:39 nova lsyncd: Normal, Deleting 
list#012/srv/www/www.metsahovi.fi//user/lindi/lindi.iki.fi/lindi/debian-with-patches/db/lockfile#012/srv/www/www.metsahovi.fi//user/lindi/lindi.iki.fi/lindi/debian-with-patches/db/version.new#012/srv/www/www.metsahovi.fi//user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello-2.7/
Aug 23 12:55:40 nova lsyncd: Normal, Finished a list = 0
Aug 23 12:55:40 nova lsyncd: Normal, Rsyncing 
list#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/db/version#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7-2.dsc#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7-2.debian.tar.gz#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/aclocal.m4#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib/m4#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib/m4/gnulib-common.m4#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib/m4/fcntl-o.m4#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib/m4/closeout.m4#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib/m4/mbstate_t.m4#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib/m4/intlmacosx.m4#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib/m4/mbrtowc.m4#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib/m4/wint_t.m4#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib/m4/inline.m4#012/user/lindi/lindi.iki.fi/lindi/debian-with-patches/hello_2.7.orig.tar.gz.tmp-extract.J8itT/hello-2.7/gnulib/m4/localcharset.m4#012/user/lindi/lindi.iki.fi/l
Aug 23 12:55:40 nova lsyncd: Normal, Finished a list = 13

and the configuration has just

$ cat /etc/lsyncd/lsyncd.conf.lua
----
-- User configuration file for lsyncd.
--
-- Simple example for default rsync, but executing moves through on the target.
--
sync{default.rsyncssh, source="/home/www-data/www.metsahovi.fi/", 
host="horizon.metsahovi.fi", targetdir="/srv/www/www.metsahovi.fi"}

man rsync says that error "13" is "Errors with program diagnostics"
which is not very helpful to me :-)

lsyncd source has a table

local rsync_exitcodes = {
      [  1] = "die",
      [  2] = "die",
      [  3] = "again",
      [  4] = "die",
      [  5] = "again",
      [  6] = "again",
      [ 10] = "again",
      [ 11] = "again",
--      [ 12] = "again", -- dont, consistent failure, if e.g. target dir not 
there.
        [ 14] = "again",
        [ 20] = "again",
        [ 21] = "again",
        [ 22] = "again",
        [ 25] = "die",
        [ 30] = "again",
        [ 35] = "again",
        [255] = "again",
}

that clearly lacks "13". Could this cause it to exit silently?


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lsyncd depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  liblua5.1-0                   5.1.4-5    Simple, extensible, embeddable pro
ii  lua5.1                        5.1.4-5    Simple, extensible, embeddable pro
ii  rsync                         3.0.7-2    fast remote file copy program (lik

lsyncd recommends no packages.

lsyncd suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to