Bug #4994

move /etc/logrotate.d/opennebula to opennebula-common package

Added by Anton Todorov over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:01/25/2017
Priority:NormalDue date:
Assignee:Vlastimil Holer% Done:

0%

Category:Packaging
Target version:Release 5.4
Resolution: Pull request:
Affected Versions:OpenNebula 5.2

Description

Following https://forum.opennebula.org/t/error-starting-sunstone/3625

In brief: /etc/logrotate.d/opennebula is checked in opennebula and opennebula-sunstone init scripts. When there is instance with only opennebula-sunstone it fails to start because the file is packed in opennebula-server.

I can provide patch but can't find the `spec` file used for the packaging in github.

Kind Regards,
Anton Todorov

Associated revisions

Revision ca1a4ec3
Added by Vlastimil Holer over 4 years ago

B #4994: Ignore logrotate exit status on opennebula(-sunstone) start (#186)

History

#1 Updated by Javi Fontan over 4 years ago

  • Assignee set to Vlastimil Holer
  • Target version set to Release 5.4

#2 Updated by Vlastimil Holer over 4 years ago

1. I have fixed the packaging and moved logrotate configuration into common package. Previously, the package purpose was only to create the oneadmin user.

2. I have fixed the systemd service script not to fail if logrotate fails:
https://github.com/OpenNebula/one/pull/186

#3 Updated by Vlastimil Holer over 4 years ago

  • Status changed from Pending to Closed

Closing, PR merged.

Also available in: Atom PDF