From: Timur Batyrshin <batyrshin@ieml.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] rsyncd и post-xfer exec Date: Fri, 27 Jun 2008 18:12:37 +0400 Message-ID: <20080627181237.53f29042@batyrshin.ieml.ru> (raw) А post-xfer exec у нас в rsync нормально работает? Из странностей замечено, что не каждую команду он выполняет. Например, нельзя ей передать параметры. Т.е. post-xfer exec = /usr/local/bin/script работает нормально, а post-xfer exec = /usr/local/bin/script param1 просто тупо не вызывается (проверял и созданием флагов при запуске script) Закавычить его тоже не помогло. Да и имена файлов вроде не все подцепляет -- если создать script.param1 его он тоже не запускал. Вторая странность -- внутрь скрипта не передаются переменные окружения такие как $RSYNC_EXIT_STATUS, $RSYNC_MODULE_NAME Это какой-то хитрый синтаксис конфига и я его не правильно пишу, или бага, или что?.. [root@rsync bin]# rpm -qa | grep rsync-server rsync-server-2.6.9-alt3
next reply other threads:[~2008-06-27 14:12 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-06-27 14:12 Timur Batyrshin [this message] 2008-07-01 17:10 ` Timur Batyrshin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080627181237.53f29042@batyrshin.ieml.ru \ --to=batyrshin@ieml.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git