# \[FX30\] Problem with logrotate in yocto image

**URL:** <https://forum.sierrawireless.com/t/fx30-problem-with-logrotate-in-yocto-image/13529>\
**Category:** FX30\
**Created:** [August 17, 2018, 7:47am UTC](https://forum.sierrawireless.com/t/fx30-problem-with-logrotate-in-yocto-image/13529 "2018-08-17T07:47:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlBo](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@AlBo](https://forum.sierrawireless.com/u/AlBo)\
**Post date:** [August 17, 2018, 7:47am UTC](https://forum.sierrawireless.com/t/fx30-problem-with-logrotate-in-yocto-image/13529/1 "2018-08-17T07:47:02Z")

</div>

Hello,  
The latest yocto image provide a logrotate script in `/etc/cron.daily` but this script calls `/usr/sbin/logrotate` which doesn’t exist. `logrotate`is in `/usr/bin`.

Unfortunately, it seems it’s not easy to fix. If I try to crate a symlink in my rules to `/usr/sbin` when I build it it says that `/usr/sbin/logrorate` exists already I Don’t understand why as it’s not the case !?! And I provide my own logrotate, it says it exists already. That’s true.

So I suppose that logrotate doesn’t work in yocto image! Could you tells me how it’s suppose to work and where logrotate comes from as I can found it in `build_bin` only?  
So how would you do to fix that?

---

<div class="post-metadata">

**Author:** ![cchenry](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@cchenry](https://forum.sierrawireless.com/u/cchenry)\
**Post date:** [August 20, 2018, 7:56pm UTC](https://forum.sierrawireless.com/t/fx30-problem-with-logrotate-in-yocto-image/13529/2 "2018-08-20T19:56:23Z")

</div>

Hi Albo,  
Could you please specify which device and version you are running this on?  
BR,  
Chris

---

<div class="post-metadata">

**Author:** ![AlBo](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@AlBo](https://forum.sierrawireless.com/u/AlBo)\
**Post date:** [August 21, 2018, 7:02am UTC](https://forum.sierrawireless.com/t/fx30-problem-with-logrotate-in-yocto-image/13529/3 "2018-08-21T07:02:14Z")

</div>

Hi Chris,

I build my image from Legato-Dist-Source-mdm9x15-SWI9X15Y\_07.12.14.00 and I run it on a FX30 3G Generic Prt No 110324.

---

<div class="post-metadata">

**Author:** ![cchenry](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@cchenry](https://forum.sierrawireless.com/u/cchenry)\
**Post date:** [August 21, 2018, 11:38pm UTC](https://forum.sierrawireless.com/t/fx30-problem-with-logrotate-in-yocto-image/13529/4 "2018-08-21T23:38:02Z")

</div>

Hi AlBo,  
The image you built is a stock WP image for Release 15, which isn’t supported on the FX30.

Please go through your support channel to open an issue against the WP8548 module Release 15.  
BR,  
Chris
