1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-26 10:03:37 +03:00

68 Commits

Author SHA1 Message Date
Vlastimil Holer
639c866798 B #5530: Remove unnecessary commands from sudoers (#559) 2017-11-02 15:13:15 +01:00
rpmzandwijk
5fd66eff8f Update opennebula.service
Typo: forground --> foreground
2017-09-11 15:50:49 +02:00
rpmzandwijk
b10b4171bb Update one.service
Typo: forground --> foreground
2017-09-11 15:50:26 +02:00
Vlastimil Holer
9be1a1a706 Send both gratuitous ARP request and reply on VIP change. (#426)
* Send both gratuitous ARP request and reply on VIP change.

* Enable arping in sudoers

* Run arping via sudo
2017-09-04 12:13:16 +02:00
Jaime Melis
3224a504e4 F #4809: Cleanup VIP if oned dies 2017-06-22 17:47:42 -04:00
Vlastimil Holer
1f00586c65 B #5192: Cleanup oned lockfile on systemd service stop/fail (#340) 2017-06-16 18:01:02 +02:00
Vlastimil Holer
dc0edf386c
Add OpenNebula systemd service dependency on MySQL 2017-04-27 17:19:52 +02:00
Javi Fontan
29163c70f0 Add ip6tables to Debian 8 sudoers file 2017-02-27 18:56:25 +01:00
Vlastimil Holer
ca1a4ec320 B #4994: Ignore logrotate exit status on opennebula(-sunstone) start (#186) 2017-02-10 10:32:51 +01:00
Roy Keene
599e32a44d F #4159 Ported securitygroup6 patch
(cherry picked from commit 43605bedbf55d5c3b121aa3c5ff14b2a5bed49e1)
2016-12-29 12:58:13 +01:00
Jaime Melis
406695f8a0 B #4870: missing sudo perms for mkswap
Patch submitted by Jan "Yenya" Kasprzak
2016-10-14 16:33:47 +02:00
Jaime Melis
380403599b Adds status to the ubuntu 14.04 flow and gate init.d scripts
(cherry picked from commit 41a599d03282f6a3bb16bcdbdd12cef3d681c6c2)
2016-07-21 16:12:58 +02:00
Javi Fontan
0b91e9382b bug #4365: fix path in logrotate call 2016-05-20 19:12:38 +02:00
Javi Fontan
50fb192eea bug #4365: rotate logs on oned or sunstone start
Sent by: Bill Cole
2016-05-20 12:34:19 +02:00
Jaime Melis
16c969cc70 Feature #4110: lvrename is not necessary any more 2016-05-10 15:03:09 +02:00
Javi Fontan
6383bfc299 Add debian systemd start scripts 2016-05-05 17:02:36 +02:00
Javi Fontan
563b42cb32 Add ubuntu systemd start scripts
Copy of CentOS 7 until they deviate
2016-05-05 10:19:26 +02:00
Javi Fontan
0b091e8584 feature #4110: use lvscan instead of lvs
In Ubuntu lvs does not update device files
2016-04-05 16:55:49 +00:00
Javi Fontan
bf1d9e24a0 Merge branch 'master' of https://github.com/apocas/one into feature-4110 2016-04-05 16:08:41 +00:00
Boris Parak
0064f572b8 Fixed restart-sched in opennebula init script
Fixing wrong use of `do_start` in restart-sched routine.

(cherry picked from commit 820d562f53f474074db950925bb09e125c94bc59)
2016-02-23 11:08:59 +01:00
Javi Fontan
ba28277d05 Revert "bug #3374: fix status result for Debian and Ubuntu"
This reverts commit 7724a1c88346d24e3f7796c310e1effb053839ed.

Breaks service startup
2015-11-18 11:46:52 +01:00
Dan Kelleher
a79c1fbd3f Bug #4125: Probes cleaned by systemd-tmpfiles
Add systemd-tmpfiles exemption for /var/tmp/one

(cherry picked from commit 6546928dfe2072ed3731bc00bca653087b397ec0)
2015-11-11 12:23:37 +01:00
Javi Fontan
7724a1c883 bug #3374: fix status result for Debian and Ubuntu
(cherry picked from commit 99050640920072099bd9448bca4954ffa5ba543a)
2015-11-10 15:59:04 +01:00
Jaime Melis
e12490913d Feature #3987: update sudoers 2015-11-02 15:47:42 +01:00
Pedro Dias
654ef79b89 clvm OFF 2015-10-26 18:07:24 +00:00
Javi Fontan
f503bcbffe bug #3743: add Debian8 directory and fix ipset path in Debian 7 2015-05-28 16:09:00 +02:00
Javi Fontan
7c26e8ca1d feature #301: add logrotate configuration 2015-03-13 14:26:52 +01:00
Javi Fontan
c4ada3b65f bug #3665: add ipset to the allowed list in sudoers files 2015-03-12 17:55:15 +01:00
Daniel Dehennin
f69314145c Do not override global sudo configuration
The actual sudo configuration apply globally and can conflict with
system configuration.

* share/pkgs/CentOS/opennebula.sudoers: Limit the “!requiretty” and
  “secure_path” to user oneadmin.

* share/pkgs/Debian/opennebula.sudoers: Ditoo.

* share/pkgs/Ubuntu/opennebula.sudoers: Ditoo.

* share/pkgs/openSUSE/opennebula.sudoers: Ditoo.
2015-02-14 22:06:47 +01:00
Daniel Dehennin
6d177e8e35 Debian init: add optional dependency on mysql
Debian with insserv use dependency based boot sequence.

“Required-Start” and “Required-Stop” can not be used because MySQL may
not be available.

* share/pkgs/Debian/opennebula: Add the “Should-Start” and “Should-Stop”
  on MySQL.

* share/pkgs/Ubuntu/opennebula: Ditoo.
2015-02-05 20:04:05 +01:00
Javi Fontan
5a18ce4fc4 feature #2697: update sunstone systemd to start novnc 2014-11-27 19:14:49 +01:00
Javi Fontan
5f045785ee feature #2697: add econe systemd script 2014-11-27 19:13:11 +01:00
Javi Fontan
c2ac822718 feature #2697: add novnc systemd start script 2014-11-27 18:48:20 +01:00
Javi Fontan
23939000b7 feature #2697: add systemd init scripts for CentOS 7
Based on openSUSE systemd scripts by Robert Schweikert

*.service files go in /lib/systemd/system
opennebula.conf goes in /lib/tmpfiles.d

sunstone, oneflow and onegate lose the *.error log files. That information
can be retrieved using systemctl status, for example for sunstone:

systemctl status -l opennebula-sunstone
2014-11-26 18:14:52 +01:00
Javi Fontan
fc0342533f bug #2866: add syslog dependency to opennebula daemon 2014-07-28 18:40:27 +02:00
Jaime Melis
ff285c997a Feature #2990: Remove vconfig from the sudoers files 2014-07-23 09:56:50 +02:00
Javi Fontan
a04a2c379e feauture #3041: take out occi from main repo 2014-07-14 22:37:11 +02:00
Javi Fontan
95ce712797 feature #3010: Create run and lock dirs when starting one in CentOS
In CentOS 7 /var/run and /var/lock are tmpfs so the directories for one
daemons must be created in the init script.
2014-07-08 15:50:02 +02:00
Javi Fontan
9213b474de feature #2862: novnc did not start in centos sunstone script
Also some whitespace fixing
2014-06-11 15:34:05 +02:00
Javi Fontan
bbce1ab1ab feature #2862: make sunstone-server script start novnc by default
Add commands start-sunstone, stop-sunstone, restart-sunstone to bypass novnc start,
stop and restart. The init scripts for CentOS, Debian and Ubuntu are changed so
they use these new commands.
2014-05-07 12:39:50 +02:00
Javi Fontan
b9fad4fd80 Merge branch 'novnc_init_centos' of https://github.com/tuxmea/one into feature-2862 2014-05-06 18:27:02 +02:00
Javi Fontan
f617f8af98 Merge branch 'novnc_init' of https://github.com/bechtoldt/one into feature-2862
Conflicts:
	share/pkgs/Debian/opennebula-sunstone
	share/pkgs/Ubuntu/opennebula-sunstone
2014-05-06 18:23:49 +02:00
Boris Parak
d6c4ce373b Added status to init script usage msgs 2014-05-05 16:44:43 +02:00
Boris Parak
0254343faf Added status to Sunstone init scripts for Debian 2014-05-05 16:44:43 +02:00
Boris Parak
8be4a1f09b Added status to Sunstone init scripts for Ubuntu 2014-05-05 16:44:42 +02:00
Arnold Bechtoldt
60c3d6d2c2 don't fail too hard. the user will see an error anyway 2014-05-04 10:00:20 +02:00
Martin Alfke
62d0eaa086 Separate novnc from CentOS init scripts
needs PR https://github.com/OpenNebula/one/pull/22
2014-05-03 21:48:09 +02:00
Arnold Bechtoldt
d9ea4da24e setting the right paths for novnc scripts 2014-05-01 21:46:30 +02:00
Arnold Bechtoldt
5cb304f9ee setting the correct script path for opennebula sunstone initscript 2014-05-01 21:36:53 +02:00
Arnold Bechtoldt
4c23f50044 separate novnc from sunstone to implement an dedicated init script for nonvnc 2014-05-01 21:30:07 +02:00