Displaying 20 results from an estimated 9000 matches similar to: "chdir / chroot after pre-xfer ?"
2019 Nov 08
1
Regarding an "earlier" variant of `pre-xfer exec` [feature request and proposed patch]
(I think the subject is quite descriptive; however for use-cases and
details see bellow after the mention of the old conversation and the
patch.)
Searching the mailing list about this topic yields an old conversation
about this from 2008:
* https://lists.samba.org/archive/rsync/2008-November/022148.html
* https://lists.samba.org/archive/rsync/2008-November/022150.html
I'll quote
2008 Jun 20
1
pre/post-xfer exec not executed ?
Hi,
I've got an issue since about a week and I still can't solve it after a
thorough research.
I've setup a rsync server on my backup host, with shares using
post/pre-xfer exec options but the scripts seems not to even be called :
they should write a lockfile, and write in a logfile some information
about the transfer request / report.
I'm using rsync through stunnel and
DO NOT REPLY [Bug 4320] New: Daemon should send stdout, stderr of {pre, post}-xfer command to client
2007 Jan 02
3
DO NOT REPLY [Bug 4320] New: Daemon should send stdout, stderr of {pre, post}-xfer command to client
https://bugzilla.samba.org/show_bug.cgi?id=4320
Summary: Daemon should send stdout, stderr of {pre,post}-xfer
command to client
Product: rsync
Version: 3.0.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2018 Jan 09
0
[Bug 13207] New: rsyncd doesn't send output of failed pre-xfer exec script to client
https://bugzilla.samba.org/show_bug.cgi?id=13207
Bug ID: 13207
Summary: rsyncd doesn't send output of failed pre-xfer exec
script to client
Product: rsync
Version: 3.1.1
Hardware: x64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
2007 Feb 01
1
pre-xfer exec fails in FreeBSD
Hi
I want to use pre-xfer exec function in rsync for permition checking. In my Linux boxes, it successed. But today, I tried to put them in my FreeBSD box, it failed.
I've checked the log, but found the pre-xfer exec returns always be -1, which means waitpid failed to get the return status. After doing a little ugly patch for the wait_process function as follow, pre-xfer works again.
2006 Dec 21
1
DO NOT REPLY [Bug 4303] New: pre-xfer exec prevents output redirection of invoked commands
https://bugzilla.samba.org/show_bug.cgi?id=4303
Summary: pre-xfer exec prevents output redirection of invoked
commands
Product: rsync
Version: 2.6.9
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2006 Sep 08
2
post-xfer exec -- more juice!
Hello,
I'm attempting to use the pre-xfer exec and post-xfer exec utilities to
replace a complicated script which tails the rsync log and does A Bunch
Of Stuff at the beginning and completion of rsync transfers.
(It will also allow us to throw away a nasty hack which forces rsync to
log the fact that is exiting - trying to provide a catch for /all/
possible exit conditions (ie, strings in the
2005 Feb 08
2
How to xfer calls or is my setup wrong?
I am having problems transferring calls from one sip extension to
another - the extensions use various phones hardware/software.
From what I can tell I should just be able to press # and then dial an
extension to blind xfer a call right? How do I do attended xfer?
Either the phones (for this test I have tried xlite and budgetone102)
are not sending DTMF correctly or something else is amiss...
2010 May 14
0
Error when pre-xfer script is doing a rsync.
Hello,
I've written an howto about making creating a copy (or snapshot) on a
remote server
(running rsync daemon with backup share)
AND managing the overwritten and deleted items. See:
http://www.howtoforge.com/backing-up-with-rsync-and-managing-previous-versions-history
I've done this by running the rsync command in dry mode first. This
way a detailed report
is created (with the help
2010 Dec 10
1
1.6.2.14 > 1.6.2.15: blind transfer works but not Xfer on aastra
Upgraded from 16.2.14 to 1.6.2.15 on Fedora 13, with aastra 9133i and 57i.
On 9133i and 57i:
#<extension># works for a blind transfer.
Xfer<extension>Xfer doesn't!
All this worked on 1.6.2.14.
Nothing useful on cli, verbose 3, DEBUG. Here extension 169 answers an
outside call, and tries to transfer it to 145 using the Xfer button:
-- SIP/169-0000009c answered
2017 Jan 13
1
Rsync tries to access unnecessary files/dirs after chrooting itself.
Hi.
While debugging some encfs errors in the logs, I realized they are
being generated because rsync (chrooted inside a encfs file system,
--reverse) is trying to access files like: /root/.popt, /etc/localtime
etc. This doesn't seem to be related to ID-name mapping as I already
have numeric ids enabled in config. Here is the relevant strace
output:
[pid 25549] chroot("/chroot")
2008 Nov 16
1
pre-exec fails in windows
Hi,
I want to disable windows suspend before starting backup by rsync.
My rsyncd.conf:
-----------------
max connections = 6
log file = /var/log/backup-service.log
read only = false
write only = false
transfer logging = no
list = false
max verbosity = 6
pre-xfer exec = powercfg /H off
[C]
path = /cygdrive/c/
[D]
path = /cygdrive/d/
-----------------
Unfortunately that didn't work.
2001 Jul 27
0
(fwd) Re: rsync and named-xfer
i'm posting this to the bind-users and rsync mailing lists in order to
get this archived for the next person who needs to do this :)
comments and suggestions are welcome, but please cc: to me because i'm
not subscribed to either list.
craig
----- Forwarded message from Craig Sanders <cas@taz.net.au> -----
Date: Fri, 27 Jul 2001 10:30:20 +1000
From: Craig Sanders
2008 Dec 02
1
rsync / checksum small block / xfer small block
is there a way to somehow force rsync to check checksum in blocks vs
the whole file and xfer only part that has changed vs the whole file?
for instance i have a few gig file, and it usually keeps adding at the
end, maybe a line a day, yet rsync xfer the whole file over and it
takes forever...
--
http://alexus.org/
2010 Feb 18
0
how to determine transfer direction in pre/post-xfer scripts?
Hi all,
Is there any way to determine transfer direction (download/upload) in pre-xfer and post-xfer
rsync daemon scripts? I want to trigger notification event upon successful upload.
If not, consider this to be a feature request for additional environment variable.
2006 May 15
2
DO NOT REPLY [Bug 3778] New: rsync triggers ( pre/post xter scripts )
https://bugzilla.samba.org/show_bug.cgi?id=3778
Summary: rsync triggers ( pre/post xter scripts )
Product: rsync
Version: 2.6.8
Platform: Sparc
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy:
2010 Jan 20
2
Call Xfer issue between DataCenter and User Site
Hi,
I am running a Asterisk 1.6 box in our Data Centre, and have a number of users connecting to that box, as their PBX.
Calls in and out work fine, as does voicemail.
The PBX at the Data Centre has an External IP, Nat?d to it by the firewall, and the relevant ports are open.
The Office users have a dedicated internet connection for the phone lines, and calls are seen to traverse this
2012 Jun 12
4
rsync takes long pauses in xfer ?
Hey folks,
I did some googling on this but did not come up with much. I'm using
rsnapshot which uses rsync, and I notice some pretty long pauses in
the xfers as you can see on this graph from "munin". THe machine in
question right at the moment is doing nothing but rsyncing (
rsnapshoting ) some 12T of NAS storage to local disk, so there is
nothing else going on at all.
2005 Mar 15
1
blind xfer works atxfer doesn't...help!
Hi all
I am having problems with atxfer
if I do the extact same thing with blind xfer it works fine
when I hit press #2 (defined in conf for atxfer) i get "transfer"
I dial the number I want and i get the following on the console
-- Playing 'pbx-transfer' (language 'en')
-- Executing Dial("Local/18005558355@jesnjer-f97a,2", "/18005558355")
2011 Oct 29
1
"enable ctxprog xfer only when we need it to save power" introduces big performance regression
Hi
I've bisected pretty big performance regression (nv92):
$ git bisect good
b2737681d5442f05ab6419e05468c3d2511a5ced is the first bad commit
commit b2737681d5442f05ab6419e05468c3d2511a5ced
Author: Martin Peres <martin.peres at ensi-bourges.fr>
Date: Sat Jul 30 23:08:45 2011 +0200
drm/nv50/gr: enable ctxprog xfer only when we need it to save power
This patch adds