After doing some tests in all supported distros I got the
following:
RHEL 6.5
[root@rhel-vm kimchi]# rpm -ivh
/root/kimchi/rpm/RPMS/x86_64/kimchi-1.1.0-41.git383a830.el6.x86_64.rpm
Preparing...
########################################### [100%]
1:kimchi
########################################### [100%]
kimchid start/running, process
11043
iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK
]
We should not show the firewall message
Fedora 19
[root@localhost kimchi]# rpm -ivh
/root/kimchi/rpm/RPMS/x86_64/kimchi-1.1.0-31.git3e009ce.fc19.x86_64.rpm
Preparing...
################################# [100%]
Updating /
installing...
1:kimchi-1.1.0-31.git3e009ce.fc19
################################# [100%]
Redirecting to /bin/systemctl start
kimchid.service
success
success
We should not show the 'sucess' messages above. I think it is
related to firewall commands.
Ubuntu 13.10
alinefm@alinefm-virtual-machine:~/kimchi$ sudo dpkg -i
kimchi-1.1.0-41.git1adc776.noarch.deb
Selecting previously unselected package
kimchi.
(Reading database ... 171601 files and directories currently
installed.)
Unpacking kimchi (from kimchi-1.1.0-41.git1adc776.noarch.deb)
...
Setting up kimchi (1.1.0)
...
kimchid start/running, process
3351
FirewallD is not
running
dpkg: error processing kimchi
(--install):
subprocess installed post-installation script returned error exit
status 252
Processing triggers for ureadahead
...
Errors were encountered while
processing:
kimchi
I got the following error because firewalld service wasn't running
So I start the service manually
alinefm@alinefm-virtual-machine:~/kimchi$ sudo service firewalld
status
* firewalld is not
running
alinefm@alinefm-virtual-machine:~/kimchi$ sudo service firewalld
start
* Starting dynamic firewall daemon firewalld
Then I tried to install kimchi again and I got a new error and I
wasn't able to install kimchi.
alinefm@alinefm-virtual-machine:~/kimchi$ sudo dpkg -i
kimchi-1.1.0-41.git1adc776.noarch.deb
Selecting previously unselected package kimchi.
(Reading database ... 171601 files and directories currently
installed.)
Unpacking kimchi (from kimchi-1.1.0-41.git1adc776.noarch.deb) ...
Setting up kimchi (1.1.0) ...
kimchid start/running, process 4592
success
Error: INVALID_SERVICE: kimchid
dpkg: error processing kimchi (--install):
subprocess installed post-installation script returned error exit
status 101
Processing triggers for ureadahead ...
Errors were encountered while processing:
kimchi
So I noticed the /usr/lib/firewalld/services/kimchid.xml file
wasn't installed
alinefm@alinefm-virtual-machine:~/kimchi$ dpkg --contents
kimchi-1.1.0-41.git1adc776.noarch.deb | grep kimchid
-rwxr-xr-x root/root 3370 2014-01-03 11:46 ./usr/bin/kimchid
-rw-r--r-- root/root 1056 2014-01-03 11:46
./etc/init/kimchid.conf
You need to update Makefile.am, "deb" target to install the file
in the correct location.
On 01/03/2014 01:11 AM,
taget@linux.vnet.ibm.com wrote: