Displaying 12 results from an estimated 12 matches for "use_chroot".
2002 Feb 24
2
Write-only option
...----------------
diff -urN rsync-2.5.2.orig/loadparm.c rsync-2.5.2/loadparm.c
--- rsync-2.5.2.orig/loadparm.c Sun Dec 2 09:16:15 2001
+++ rsync-2.5.2/loadparm.c Sat Feb 23 13:48:12 2002
@@ -117,6 +117,7 @@
char *comment;
char *lock_file;
BOOL read_only;
+ BOOL write_only;
BOOL list;
BOOL use_chroot;
BOOL transfer_logging;
@@ -149,6 +150,7 @@
NULL, /* comment */
DEFAULT_LOCK_FILE, /* lock file */
True, /* read only */
+ False, /* write only */
True, /* list */
True, /* use chroot */
False, /* transfer logging */
@@ -265,6 +267,7 @@
{"lock file",...
2000 Oct 24
2
feature request & patch submit: chroot(2) in sshd
...e-change -u openssh-2.2.0p1/servconf.c openssh-2.2.0p1chroot/servconf.c
--- openssh-2.2.0p1/servconf.c Fri Aug 18 05:59:06 2000
+++ openssh-2.2.0p1chroot/servconf.c Sun Oct 22 18:59:49 2000
@@ -68,6 +68,8 @@
#endif
options->permit_empty_passwd = -1;
options->use_login = -1;
+ options->use_chroot = -1;
+ options->chroot_group = -1;
options->num_allow_users = 0;
options->num_deny_users = 0;
options->num_allow_groups = 0;
@@ -158,6 +160,10 @@
options->permit_empty_passwd = 0;
if (options->use_login == -1)
options->use_login = 0;
+ if (options->use_chroot...
2004 Feb 12
1
[PATCH] write only
...), strerror(errno));
--- rsync-2.6.0/loadparm.c.orig Thu Feb 12 11:47:17 2004
+++ rsync-2.6.0/loadparm.c Thu Feb 12 11:48:11 2004
@@ -119,6 +119,7 @@ typedef struct
char *comment;
char *lock_file;
BOOL read_only;
+ BOOL write_only;
BOOL list;
BOOL use_chroot;
BOOL transfer_logging;
@@ -151,6 +152,7 @@ static service sDefault =
NULL, /* comment */
DEFAULT_LOCK_FILE, /* lock file */
True, /* read only */
+ False, /* write only */
True, /* list */
True, /* use chroot */
False,...
2008 Feb 20
1
[PATCH] build fix without iconv support
...UPPORTED);
}
+#ifdef ICONV_OPTION
if (!iconv_opt) {
if (ic_send != (iconv_t)-1) {
iconv_close(ic_send);
@@ -816,6 +817,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
ic_recv = (iconv_t)-1;
}
}
+#endif
if (!numeric_ids
&& (use_chroot ? lp_numeric_ids(i) != False : lp_numeric_ids(i) == True))
diff --git a/options.c b/options.c
index 7f69bd2..75ceeeb 100644
--- a/options.c
+++ b/options.c
@@ -1137,7 +1137,9 @@ int parse_arguments(int *argc_p, const char ***argv_p, int frommain)
break;
case OPT_NO_ICONV:
+#ifdef ICONV_OP...
2001 Dec 03
2
Bug in rsyncd 2.5.0 while handling config file string values
...0 0x400476ef in __libc_start_main () from /lib/libc.so.6
(gdb) select 1
(gdb) p s
$1 = (char **) 0x807ace4
(gdb) p *s
$2 = 0x807680c "nobody"
(gdb) p sDefault
$3 = {name = 0x0, path = 0x0, comment = 0x0, lock_file = 0x8076813 "/var/run/rsyncd.lock",
read_only = 1, list = 1, use_chroot = 1, transfer_logging = 0, ignore_errors = 0,
uid = 0x807680c "nobody", gid = 0x807680c "nobody", hosts_allow = 0x0, hosts_deny = 0x0,
auth_users = 0x0, secrets_file = 0x0, strict_modes = 1, exclude = 0x0, exclude_from = 0x0,
include = 0x0, include_from = 0x0, log_forma...
2003 Jun 01
1
Log Error Message
FreeBSD rsync server (and client as well), running latest rsync port.
I have a nightly cron job that runs rsync. Every time the client
connects I get this message in the server logs:
May 31 19:30:49 boud rsyncd[81707]: /etc/pwd.db: No such file or directory
The file is definitely there, and readable.
boud# ls -l /etc/pwd.db
-rw-r--r-- 1 root wheel 40960 May 22 08:08 /etc/pwd.db
It's
2016 Dec 20
1
Latest Dovecot v2.2.devel (9bc8d9b) crashes on login and lmtp
...4 "userdb lookup", gid_source = 0x7f9178107684 "userdb lookup", home = 0x7f917a59e761 "/var/vmail/domains/leuxner.net/tlx",
chroot = 0x7f917a52d458 ""}
error = 0x7f917a5b3830 ""
disallow_root = <optimized out>
use_chroot = <optimized out>
#10 mail_storage_service_next (ctx=<optimized out>, user=0x7f917a573910, mail_user_r=mail_user_r at entry=0x7f917a560b48) at mail-storage-service.c:1445
old_log_prefix = 0x7f917a5ba530 "lmtp(5967, tlx at leuxner.net): "
#11 0x00007f9178789f55 in clien...
2001 Nov 20
2
rsync server over SSH [includes code patches]
...! static int rsync_module(int f_in, int f_out, int i)
{
int argc=0;
char *argv[MAX_ARGS];
***************
*** 125,170 ****
uid_t uid = (uid_t)-2;
gid_t gid = (gid_t)-2;
char *p;
! char *addr = client_addr(fd);
! char *host = client_name(fd);
char *name = lp_name(i);
int use_chroot = lp_use_chroot(i);
int start_glob=0;
int ret;
char *request=NULL;
extern int am_sender;
extern int remote_version;
extern int am_root;
if (!allow_access(addr, host, lp_hosts_allow(i), lp_hosts_deny(i))) {
rprintf(FERROR,"rsync denied on module %s from %s (%s)\n&quo...
2007 Oct 10
0
patch for rsync: provides "nice = N" option
...&sDefault.niceval, NULL,0},
{"transfer logging", P_BOOL, P_LOCAL, &sDefault.transfer_logging, NULL,0},
{"uid", P_STRING, P_LOCAL, &sDefault.uid, NULL,0},
{"use chroot", P_BOOL, P_LOCAL, &sDefault.use_chroot, NULL,0},
@@ -411,6 +414,7 @@
FN_LOCAL_INTEGER(lp_max_connections, max_connections)
FN_LOCAL_INTEGER(lp_max_verbosity, max_verbosity)
FN_LOCAL_INTEGER(lp_timeout, timeout)
+FN_LOCAL_INTEGER(lp_nice, niceval)
FN_LOCAL_BOOL(lp_ignore_errors, ignore_errors)
FN_LOCAL_BOOL(lp_ignore_nonrea...
2017 Jan 10
2
[PATCH] mail-storage.c: check against NULL address in strcmp() invocation
Configurations with multiple shared namespaces can trigger a bug
where the first argument of strcmp() invocation is NULL.
This patch adds an explicit check, analogously to how the second
argument is sanitized.
---
src/lib-storage/mail-storage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib-storage/mail-storage.c b/src/lib-storage/mail-storage.c
index
2002 Jun 18
2
rsyncd + scripting
Hey all,
Like a lot of folks, I use rsync to pull content out to production web
servers. Tastes great, less filling.
Here's what I'd like to be able to do: Sometimes a web tree is not ready
to sync, for whatever reason. I have many modules available, so stopping
ryncd is not an option. I'd like to be able to tell rsync in daemon mode
"this particular module is not available at
2017 Jan 24
1
Quota count does not work with lock_method=dotlock
On 24.01.2017 11:31, Tom Sommer wrote:
> On 2017-01-24 10:25, Aki Tuomi wrote:
>> On 24.01.2017 11:13, Tom Sommer wrote:
>>> On 2017-01-18 15:27, mkliewe at gmx.de wrote:
>>>
>>>> dovecot crashes when I switch the quota tracking from dict to count.
>>>
>>> I have the same problem, but I use 'dict:file' as quota backend -
>>>