# Will OnDemand work if rsync is removed?

**URL:** https://discourse.openondemand.org/t/will-ondemand-work-if-rsync-is-removed/2203
**Category:** Get Help
**Tags:** question
**Created:** [July 25, 2022, 6:25pm UTC](https://discourse.openondemand.org/t/will-ondemand-work-if-rsync-is-removed/2203 "2022-07-25T18:25:16Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ric](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/ric/32/63_2.png) [@ric](https://discourse.openondemand.org/u/ric)
#### Post date: [July 25, 2022, 6:25pm UTC](https://discourse.openondemand.org/t/will-ondemand-work-if-rsync-is-removed/2203/1 "2022-07-25T18:25:16Z")

</div>

WIll OnDemand function properly in the absence of rsync? I know the ondemand rpm lists rsync as a requirement, but I have a use case where I need to remove the rsync package from the OOD server…

---

<div class="post-metadata">

### Author: ![gbyrket](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gbyrket/32/894_2.png) [@gbyrket](https://discourse.openondemand.org/u/gbyrket)
#### Post date: [July 25, 2022, 6:51pm UTC](https://discourse.openondemand.org/t/will-ondemand-work-if-rsync-is-removed/2203/2 "2022-07-25T18:51:58Z")

</div>

Hey Ric.

I would have to test it and see. Do you have the ability to test the use case?

Thanks,  
-gerald

---

<div class="post-metadata">

### Author: ![ric](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/ric/32/63_2.png) [@ric](https://discourse.openondemand.org/u/ric)
#### Post date: [July 25, 2022, 11:21pm UTC](https://discourse.openondemand.org/t/will-ondemand-work-if-rsync-is-removed/2203/3 "2022-07-25T23:21:26Z")

</div>

The standard package removal process that is in use (yum erase rsync) takes the ondemand and ondemand-selonux packages out as dependencoes. I know there are ways around that, but the process is a box.

This comes down to "why does the ondemand rpm require the rsync package as a dependency?”  
Ric

---

<div class="post-metadata">

### Author: ![gbyrket](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gbyrket/32/894_2.png) [@gbyrket](https://discourse.openondemand.org/u/gbyrket)
#### Post date: [July 26, 2022, 1:27pm UTC](https://discourse.openondemand.org/t/will-ondemand-work-if-rsync-is-removed/2203/4 "2022-07-26T13:27:25Z")

</div>

We’ll have to look at this, and get back with you.

Thanks,  
-gerald

---

<div class="post-metadata">

### Author: ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)
#### Post date: [July 26, 2022, 2:03pm UTC](https://discourse.openondemand.org/t/will-ondemand-work-if-rsync-is-removed/2203/5 "2022-07-26T14:03:25Z")

</div>

Hi Ric,

The dependency are in the `batch_connect` and `myjobs` apps. You can see the associated code here:

> <https://github.com/OSC/ondemand/blob/master/apps/myjobs/app/models/filesystem.rb#L81>

And also here:

> <https://github.com/OSC/ondemand/blob/master/apps/myjobs/app/models/workflow.rb#L116>

Oh! And one more rather important dependency:

> <https://github.com/OSC/ondemand/blob/master/apps/dashboard/app/models/batch_connect/session.rb#L244>

Let me know if you have anymore questions!

---

<div class="post-metadata">

### Author: ![ric](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/ric/32/63_2.png) [@ric](https://discourse.openondemand.org/u/ric)
#### Post date: [July 26, 2022, 2:38pm UTC](https://discourse.openondemand.org/t/will-ondemand-work-if-rsync-is-removed/2203/6 "2022-07-26T14:38:31Z")

</div>

Thanks for the info - I’ll see if I can get a rsync exception for this system.  
Ric

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)
#### Post date: [January 22, 2023, 2:38pm UTC](https://discourse.openondemand.org/t/will-ondemand-work-if-rsync-is-removed/2203/7 "2023-01-22T14:38:45Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
