[dev.icinga.com #5263] missing requirement in icinga-gui rpm package #1401
Comments
Updated by ricardo on 2013-12-05 11:45:05 +00:00
|
Updated by mfriedrich on 2013-12-05 11:47:02 +00:00 impossible. then the icinga-gui would always pull icinga (1.x) and you cannot install it properly with icinga2-classicui-config. possible solution - check for the existance of this group before trying to modify it. or let a new package named '-common' handle all the user/group stuff and depend on that. |
Updated by mhoyer on 2013-12-06 08:53:15 +00:00 dnsmichi wrote:
ok, i missed this use-case. sounds logical.
i don't think that there is another package needed for this. Testing for existence of icingacmd seems to be a good idea. if grep -i "^icingacmd" /etc/group &> /dev/null; |
Updated by mfriedrich on 2013-12-06 09:23:31 +00:00 I would fix that like it's done in icinga-web.spec using getent
|
Updated by mhoyer on 2013-12-06 09:26:04 +00:00 dnsmichi wrote:
nice |
Updated by mfriedrich on 2013-12-07 16:54:07 +00:00
|
Updated by mfriedrich on 2014-01-03 17:15:37 +00:00
|
Updated by Anonymous on 2014-01-03 20:03:46 +00:00
Applied in changeset 0419daa. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/5263
Created by mhoyer on 2013-12-05 09:13:06 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2014-01-03 20:03:46 +00:00)
Target Version: 1.11
Last Update: 2014-01-03 20:03:46 +00:00 (in Redmine)
Hello,
I found a small pidfall leading to installation errors for the icinga-gui rpm. In preinstall script the rpm tries to add apache to icingacmd group. So far so good. This group gets created in preinstall script of the icinga rpm. I think there should be a requirement for icinga in icinga-gui rpm.
Greets
Marco
rpm -q --scripts icinga-gui
preinstall scriptlet (using /bin/sh):
/usr/sbin/usermod -a -G icingacmd apache
rpm -q --requires icinga-gui
/bin/sh
httpd
icinga-classicui-config
icinga-doc
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.8)(64bit)
libgd.so.2()(64bit)
libjpeg.so.62()(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libpng12.so.0()(64bit)
libz.so.1()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
rpmlib(PayloadIsBzip2) <= 3.0.5-1
Changesets
2014-01-03 17:15:05 +00:00 by (unknown) 2a1228c
2014-01-03 17:15:18 +00:00 by (unknown) 0419daa
2014-01-09 22:26:22 +00:00 by (unknown) 58cbf70
2014-01-23 15:15:33 +00:00 by (unknown) 144a0b7
The text was updated successfully, but these errors were encountered: