SolusVM & Centos 7 update - please read!

4 posts / 0 new
Last post
#1 Tue, 04/28/2015 - 22:07
Diabolico
Diabolico's picture

SolusVM & Centos 7 update - please read!

Bug: http://forum.openvz.org/index.php?t=msg&goto=51927&S=668da73b480b858ed6d....

In short, after you install Centos 7, do full update and then restart (doesnt matter when) it will transform your server in zombie, e.g. no network connection. The problem is with initscripts-9.49.24-1.el7.x86_64 and at the time of this post there is no official update or repair (at least i'm not avare of that).

To prevent this to happen after you update your Centos 7 do rpm -qa | grep initscripts and if the result is initscripts-9.49.24-1.el7.x86_64 DO NOT restart your server. The solution is to downgrade your initscripts to last know good version which is 9.49.17-1.el7:

wget ftp://bo.mirror.garr.it/pub/1/slc/centos/7.0.1406/os/x86_64/Packages/initscripts-9.49.17-1.el7.x86_64.rpm
rpm -Uvh --force initscripts-9.49.17-1.el7.x86_64.rpm
rm -f initscripts-9.49.17-1.el7.x86_64.rpm
systemctl restart network

After that you should be safe to restart your VPS. Looks like this bug is affecting only Centos 7 and SolusVM but at this time i cant confirm this. If you are on some other virtualization then check it to be sure. In case you have turned on updates in Virtualmin do not have on automatic because it will install bugged initscripts back to your VPS.

It could be that some hosting companies manually changed their templates but i'm sure not everyone did the same and of course tomorrow could be update to solve this problem. In mean time whoever have installed Centos 7 on SolusVM should pay attention or could lock his VPS and without console or direct intervention from your host you will not be able to access.

Tue, 05/12/2015 - 09:26
orangehand

I assume that the webmin auto-updater would undo the downgrade to the earlier version of initscripts? Does this mean I need to permanently disable auto-update? Would the inistscript update fall under a security update, or a general one?

Thanks for this Diabolico - needless to say I played dangerous and got myself locked out for my pains!!

WEBMIN - it seems that BOTH the Centos.latest and the Ubuntu.latest installers are flawed. When will you fix this please? (I own a license!!)

Tue, 05/12/2015 - 10:28 (Reply to #2)
andreychek

We're happy to help in any way we can, though it doesn't appear the issue here is a Virtualmin related issue.

Also, Virtualmin doesn't enable performing auto-updates by default.

-Eric

Tue, 05/12/2015 - 12:13
Diabolico
Diabolico's picture

@orangehand: Eric is right for this issue and i never said it was because of Vmin/Wmin. This problem is only connected with Centos 7 and SolusVM (it could be affecting other virtualization like KVM or XEN). The only reason i mentioned Vmin/Wmin is to pay attention to updates and do not turn on automatic updates but put on manual so it will not pickup faulty initscripts and install them back.

Does this mean I need to permanently disable auto-update? You should never have auto-update turned on because you must see what you will install. Leave to software to install whatever wants, and usually thats everything, is bad practice and should never be used.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Topic locked