[MCOL-1480] RPM on CentOS 6 installs a logrotate config that errors about su Created: 2018-06-18 Updated: 2022-11-05 Resolved: 2022-11-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | installation |
| Affects Version/s: | 1.1.4 |
| Fix Version/s: | Icebox |
| Type: | Task | Priority: | Major |
| Reporter: | Tom Parrott | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 6.9 AMD64 |
||
| Sprint: | 2018-13, 2018-14, 2018-15, 2018-16, 2018-17, 2018-18, 2018-19, 2018-20, 2018-21 |
| Description |
|
The RPM ColumnStore packages install a logrotate config that errors each day with: /etc/cron.daily/logrotate: error: columnstore:13 unknown option 'su' – ignoring line Removing the "su" lines in /etc/cron.daily/logrotate seems to fix it. |
| Comments |
| Comment by David Hill (Inactive) [ 2018-06-18 ] |
|
The use of 'su' worked on centos 7, but looks like its not supported on centos 6. was able to reproduce the issue logrotate -f columnstore So as mentioned in the original comment, work-around fix is to remove the lines 'su root root' for root installs |
| Comment by Otto Kekäläinen [ 2020-05-21 ] |
|
Are you sure 'su' is needed, isn't logrotate running anyway with root level permissions? |
| Comment by Todd Stoffel (Inactive) [ 2022-11-05 ] |
|
This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket. |