Parkridge Consulting

Rsync fails with core dump

Keywords

SCO Unix, Rsync

Problem

When connecting to a remove server using rsync, the remote fails leaving a core image in the target directory.

Solution

Rsync may appear to work. A file list is generated and if it is a large filesystem then the filelist may be quite large. Once the filelist has been transferred then the server attempts to access the /etc/passwd file to load the userid and user name. The default setting is to use chroot. This however causes the getpwuid routine to fail unless an etc directory and password file are provided in the target directory.

A simple solution is to specify use chroot=no in the /etc/rsyncd.conf file for each target.

Download

None


Copyright © 2003 1099987 Ontario Inc. All rights reserved.
Home | Privacy | Legal Notices | info@parkridge.on.ca