<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
After doing some tests in all supported distros I got the
following:<br>
<br>
<b>RHEL 6.5</b><br>
[root@rhel-vm kimchi]# rpm -ivh
/root/kimchi/rpm/RPMS/x86_64/kimchi-1.1.0-41.git383a830.el6.x86_64.rpm<br>
Preparing...
########################################### [100%] <br>
1:kimchi
########################################### [100%] <br>
kimchid start/running, process
11043 <br>
iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK
] <br>
<br>
We should not show the firewall message<br>
<br>
<br>
<b>Fedora 19</b><br>
[root@localhost kimchi]# rpm -ivh
/root/kimchi/rpm/RPMS/x86_64/kimchi-1.1.0-31.git3e009ce.fc19.x86_64.rpm<br>
Preparing...
################################# [100%] <br>
Updating /
installing...
<br>
1:kimchi-1.1.0-31.git3e009ce.fc19
################################# [100%] <br>
Redirecting to /bin/systemctl start
kimchid.service <br>
success
<br>
success<br>
<br>
We should not show the 'sucess' messages above. I think it is
related to firewall commands.<br>
<br>
<b>Ubuntu 13.10</b><br>
alinefm@alinefm-virtual-machine:~/kimchi$ sudo dpkg -i
kimchi-1.1.0-41.git1adc776.noarch.deb<br>
Selecting previously unselected package
kimchi. <br>
(Reading database ... 171601 files and directories currently
installed.) <br>
Unpacking kimchi (from kimchi-1.1.0-41.git1adc776.noarch.deb)
... <br>
Setting up kimchi (1.1.0)
... <br>
kimchid start/running, process
3351 <br>
FirewallD is not
running <br>
dpkg: error processing kimchi
(--install): <br>
subprocess installed post-installation script returned error exit
status 252 <br>
Processing triggers for ureadahead
... <br>
Errors were encountered while
processing: <br>
kimchi <br>
<br>
I got the following error because firewalld service wasn't running<br>
So I start the service manually<br>
<br>
alinefm@alinefm-virtual-machine:~/kimchi$ sudo service firewalld
status <br>
* firewalld is not
running <br>
alinefm@alinefm-virtual-machine:~/kimchi$ sudo service firewalld
start <br>
* Starting dynamic firewall daemon firewalld<br>
<br>
Then I tried to install kimchi again and I got a new error and I
wasn't able to install kimchi.<br>
<br>
alinefm@alinefm-virtual-machine:~/kimchi$ sudo dpkg -i
kimchi-1.1.0-41.git1adc776.noarch.deb<br>
Selecting previously unselected package kimchi.<br>
(Reading database ... 171601 files and directories currently
installed.)<br>
Unpacking kimchi (from kimchi-1.1.0-41.git1adc776.noarch.deb) ...<br>
Setting up kimchi (1.1.0) ...<br>
kimchid start/running, process 4592<br>
success<br>
Error: INVALID_SERVICE: kimchid<br>
dpkg: error processing kimchi (--install):<br>
subprocess installed post-installation script returned error exit
status 101<br>
Processing triggers for ureadahead ...<br>
Errors were encountered while processing:<br>
kimchi<br>
<br>
So I noticed the /usr/lib/firewalld/services/kimchid.xml file
wasn't installed<br>
<br>
alinefm@alinefm-virtual-machine:~/kimchi$ dpkg --contents
kimchi-1.1.0-41.git1adc776.noarch.deb | grep kimchid<br>
-rwxr-xr-x root/root 3370 2014-01-03 11:46 ./usr/bin/kimchid<br>
-rw-r--r-- root/root 1056 2014-01-03 11:46
./etc/init/kimchid.conf<br>
<br>
You need to update Makefile.am, "deb" target to install the file
in the correct location.<br>
<br>
<br>
On 01/03/2014 01:11 AM, <a class="moz-txt-link-abbreviated" href="mailto:taget@linux.vnet.ibm.com">taget@linux.vnet.ibm.com</a> wrote:<br>
</div>
<blockquote
cite="mid:1388718678-19047-1-git-send-email-taget@linux.vnet.ibm.com"
type="cite">
<pre wrap="">From: Eli Qiao <a class="moz-txt-link-rfc2396E" href="mailto:taget@linux.vnet.ibm.com"><taget@linux.vnet.ibm.com></a>
V6 -V5 changes:
1.Keep specific condition for RHEL6 when starting kimchid service
2.Remove full path of firewall-cmd in postrm
V5 - V4 changes:
1. Add cover-letter. (Aline)
2. Move clean up rules into if condition. (Aline)
3. Use with_systemd condition to check if use firewalld rules. (Aline)
4. Fix typo (Aline)
V4 - V3 changes:
1 Fix typo in firewalld.xml (Rodrigo)
V3 - V2 changes:
1.Rename kimchid.xml to firewalld.xml (Mark)
2.Remove firewalld from serivce require (Mark)
3.Fix typo
V2 - V1 changes:
1.Add firewalld sevice configure file kimchid.xml to help open iptables port (Mark)
2.Add Ubuntu iptables rule (Royce)
Eli Qiao (1):
spec: Open 8000 and 8001 port by default
contrib/DEBIAN/control.in | 3 ++-
contrib/DEBIAN/postinst | 2 ++
contrib/DEBIAN/postrm | 2 ++
contrib/kimchi.spec.fedora.in | 22 ++++++++++++++++++++++
contrib/kimchi.spec.suse.in | 10 ++++++++--
src/Makefile.am | 1 +
src/firewalld.xml | 7 +++++++
7 files changed, 44 insertions(+), 3 deletions(-)
create mode 100644 src/firewalld.xml
_______________________________________________
Kimchi-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kimchi-devel@ovirt.org">Kimchi-devel@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>