How to remove kernel error "/usr/lib/udev/rules.d/50-udev-default.rules:93 Unknown group 'kvm', ignoring"?

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
User avatar
Midnight True
Level 7
Level 7
Posts: 1549
Joined: Wed Jul 20, 2022 3:23 am
Location: Southern and Southwestern area of Mato
Contact:

How to remove kernel error "/usr/lib/udev/rules.d/50-udev-default.rules:93 Unknown group 'kvm', ignoring"?

Post by Midnight True »

Greetings!

i tried QEMU/KVM i think 6 months ago and i cannot make it work in my system so i removed, but these errors are persistent

Code: Select all

systemd-udevd[288]: /usr/lib/udev/rules.d/50-udev-default.rules:102 Unknown group 'kvm', ignoring
systemd-udevd[288]: /usr/lib/udev/rules.d/50-udev-default.rules:100 Unknown group 'kvm', ignoring
systemd-udevd[288]: /usr/lib/udev/rules.d/50-udev-default.rules:98 Unknown group 'kvm', ignoring
systemd-udevd[288]: /usr/lib/udev/rules.d/50-udev-default.rules:93 Unknown group 'kvm', ignoring
systemd-tmpfiles[284]: /usr/lib/tmpfiles.d/static-nodes-permissions.conf:19: Failed to resolve group 'kvm'.
systemd-tmpfiles[284]: /usr/lib/tmpfiles.d/static-nodes-permissions.conf:18: Failed to resolve group 'kvm'.
systemd-tmpfiles[284]: /usr/lib/tmpfiles.d/static-nodes-permissions.conf:17: Failed to resolve group 'kvm'.
I wish to remove these errors, any help and guide is much appreciated.

My system info

Code: Select all

System:
  Kernel: 6.2.0-34-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.18.1
    tk: Gtk 3.24.33 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Repos:
  Packages: 2397 apt: 2342 flatpak: 55
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/bit-team-stable-jammy.list
    1: deb [signed-by=/usr/share/keyrings/LaunchpadStablerepository-archive.keyring.gpg] http://ppa.launchpad.net/bit-team/stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/flatpak-stable-jammy.list
    1: deb [signed-by=/usr/share/keyrings/LaunchpadPPAforFlatpak-archive.keyring.gpg] http://ppa.launchpad.net/flatpak/stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/linrunner-tlp-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/linrunner-tlp-jammy.gpg] https://ppa.launchpadcontent.net/linrunner/tlp/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com victoria main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Thank you
User avatar
PaulL
Level 6
Level 6
Posts: 1089
Joined: Mon Apr 24, 2023 10:57 am
Location: Connecticut

Re: How to remove kernel error "/usr/lib/udev/rules.d/50-udev-default.rules:93 Unknown group 'kvm', ignoring"?

Post by PaulL »

You can try sudo apt purge <packagename> and see if that does it. Otherwise, a workaround that should eliminate the messages would be to go into the System Settings, open Users and Groups, and create a group called "kvm".
User avatar
Midnight True
Level 7
Level 7
Posts: 1549
Joined: Wed Jul 20, 2022 3:23 am
Location: Southern and Southwestern area of Mato
Contact:

Re: How to remove kernel error "/usr/lib/udev/rules.d/50-udev-default.rules:93 Unknown group 'kvm', ignoring"?

Post by Midnight True »

PaulL wrote: Fri Dec 29, 2023 1:00 pm
Thanks. But i already removed kvm in my system ... i just checked again and there is no kvm in my system

Sorry but i am not comfortable making a group for non existing application. Anyways Thanks for the suggestion.
User avatar
PaulL
Level 6
Level 6
Posts: 1089
Joined: Mon Apr 24, 2023 10:57 am
Location: Connecticut

Re: How to remove kernel error "/usr/lib/udev/rules.d/50-udev-default.rules:93 Unknown group 'kvm', ignoring"?

Post by PaulL »

The regular apt uninstall leaves configuration files behind, in case you change your mind and reinstall. That's why I suggested apt purge, which is supposed to remove those configuration files. There is obviously something kvm-related left on your system, or you wouldn't be getting the messages you posted.

I personally would not object to having an extra, unused group on my system (after all, the install process created a number of them), but it's your computer, your rules.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: How to remove kernel error "/usr/lib/udev/rules.d/50-udev-default.rules:93 Unknown group 'kvm', ignoring"?

Post by SMG »

Did you take a Timeshift snapshot before installing it? That's the easiest way to reverse changes.

I've moved your topic from Software & Applications to Virtual Machines maybe someone using QEMU/KVM will know.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
Midnight True
Level 7
Level 7
Posts: 1549
Joined: Wed Jul 20, 2022 3:23 am
Location: Southern and Southwestern area of Mato
Contact:

Re: How to remove kernel error "/usr/lib/udev/rules.d/50-udev-default.rules:93 Unknown group 'kvm', ignoring"?

Post by Midnight True »

SMG wrote: Mon Jan 01, 2024 10:02 pm Did you take a Timeshift snapshot before installing it? That's the easiest way to reverse changes.
Yes but it was so long ago, if memory is correct 6 months ago ... so rolling back on that is a massive hassle
SMG wrote: Mon Jan 01, 2024 10:02 pm I've moved your topic from Software & Applications to Virtual Machines maybe someone using QEMU/KVM will know.
Thank you so much
Post Reply

Return to “Virtual Machines”