Webmin and AVC denial

I made the mistake of installing webmin today. Never had any problems with it previously, but it has really jacked up my system now.

After installation, I have AVC denial messages popping up every few seconds.

I ran the uninstall script, but the problem persists. Also, when I search / in dolphin, I still find lots of references to webmin.

Does anyone know how to fix this mess?

I’m not familiar with the program, but I see a /etc/webmin.rpmsave. It was a RPM package? If so, I’m surprised that it left things behind when you ran dnf remove webmin (or rpm -e webmin).

Just don’t understand. Ten years ago I was using Webmin on all my boxes. Worked great. Haven’t used it in about five years; something definitely has changed.

I followed the install, then uninstall, instructions here: Webmin. Both dnf and rpm commands report that it is not installed.

I nuked the /var/usermin directory (where miniserv.pid was located) and the AVC denial errors have stopped completely.

Unless someone suggests a better approach, I’ll probably just nuke all the directories/files associated with Webmin.

Appears at some point Webmin spawned a commercial version (Virtualmin). Looks like something went amok between then and now.

Yeah, it sounds like the rpm package is poorly made. Manually removing the files is probably your only option. I’d suggest using rpm -qf <path-to-file/dir> before removing things just to be sure they are not part of some installed package. As long as that says the file is unowned, deleting the file should be safe.

1 Like

Also ran sudo dnf remove usermin. Appears to be an associated package.

Thank you for the rpm -qf tip! Always good to be sure when nuking…

Now all references to webmin and usermin are gone. And good riddance too!

1 Like