Runlevel-adjust FAILED - Leads to False Error on Software Update

Following a software update, I always get the “Red Banner” saying that there is an error and suggesting a “yum clear cache”.

Looking at the log, it’s because I get 3 copies of this message as part of /etc/e-smith/events/runlevel-adjust/S20runlevel-adjust:

Mar 14 12:09:54 Nethserver esmith::event[22474]: Failed to execute operation: No such file or directory

Fleetingly, before the final “Red Banner”, I see a message flash by, which appears to be related to the name I gave for my updates for firewall rules, as per the manual:

config set fw_cd3o service status enabled TCPPorts 3616 UDPPorts 3616 access green
signal-event firewall-adjust
signal-event runlevel-adjust

And yes, there are 3 errors and 3 firewall rules defined.

Cheers.

1 Like

Thank you for reporting it! I was already investigating the origin of that error message on my VM this afternoon.

Could you attach the output of

rpm -qa | grep ^neth
yum history info
[root@Nethserver ~]# rpm -qa | grep ^neth
nethserver-nut-1.3.0-1.ns7.noarch
nethserver-sssd-1.1.9-1.ns7.noarch
nethserver-dnsmasq-1.6.4-1.ns7.noarch
nethserver-openvpn-1.4.7-1.ns7.noarch
nethserver-lang-en-1.1.8-1.ns7.noarch
nethserver-hosts-1.2.1-1.ns7.noarch
nethserver-letsencrypt-1.1.3-1.ns7.noarch
nethserver-phonehome-1.2.1-1.ns7.noarch
nethserver-unbound-1.1.0-1.ns7.noarch
nethserver-vsftpd-1.1.0-1.ns7.noarch
nethserver-collectd-3.0.4-1.ns7.noarch
nethserver-mail-filter-1.4.3-1.ns7.noarch
nethserver-p3scan-1.1.2-1.ns7.noarch
nethserver-cgp-2.1.2-1.ns7.noarch
nethserver-firewall-base-ui-3.1.6-1.ns7.noarch
nethserver-mail-server-1.10.10-1.ns7.noarch
nethserver-base-3.0.18-1.ns7.noarch
nethserver-ibays-3.0.4-1.ns7.noarch
nethserver-dc-1.1.3-1.ns7.x86_64
nethserver-mail-common-1.6.3-1.ns7.noarch
nethserver-ntp-1.1.2-1.ns7.noarch
nethserver-httpd-admin-2.0.9-1.ns7.noarch
nethserver-lib-2.2.2-1.ns7.noarch
nethserver-release-7-3.ns7.noarch
nethserver-lsm-1.2.2-1.ns7.noarch
nethserver-spamd-1.0.0-1.ns7.noarch
nethserver-nethforge-release-7-0.3.ns7.noarch
nethserver-virtualhosts-1.0.2-1.ns7.noarch
nethserver-antivirus-1.2.1-1.ns7.noarch
nethserver-mail-smarthost-0.1.1-1.ns7.noarch
nethserver-samba-2.0.5-1.ns7.noarch
nethserver-httpd-3.1.2-1.ns7.noarch
nethserver-duc-1.4.2-1.ns7.noarch
nethserver-yum-1.4.1-1.ns7.noarch
nethserver-php-1.2.0-1.ns7.noarch
nethserver-backup-config-1.5.2-1.ns7.noarch
nethserver-firewall-base-3.1.6-1.ns7.noarch
nethserver-openssh-1.2.0-1.ns7.noarch
nethserver-smartd-1.1.0-1.ns7.noarch
[root@Nethserver ~]#

[root@Nethserver ~]# yum history info
Loaded plugins: changelog, fastestmirror, nethserver_events
Transaction ID : 23
Begin time     : Tue Mar 14 12:09:37 2017
Begin rpmdb    : 717:8f674b505fba91b1f5f6a326c41a5cee5b15b737
End time       :            12:10:17 2017 (40 seconds)
End rpmdb      : 717:b05fc71a70979cc99c7f93d339c75988e403b30c
User           : System <unset>
Return-Code    : Success
Transaction performed with:
    Installed     rpm-4.11.3-21.el7.x86_64                      @anaconda
    Installed     yum-3.4.3-150.el7.centos.noarch               @anaconda
    Installed     yum-plugin-fastestmirror-1.1.31-40.el7.noarch @anaconda
Packages Altered:
    Updated nethserver-openvpn-1.4.6-1.ns7.noarch @nethserver-updates
    Update                     1.4.7-1.ns7.noarch @nethserver-updates
history info
[root@Nethserver ~]#

Cheers.

1 Like

You can now test the fix :wink:

1 Like

Verified.

Cheers.

3 Likes