1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-07 17:17:41 +03:00
Commit Graph

141 Commits

Author SHA1 Message Date
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
Carlos Martín
79e90bc8d6 Feature #2691: Remove oZones code
Farewell oZones, you will be dearly missed
2014-01-29 15:56:20 +01:00
Tino Vazquez
9979c5e261 feature #2183: Fix for ozones init script in openSUSE
(cherry picked from commit 14f0051b24)
2013-11-12 16:18:44 +01:00
Tino Vazquez
bb4e4b568a feature #2183: Add init scripts for openSUSE 2013-11-11 18:41:39 +01:00
Tino Vazquez
b34232d6c4 feature #2183: Add init scripts for Ubuntu
(cherry picked from commit 1618ffa4e5)
2013-11-11 18:07:43 +01:00
Tino Vazquez
33f535e4f1 feature #2183: Add init scripts for CentOS and Debian 2013-11-11 17:36:52 +01:00
Tino Vazquez
a4db79f4f1 feature #2183: Added oneflow and onegate CentOS init scripts 2013-10-24 16:19:45 +02:00
Robert Schweikert
2054836301 Feature #1683: create a way to initialize without service start + This allows a mode to just initialize the database + Changes the decision making about DB bootstrapping such that a missing DB no longer produces misleading messages in the log file + Allows the DB to be initialized/bootstrapped during an automated install process without having to wait for some arbitrary time to kill the daemon - return the SQL error code from the DB::exec method + This allows to make decisions about DB bootstrapping earlier and avoids misleading messages in the log file 2013-10-08 15:14:00 +02:00
Jaime Melis
371094bbd5 Bug #2257: rename sudoers files 2013-08-15 15:53:47 -04:00
Jaime Melis
c80a947613 Bug #2257: Add sudoers files for all distributions 2013-08-15 15:15:50 -04:00
Jaime Melis
ce23ad5e8e Fix opennebula init script for Debian/Centos 2013-04-17 19:00:37 +02:00
Jaime Melis
6b88305f6b Fix OpenNebula CentOS init script 2013-04-17 16:39:13 +02:00
Javi Fontan
2cca4c5676 feature #1859: start/stop/restart actions for scheduler 2013-04-04 12:34:29 +02:00
Jaime Melis
b68a36cbb9 Bug #1289: Improve centos init scripts
(cherry picked from commit f01cfa07eb)
2012-10-26 17:17:27 +02:00
Jaime Melis
644e9afaed Upstream update of openSUSE sunstone.server delay patch 2012-10-19 11:51:36 +02:00
Jaime Melis
049205f6b5 Rename opennebula daemons for CentOS 2012-10-16 15:51:57 +02:00
Jaime Melis
d629c13ef6 Bug #1538: sunstone-server init script in rpm package has bad references to oned name.
Applied patch on behalf of Jan Horacek.
2012-10-16 13:21:20 +02:00
Jaime Melis
43ee358fd7 Bug #1537: rpm packages for pre-beta is missing occi-server init script. Apply patch on behalf of Jan Horacek. 2012-10-16 13:21:20 +02:00
Jaime Melis
25014ac99d Reorganize packaging files 2012-10-16 13:21:20 +02:00