Changes to 'refs/tags/cobbler20-2.0.11-11'
by StephenHerr
Tag 'cobbler20-2.0.11-11' created by Stephen Herr <sherr(a)redhat.com> at 2013-02-08 18:12 +0000
Tagging package [cobbler20] version [2.0.11-11] in directory [spec-tree/cobbler20/].
Changes since rhn-virtualization-5.4.44-1:
Jan Pazdziora (1):
Silence the Statement unlikely to be reached at /usr/bin/db-control line 29 warning.
Stephen Herr (2):
Cobbler sometimes wants to share things through /tmp
Automatic commit of package [cobbler20] minor release [2.0.11-11].
---
rel-eng/packages/cobbler20 | 2 +-
spec-tree/cobbler20/cobbler20.spec | 5 ++++-
spec-tree/cobbler20/cobblerd.service | 1 -
web/modules/dobby/scripts/db-control | 1 +
4 files changed, 6 insertions(+), 3 deletions(-)
---
11 years, 3 months
2 commits - rel-eng/packages spec-tree/cobbler20
by StephenHerr
rel-eng/packages/cobbler20 | 2 +-
spec-tree/cobbler20/cobbler20.spec | 5 ++++-
spec-tree/cobbler20/cobblerd.service | 1 -
3 files changed, 5 insertions(+), 3 deletions(-)
New commits:
commit 348f9852953009824d29eed4d38590d95189d8b6
Author: Stephen Herr <sherr(a)redhat.com>
Date: Fri Feb 8 13:12:20 2013 -0500
Automatic commit of package [cobbler20] minor release [2.0.11-11].
diff --git a/rel-eng/packages/cobbler20 b/rel-eng/packages/cobbler20
index 714238b..49aa5f7 100644
--- a/rel-eng/packages/cobbler20
+++ b/rel-eng/packages/cobbler20
@@ -1 +1 @@
-2.0.11-10 spec-tree/cobbler20/
+2.0.11-11 spec-tree/cobbler20/
diff --git a/spec-tree/cobbler20/cobbler20.spec b/spec-tree/cobbler20/cobbler20.spec
index 51ca721..f08b987 100644
--- a/spec-tree/cobbler20/cobbler20.spec
+++ b/spec-tree/cobbler20/cobbler20.spec
@@ -7,7 +7,7 @@ Name: cobbler20
License: GPLv2+
AutoReq: no
Version: 2.0.11
-Release: 10%{?dist}
+Release: 11%{?dist}
Source0: cobbler-%{version}.tar.gz
Source1: cobblerd.service
Patch0: catch_cheetah_exception.patch
@@ -446,6 +446,9 @@ Web interface for Cobbler that allows visiting http://server/cobbler_web to conf
%doc AUTHORS COPYING CHANGELOG README
%changelog
+* Fri Feb 08 2013 Stephen Herr <sherr(a)redhat.com> 2.0.11-11
+- Cobbler sometimes wants to share things through /tmp
+
* Wed Feb 06 2013 Stephen Herr <sherr(a)redhat.com> 2.0.11-10
- Actually forcing cobblerd to not fork seems to work much better
- cobblerd must be marked as forking for systemd to treat it correctly
commit 05dd0eba6f3f8441b9b4f0d682730383daad7088
Author: Stephen Herr <sherr(a)redhat.com>
Date: Fri Feb 8 13:12:10 2013 -0500
Cobbler sometimes wants to share things through /tmp
diff --git a/spec-tree/cobbler20/cobblerd.service b/spec-tree/cobbler20/cobblerd.service
index 551e7e6..f8f5ab0 100644
--- a/spec-tree/cobbler20/cobblerd.service
+++ b/spec-tree/cobbler20/cobblerd.service
@@ -4,7 +4,6 @@ After=network.target xinetd.service httpd.service
[Service]
ExecStart=/usr/bin/cobblerd --no-daemonize
-PrivateTmp=yes
KillMode=process
[Install]
11 years, 3 months
web/modules
by Jan Pazdziora
web/modules/dobby/scripts/db-control | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 76481d5a88c7e70b110cb0bdd3dacf0cdd6c64aa
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Feb 8 15:29:04 2013 +0100
Silence the Statement unlikely to be reached at /usr/bin/db-control line 29 warning.
diff --git a/web/modules/dobby/scripts/db-control b/web/modules/dobby/scripts/db-control
index ca65e6b..dd11c50 100755
--- a/web/modules/dobby/scripts/db-control
+++ b/web/modules/dobby/scripts/db-control
@@ -25,6 +25,7 @@ if (not defined $uid or not defined $gid or $uid != $> or $gid != $)) {
$cli->fatal("Error: please run this command as the root ('su -').");
}
} else { # oracle backend can be run only as oracle user
+ no warnings 'syntax';
exec '/sbin/runuser', '-', $intended_username, '-c', join ' ', map "'$_'", $0, @ARGV;
$cli->fatal("Error: runuser $intended_username failed");
}
11 years, 3 months
Changes to 'refs/tags/rhn-virtualization-5.4.44-1'
by StephenHerr
Tag 'rhn-virtualization-5.4.44-1' created by Stephen Herr <sherr(a)redhat.com> at 2013-02-07 20:04 +0000
Tagging package [rhn-virtualization] version [5.4.44-1] in directory [client/tools/rhn-virtualization/].
Changes since cobbler20-2.0.11-10:
Stephen Herr (2):
908899 - rhn-virtualization-host needs to consistantly use the new function definition
Automatic commit of package [rhn-virtualization] release [5.4.44-1].
---
client/tools/rhn-virtualization/rhn-virtualization.spec | 6 +++
client/tools/rhn-virtualization/virtualization/support.py | 23 +++++++++-----
rel-eng/packages/rhn-virtualization | 2 -
3 files changed, 21 insertions(+), 10 deletions(-)
---
11 years, 3 months
2 commits - client/tools rel-eng/packages
by StephenHerr
client/tools/rhn-virtualization/rhn-virtualization.spec | 6 +++
client/tools/rhn-virtualization/virtualization/support.py | 23 +++++++++-----
rel-eng/packages/rhn-virtualization | 2 -
3 files changed, 21 insertions(+), 10 deletions(-)
New commits:
commit ffe0bf7382a99497ea721c6f9e4891737d7394bb
Author: Stephen Herr <sherr(a)redhat.com>
Date: Thu Feb 7 15:04:26 2013 -0500
Automatic commit of package [rhn-virtualization] release [5.4.44-1].
diff --git a/client/tools/rhn-virtualization/rhn-virtualization.spec b/client/tools/rhn-virtualization/rhn-virtualization.spec
index 5e96f15..3f43502 100644
--- a/client/tools/rhn-virtualization/rhn-virtualization.spec
+++ b/client/tools/rhn-virtualization/rhn-virtualization.spec
@@ -10,7 +10,7 @@ License: GPLv2
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
-Version: 5.4.43
+Version: 5.4.44
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -151,6 +151,10 @@ fi
%doc LICENSE
%changelog
+* Thu Feb 07 2013 Stephen Herr <sherr(a)redhat.com> 5.4.44-1
+- 908899 - rhn-virtualization-host needs to consistantly use the new function
+ definition
+
* Wed Feb 06 2013 Jan Pazdziora 5.4.43-1
- support studio KVM image type
diff --git a/rel-eng/packages/rhn-virtualization b/rel-eng/packages/rhn-virtualization
index 9ac60af..870f4cb 100644
--- a/rel-eng/packages/rhn-virtualization
+++ b/rel-eng/packages/rhn-virtualization
@@ -1 +1 @@
-5.4.43-1 client/tools/rhn-virtualization/
+5.4.44-1 client/tools/rhn-virtualization/
commit 5f8c84dcff4c4d942c9e52485e8821b166c1771a
Author: Stephen Herr <sherr(a)redhat.com>
Date: Thu Feb 7 15:02:57 2013 -0500
908899 - rhn-virtualization-host needs to consistantly use the new function definition
diff --git a/client/tools/rhn-virtualization/virtualization/support.py b/client/tools/rhn-virtualization/virtualization/support.py
index b6748bf..9f162a4 100755
--- a/client/tools/rhn-virtualization/virtualization/support.py
+++ b/client/tools/rhn-virtualization/virtualization/support.py
@@ -7,10 +7,10 @@
# FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
# along with this software; if not, see
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
-#
+#
# Red Hat trademarks are not licensed under GPLv2. No permission is
# granted to use or replicate Red Hat trademarks that are incorporated
-# in this software or its documentation.
+# in this software or its documentation.
#
import sys
@@ -49,6 +49,12 @@ def _check_status(daemon):
return True
vdsm_enabled = _check_status("vdsmd")
+# override vdsm_enabled if we can't read information from it
+try:
+ from virtualization import localvdsm
+except ImportError:
+ vdsm_enabled = False
+
###############################################################################
# Public Interface
@@ -72,14 +78,15 @@ def refresh(fail_on_error=False):
# First, declare our own existence.
plan.add(
- EventType.EXISTS,
- TargetType.SYSTEM,
+ EventType.EXISTS,
+ TargetType.SYSTEM,
{ PropertyType.IDENTITY : domain_identity,
PropertyType.UUID : my_uuid })
# Now, crawl each of the domains on this host.
if vdsm_enabled:
- domains = poller.poll_through_vdsm()
+ server = localvdsm.connect()
+ domains = poller.poll_through_vdsm(server)
else:
domains = poller.poll_hypervisor()
@@ -172,13 +179,13 @@ def schedulePoller(minute, hour, dom, month, dow):
def _is_host_domain(fail_on_error=False):
"""
- This function returns true if this system is currently a host domain.
+ This function returns true if this system is currently a host domain.
Simply having virtualization enabled is sufficient.
We can figure out if Xen/Qemu is running by checking for the type
"""
if vdsm_enabled:
- # since vdsm is enabled, lets move further and
+ # since vdsm is enabled, lets move further and
# see what we get
return True
if not libvirt:
@@ -197,7 +204,7 @@ def _is_host_domain(fail_on_error=False):
def _fetch_host_uuid():
"""
- This function returns the UUID of the host system. This will always be
+ This function returns the UUID of the host system. This will always be
16 zeros.
"""
return '0000000000000000'
11 years, 3 months
Changes to 'refs/tags/cobbler20-2.0.11-10'
by StephenHerr
Tag 'cobbler20-2.0.11-10' created by Stephen Herr <sherr(a)redhat.com> at 2013-02-06 20:31 +0000
Tagging package [cobbler20] version [2.0.11-10] in directory [spec-tree/cobbler20/].
Changes since apt-spacewalk-1.0.7-1:
Stephen Herr (3):
cobblerd must be marked as forking for systemd to treat it correctly
Actually forcing cobblerd to not fork seems to work much better
Automatic commit of package [cobbler20] minor release [2.0.11-10].
---
rel-eng/packages/cobbler20 | 2 +-
spec-tree/cobbler20/cobbler20.spec | 6 +++++-
spec-tree/cobbler20/cobblerd.service | 4 +++-
3 files changed, 9 insertions(+), 3 deletions(-)
---
11 years, 3 months
rel-eng/packages spec-tree/cobbler20
by StephenHerr
rel-eng/packages/cobbler20 | 2 +-
spec-tree/cobbler20/cobbler20.spec | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
New commits:
commit a484cb0a87d200126fe7fc0f24a2efcdeac96364
Author: Stephen Herr <sherr(a)redhat.com>
Date: Wed Feb 6 15:31:25 2013 -0500
Automatic commit of package [cobbler20] minor release [2.0.11-10].
diff --git a/rel-eng/packages/cobbler20 b/rel-eng/packages/cobbler20
index c2e330d..714238b 100644
--- a/rel-eng/packages/cobbler20
+++ b/rel-eng/packages/cobbler20
@@ -1 +1 @@
-2.0.11-9 spec-tree/cobbler20/
+2.0.11-10 spec-tree/cobbler20/
diff --git a/spec-tree/cobbler20/cobbler20.spec b/spec-tree/cobbler20/cobbler20.spec
index 6bccb4b..51ca721 100644
--- a/spec-tree/cobbler20/cobbler20.spec
+++ b/spec-tree/cobbler20/cobbler20.spec
@@ -7,7 +7,7 @@ Name: cobbler20
License: GPLv2+
AutoReq: no
Version: 2.0.11
-Release: 9%{?dist}
+Release: 10%{?dist}
Source0: cobbler-%{version}.tar.gz
Source1: cobblerd.service
Patch0: catch_cheetah_exception.patch
@@ -446,6 +446,10 @@ Web interface for Cobbler that allows visiting http://server/cobbler_web to conf
%doc AUTHORS COPYING CHANGELOG README
%changelog
+* Wed Feb 06 2013 Stephen Herr <sherr(a)redhat.com> 2.0.11-10
+- Actually forcing cobblerd to not fork seems to work much better
+- cobblerd must be marked as forking for systemd to treat it correctly
+
* Fri Feb 01 2013 Michael Mraka <michael.mraka(a)redhat.com> 2.0.11-9
- let's use native systemd service on fedora
- create systemd service for cobblerd
11 years, 3 months
spec-tree/cobbler20
by StephenHerr
spec-tree/cobbler20/cobblerd.service | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 37cb7d03c0bb3226485bf76b84adc29774efec8e
Author: Stephen Herr <sherr(a)redhat.com>
Date: Wed Feb 6 14:56:48 2013 -0500
Actually forcing cobblerd to not fork seems to work much better
diff --git a/spec-tree/cobbler20/cobblerd.service b/spec-tree/cobbler20/cobblerd.service
index 36d2e61..551e7e6 100644
--- a/spec-tree/cobbler20/cobblerd.service
+++ b/spec-tree/cobbler20/cobblerd.service
@@ -3,8 +3,9 @@ Description=daemon that a provides remote cobbler API and status tracking
After=network.target xinetd.service httpd.service
[Service]
-Type=forking
-ExecStart=/usr/bin/cobblerd --daemonize
+ExecStart=/usr/bin/cobblerd --no-daemonize
+PrivateTmp=yes
+KillMode=process
[Install]
WantedBy=multi-user.target
11 years, 3 months
spec-tree/cobbler20
by StephenHerr
spec-tree/cobbler20/cobblerd.service | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 03f1610acfe238210c255d0eb0d32e9bcf7ebe49
Author: Stephen Herr <sherr(a)redhat.com>
Date: Wed Feb 6 14:45:46 2013 -0500
cobblerd must be marked as forking for systemd to treat it correctly
diff --git a/spec-tree/cobbler20/cobblerd.service b/spec-tree/cobbler20/cobblerd.service
index a225aad..36d2e61 100644
--- a/spec-tree/cobbler20/cobblerd.service
+++ b/spec-tree/cobbler20/cobblerd.service
@@ -3,6 +3,7 @@ Description=daemon that a provides remote cobbler API and status tracking
After=network.target xinetd.service httpd.service
[Service]
+Type=forking
ExecStart=/usr/bin/cobblerd --daemonize
[Install]
11 years, 3 months
Changes to 'refs/tags/apt-spacewalk-1.0.7-1'
by Jan Pazdziora
Tag 'apt-spacewalk-1.0.7-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2013-02-06 16:05 +0000
Tagging package [apt-spacewalk] version [1.0.7-1] in directory [client/debian/packages-already-in-debian/apt-transport-spacewalk/].
Changes since spacewalk-java-1.9.60-1:
Jan Pazdziora (1):
Automatic commit of package [apt-spacewalk] release [1.0.7-1].
Miroslav Suchý (1):
move location of apt-spacewalk as it was done in 0d53cc0
---
client/debian/packages-already-in-debian/apt-transport-spacewalk/apt-spacewalk.spec | 5 ++++-
rel-eng/packages/apt-spacewalk | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
11 years, 3 months