Removing package via "old" UI could have trashed my system

OK, OK, I still keep using the old UI, because I’m an old f@rt who’s ben using NS for some time now. Maybe this experience my scare me away from this forever.
After getting a new UPS that has it’s own monitoring software, I went to remove the UPS package from NS. Selecting remove from the old UI came up with the following list of packages to remove:

Modules to remove:
nethserver-nut
Packages to remove:
collectd-nut
nethserver-collectd
nethserver-nut
OpenIPMI
OpenIPMI-libs
OpenIPMI-modalias
PyYAML
cockpit
cockpit-bridge
cockpit-storaged
cockpit-system
cockpit-ws
collectd
collectd-ping
collectd-rrdtool
davfs2
dejavu-sans-mono-fonts
device-mapper-multipath
device-mapper-multipath-libs
dosfstools
duplicity
expect
freeipmi
gdisk
glib-networking
gsettings-desktop-schemas
gssproxy
iscsi-initiator-utils
iscsi-initiator-utils-iscsiuio
jq
json-glib
libatasmart
libblockdev
libblockdev-crypto
libblockdev-fs
libblockdev-loop
libblockdev-lvm
libblockdev-mdraid
libblockdev-part
libblockdev-swap
libblockdev-utils
libbytesize
libgudev1
libmodman
liboping
libproxy
libreport-filesystem
librsync
libtool-ltdl
libudisks2
libusb
libverto-tevent
libyaml
mdadm
ncftp
neon
net-snmp-libs
nethserver-backup-data
nethserver-cgp
nethserver-cockpit
nethserver-lang-cockpit
nethserver-subscription
nethserver-subscription-inventory
nethserver-subscription-ui
nfs-utils
nut
nut-client
oathtool
oniguruma
pakchois
perl-Convert-Base32
perl-Sub-Uplevel
perl-Test-Exception
perl-Test-Simple
pexpect
puppet-agent
python-GnuPGInterface
python-fasteners
python-paramiko
python-pwquality
python2-PyDrive
python2-boto
python2-google-api-client
python2-keyring
python2-oauth2client
python2-pyasn1-modules
python2-rsa
python2-uritemplate
quota
quota-nls
restic
rpcbind
rrdtool
sshpass
tcl
tcp_wrappers
udisks2
udisks2-iscsi
udisks2-lvm2
volume_key-libs
yajl

Whoa, what the… Somethings not right there. So with the “new” (OK, current :grinning:) UI it only removed the following, which was kinda a relief, because the Cockpit UI doesn’t give you a list of what it’s going to remove first, to let you see in advance:

Dec 15 22:10:02 Erased: nethserver-nut-1.5.5-1.ns7.noarch
Dec 15 22:10:03 Erased: nut-2.7.2-4.el7.x86_64
Dec 15 22:10:05 Erased: OpenIPMI-modalias-2.0.27-1.el7.x86_64
Dec 15 22:10:05 Erased: OpenIPMI-2.0.27-1.el7.x86_64
Dec 15 22:10:06 Erased: OpenIPMI-libs-2.0.27-1.el7.x86_64
Dec 15 22:10:06 Erased: 1:net-snmp-libs-5.7.2-49.el7_9.1.x86_64
Dec 15 22:10:07 Erased: freeipmi-1.5.7-3.el7.x86_64
Dec 15 22:10:08 Erased: libtool-ltdl-2.4.2-22.el7_3.x86_64
Dec 15 22:10:08 Erased: 1:libusb-0.1.4-3.el7.x86_64

So there’s no chance to abort the removal if the UI is over ambitious.

Cheers.

IMVHO it’s still strange that IPMI implementations are gone with nut.

Would you please post the output from shell of yum autoremove ? Pretty please don’t confirm the package removal i’d only would like to see if there’s any old… tool laying around the server.

[root@Nethserver ~]# yum autoremove
Loaded plugins: changelog, elrepo, fastestmirror, nethserver_events
No Packages marked for removal
[root@Nethserver ~]#

But, just for sh*ts and giggles I went to see what nethserver-nut installs:

Installing:
nethserver-nut noarch 1.5.5-1.ns7 sb-nethserver-updates 887 k
Installing for dependencies:
freeipmi x86_64 1.5.7-3.el7 sb-base 2.0 M
libtool-ltdl x86_64 2.4.2-22.el7_3 sb-base 49 k
libusb x86_64 1:0.1.4-3.el7 sb-base 19 k
net-snmp-libs x86_64 1:5.7.2-49.el7_9.1 sb-updates 751 k
nut x86_64 2.7.2-4.el7 sb-epel 1.6 M

There’s your answer about why IPMI was removed. Although it does look like a switch from OpenIPMI to freeipmi took place at some point.

Cheers.