Skip to content

[rpm] missing openssl and crontabs dependency #699

@juju4

Description

@juju4

Tested on Fedora 33

$ sudo rpm -ivh omi-1.6.8-1.ssl_110.ulinux.x64.rpm --nosignature
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
/var/tmp/rpm-tmp.xiYsNo: line 22: openssl: command not found
Preinstall script error: Unrecognized version of SSL on the system: 
error: %prein(omi-1.6.8-1.x86_64) scriptlet failed, exit status 2

$ sudo rpm -ivh omi-1.6.8-1.ssl_110.ulinux.x64.rpm --nosignature --reinstall
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Creating omiusers group ...
Creating omi group ...
Creating omi service account ...
Updating / installing...
   1:omi-1.6.8-1                      ################################# [100%]
which: no nslookup in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin)
Generating a RSA private key
......+++++
............+++++
writing new private key to '/etc/opt/omi/ssl/omikey.pem'
-----
/var/tmp/rpm-tmp.aEUrQO: line 247: [: missing `]'
2021-09-19 17:58:48 : Crontab not configured to update omi keytab automatically. Skip unconfigure
ktutil not found
Checking if cron is installed...
WARNING: LogRotate can't be enabled, please install cron at first!
System appears to have SELinux installed, attempting to install selinux policy module for logrotate
  Trying /usr/share/selinux/packages/omi-selinux/omi-logrotate.pp ...
ERROR: omi-logrotate selinux policy module versions could not be installed

$ sudo rpm -ivh omi-1.6.8-1.ssl_110.ulinux.x64.rpm --nosignature --reinstall
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:omi-1.6.8-1                      ################################# [ 50%]

************************************************************
* Warning: The certificate and keyfile were not generated  *
* since they already exist.                                *
************************************************************
omi already configured
2021-09-19 18:01:14 : Crontab not configured to update omi keytab automatically. Skip unconfigure
ktutil not found
Checking if cron is installed...
Checking if cron/crond service is started...
Set up a cron job to OMI logrotate every 15 minutes
System appears to have SELinux installed, attempting to install selinux policy module for logrotate
  Trying /usr/share/selinux/packages/omi-selinux/omi-logrotate.pp ...
ERROR: omi-logrotate selinux policy module versions could not be installed
Cleaning up / removing...
   2:omi-1.6.8-1                      ################################# [100%]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions