Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317052 - rsync changes for eclipse project
Summary: rsync changes for eclipse project
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Servers (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 10:56 EDT by Kim Moir CLA
Modified: 2010-06-17 17:09 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Moir CLA 2010-06-16 10:56:23 EDT
Today our rsync scripts run as sdimitro to copy the eclipse builds to eclipse.org.  I'd like to change them so they run as kmoir.  I think all that needs to be done on your part is to change the uid to kmoir  in  [eclipseDownloads]  and [eclipseUpdates] in the rsyncd.conf and restart the rsync daemon.  You may also have to recursively chown the eclipse downloads directory so my userid has rights to add and delete files.  (/home/data/httpd/download.eclipse.org/eclipse/downloads)


thanks :-)
Comment 1 Eclipse Webmaster CLA 2010-06-16 13:32:41 EDT
Done.

-M.
Comment 2 Kim Moir CLA 2010-06-16 14:41:41 EDT
Hi again

If there is a password file referenced by the rsyncd.conf for [eclipseDownloads]  and [eclipseUpdates]?  If so, could you keep the same password but change the username to kmoir.  I'm getting password problems when trying to sync.

@ERROR: auth failed on module eclipseDownloads
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
Password:
Comment 3 Eclipse Webmaster CLA 2010-06-16 14:46:30 EDT
Are you connecting to download or dev?

-M.
Comment 4 Kim Moir CLA 2010-06-16 14:52:40 EDT
The script says download1.eclipse.org
Comment 5 Eclipse Webmaster CLA 2010-06-16 14:57:29 EDT
Ok I thought that might be it.  I've restarted the rsync daemon on that node as well.

-M.
Comment 6 Kim Moir CLA 2010-06-16 15:50:41 EDT
Still getting authentication errors to both rsync stanzas - eclipseUpdates and eclipseDownloads

@ERROR: auth failed on module eclipseUpdates
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
Comment 7 Eclipse Webmaster CLA 2010-06-17 08:49:54 EDT
Ok, looks like I made a typo in the password file. No idea who kmior is.

-M.
Comment 8 Kim Moir CLA 2010-06-17 11:30:16 EDT
Thanks, that worked.

Could you also recursively chown as kmoir the following directory.  These are still owned as sdimitro

/home/data/httpd/download.eclipse.org/eclipse/updates
Comment 9 Eclipse Webmaster CLA 2010-06-17 13:54:14 EDT
Done.

-M.
Comment 10 Kim Moir CLA 2010-06-17 15:01:10 EDT
And one more, I think this is the last one :-)

chown -R kmoir  /home/data/httpd/download.eclipse.org/equinox/drops

and 

/home/data/httpd/download.eclipse.org/equinox

and chown kmoir *.php *.html *.txt  (not recursively)
Comment 11 Eclipse Webmaster CLA 2010-06-17 15:04:37 EDT
Done.  

-M.
Comment 12 Kim Moir CLA 2010-06-17 15:15:30 EDT
Hmm, the permissions look like they haven't changed in both cases

kmoir@node1:/home/data/httpd/download.eclipse.org/equinox/drops> ls -la
total 256
drwxrwxr-x 29 sdimitro rt.equinox.website  1064 2010-06-17 14:51 .
drwxrwsr-x  6 jeff     rt.equinox.website   480 2010-03-01 10:55 ..
drwxrwxr-x  7 kmoir    eclipseadmin       10888 2010-06-08 13:34 I20100608-0911
drwxrwxr-x  4 sdimitro eclipseadmin         112 2010-05-26 17:19 M20100205-0800
drwxr-xr-x  6 sdimitro eclipseadmin       10672 2010-02-13 20:20 M20100211-1343
drwxrwxr-x  7 kmoir    eclipseadmin       11400 2010-06-10 22:32 N20100610-2000
drwxrwxr-x  7 kmoir    eclipseadmin       11400 2010-06-12 22:03 N20100612-2000
drwxrwxr-x  7 kmoir    eclipseadmin       11400 2010-06-13 22:18 N20100613-2000
drwxrwxr-x  7 kmoir    eclipseadmin       11400 2010-06-14 22:14 N20100614-2000
drwxrwxr-x  7 kmoir    eclipseadmin       11400 2010-06-16 22:07 N20100616-2000
drwxr-xr-x  6 sdimitro eclipseadmin        9656 2008-09-25 11:46 R-3.4.1-200809111700
drwxr-xr-x  6 sdimitro eclipseadmin        9576 2009-01-19 15:48 R-3.4-200806172000
drwxr-xr-x  6 sdimitro eclipseadmin        9632 2009-02-24 10:13 R-3.4.2-200902111700
drwxr-xr-x  6 sdimitro eclipseadmin       10432 2009-09-24 14:12 R-3.5.1-200909170800
drwxrwxr-x  6 sdimitro eclipseadmin       10368 2009-06-24 08:52 R-3.5-200906111540
drwxr-xr-x  6 kmoir    eclipseadmin       10456 2010-02-25 11:59 R-3.5.2-201002111343
drwxr-xr-x  6 sdimitro eclipseadmin       10312 2010-01-25 15:17 S-3.5.2RC2-201001200800
drwxrwxr-x  4 sdimitro eclipseadmin         112 2010-05-03 16:19 S-3.5.2RC3-201002050800
drwxrwxr-x  6 sdimitro eclipseadmin       10088 2009-08-07 14:48 S-3.6M1-200908061400
drwxrwxr-x  6 sdimitro eclipseadmin       10528 2009-09-18 15:48 S-3.6M2-200909170100
drwxr-xr-x  6 sdimitro eclipseadmin       10424 2009-11-01 13:21 S-3.6M3-200910301201
drwxrwxr-x  6 sdimitro eclipseadmin       10192 2009-12-11 14:25 S-3.6M4-200912101301
drwxrwxr-x  6 sdimitro eclipseadmin       10752 2010-01-30 16:23 S-3.6M5-201001291300
drwxr-xr-x  6 kmoir    eclipseadmin       10656 2010-03-13 16:02 S-3.6M6-201003121448
drwxr-xr-x  7 kmoir    eclipseadmin       10856 2010-04-30 19:33 S-3.6M7-201004291549
drwxrwxr-x  7 kmoir    eclipseadmin       10712 2010-05-15 13:00 S-3.6RC1-201005131500
drwxr-xr-x  7 kmoir    eclipseadmin       10776 2010-05-21 16:03 S-3.6RC2-201005201744
drwxr-xr-x  7 kmoir    eclipseadmin       10768 2010-05-28 17:07 S-3.6RC3-201005271700
drwxr-xr-x  7 kmoir    eclipseadmin       10696 2010-06-07 10:38 S-3.6RC4-201006031500
Comment 13 Eclipse Webmaster CLA 2010-06-17 15:29:12 EDT
My bad. Confused /eclipse/equinox and /equinox.

-M.
Comment 14 Kim Moir CLA 2010-06-17 17:09:56 EDT
Okay, thanks Matt. I think we're good :-)